CI/CD Deployment
Unlock the complete study guide + 1,040 practice questions across 16 full exams.
Bundled into the existing AWS Certified Developer - Associate premium course — no separate purchase.
Included in this chapter:
- One model: a pipeline is stages of actions passing artifacts
- The build stage: CodeBuild and buildspec.yml
- The deploy stage: CodeDeploy, AppSpec, and deployment types
- Supporting services and exam-pattern recognition
CodePipeline vs CodeBuild vs CodeDeploy: who does what
| Dimension | AWS CodePipeline | AWS CodeBuild | AWS CodeDeploy |
|---|---|---|---|
| Role in CI/CD | Orchestrator: sequences stages and moves artifacts | Build/test: compiles and packages source | Release: installs/shifts the built artifact onto compute |
| Config file it reads | Pipeline definition (stages, actions, runOrder) | buildspec.yml (install/pre_build/build/post_build) | AppSpec file (appspec.yml/.yaml or JSON) |
| Primary input | Source-change revision (commit or tag) | Source artifact + dependencies | Built artifact + AppSpec revision |
| Primary output | An executed release workflow | Output artifact(s) to the S3 artifact store | Deployed/traffic-shifted application version |
| Targets / platforms | Any action provider (build, test, deploy, approval, invoke) | Managed build containers (Linux/Windows runtimes) | EC2/on-premises, AWS Lambda, Amazon ECS |
| Deployment strategies it controls | Stage gates, manual approval, automatic stage rollback | None (build only) | In-place (EC2 only) and blue/green; canary/linear/all-at-once shift |
Decision tree
Cheat sheet
Unlock with Premium — includes all practice exams and the complete study guide.
Also tested in
References
- What is AWS CodePipeline?
- Input and output artifacts (CodePipeline)
- CodePipeline pipeline structure reference
- What is AWS CodeBuild?
- What is CodeDeploy?
- Start a pipeline in CodePipeline
- Manage the CodePipeline service role
- Build specification reference for CodeBuild
- Build caching in CodeBuild
- CodeDeploy application specification (AppSpec) files
- Working with the CodeDeploy agent
- Working with deployments in CodeDeploy
- Deployment configurations in CodeDeploy
- What is CodeArtifact?
- Connections in the Developer Tools console (CodeConnections)