CodeDeploy automates deploying your application to EC2, on-premises servers, Lambda, or ECS — with strategies like in-place and blue/green to minimize downtime and risk.
The tell
When a scenario is about deploying an application safely (rolling, blue/green, automatic rollback on failure), that’s CodeDeploy. It’s the deploy stage of a pipeline, distinct from CodeBuild (build) and CodePipeline (orchestration).
Test yourself
A team needs to automatically deploy new application versions to a fleet of EC2 instances using a blue/green strategy with automatic rollback on failure. Which service?
- AWS CodeBuild
- AWS CodeDeploy
- AWS CodeCommit
- Amazon CloudWatch
👉 Click to reveal the answer & explanation
Correct answer: B. CodeDeploy automates application deployments with strategies like blue/green and automatic rollback. CodeBuild (A) builds and tests; CodeCommit (C) stores source; CloudWatch (D) monitors.
Related topics
Blue/Green Deployment · AWS CodePipeline · AWS CodeBuild
Ready to pass your AWS exam?
Stop guessing whether you’re ready. Our full-length, exam-realistic practice exams put you through the exact question style you’ll face — with a detailed explanation behind every answer, so you learn why, not just what.
- ✓ 6 full-length practice exams
- ✓ A detailed explanation for every single question
- ✓ Realistic, scenario-based questions — not memory dumps
- ✓ Lifetime access, kept current for 2026