Developer Tools
AWS CodeDeploy
Automated deployments to EC2, Lambda and ECS.
Official docsOverview
CodeDeploy executes deployments with rolling, blue/green or canary strategies and integrates with CloudWatch alarms to auto-rollback.
When to use it
- Zero-downtime deployments
- Canary releases with automatic rollback
- Coordinated multi-host rollouts
Setup
- Create an application + deployment group (EC2 ASG / ECS service / Lambda alias).
- Provide an appspec.yml describing hooks (BeforeInstall, AfterAllowTraffic…).
- Wire up CloudWatch alarms for auto-rollback.
How to use
Canary 10%
Use CodeDeployDefault.LambdaCanary10Percent5Minutes traffic-shift config.
QA use cases
- Run smoke tests in the AfterAllowTestTraffic hook before shifting prod traffic.
- Auto-rollback when a synthetic canary metric breaches an alarm during deploy.
