AWS Certified DevOps Engineer – ProfessionalSDLC AutomationEasy
A company is migrating its monolithic application to a microservices architecture on AWS. They want to ensure that each microservice's CI/CD pipeline automatically builds, tests, and deploys changes when code is committed to its respective Git repository. The solution must be fully automated, scalable, and provide clear visibility into the pipeline's status. Which AWS services should be combined to achieve this?
- AAWS CodeCommit, AWS CodeBuild, and AWS CodeDeploy.
- BAWS CodeArtifact, AWS CodeBuild, and AWS CodeDeploy.
- CAWS CodePipeline, AWS CodeCommit, AWS CodeBuild, and AWS CodeDeploy.
- DAWS CodeStar, AWS CodeCommit, and AWS CodeBuild.
Show answer & explanationAnswer & explanation
Correct answer: C. AWS CodePipeline, AWS CodeCommit, AWS CodeBuild, and AWS CodeDeploy.
AWS CodePipeline orchestrates the entire CI/CD workflow, integrating CodeCommit for source control, CodeBuild for building and testing, and CodeDeploy for deployment. This combination provides a fully automated, scalable, and visible pipeline for each microservice.
Why the other options are wrong
- A. This option misses CodePipeline, which is essential for orchestrating and automating the entire workflow across the other services.
- B. CodeArtifact is for dependency management, not for orchestrating the CI/CD pipeline itself. This option also lacks a source control service and orchestration.
- D. CodeStar is a development tool that helps set up projects, but CodePipeline is the core service for orchestrating the CI/CD workflow. This option also lacks a dedicated deployment service.
AWS CI/CD Core Services
The primary AWS services (CodeCommit, CodeBuild, CodeDeploy, CodePipeline) used together to implement automated Continuous Integration and Continuous Delivery workflows.
- CodeCommit: Source control.
- CodeBuild: Build and test code.
- CodeDeploy: Automate software deployments.
- CodePipeline: Orchestrate the entire workflow.
Memory trick: Commit, Build, Deploy, orchestrated by Pipeline.