Automated Deployment Testing
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:
- The one model: a deploy shifts traffic in increments, and a test gates each one
- CodeDeploy mechanics: predefined deployment configurations and AppSpec validation hooks
- Automatic rollback and the alias the deploy acts on
- Exam-pattern recognition: stem cues to the right answer
| Deployment config | How traffic shifts | Validation window before full rollout | Typical use |
|---|---|---|---|
| CodeDeployDefault.LambdaAllAtOnce | 100% of traffic to the new version at once | None (no incremental gate) | Lowest-risk changes or non-prod where speed beats blast-radius control |
| CodeDeployDefault.LambdaCanary10Percent5Minutes | 10% first, remaining 90% five minutes later | 5-minute window to catch failures on 10% of traffic | Production change wanting a real-traffic smoke test before full shift |
| CodeDeployDefault.LambdaLinear10PercentEvery1Minute | 10% every minute until 100% is shifted | Continuous: each increment is gated, alarm can halt mid-shift | Gradual rollout where metrics are watched throughout |
| CodeDeployDefault.ECSAllAtOnce | All traffic to the updated ECS task set at once | None (required config when using a Network Load Balancer) | ECS blue/green cutover with no incremental shift |
Decision tree
Cheat sheet
Unlock with Premium — includes all practice exams and the complete study guide.