AWS CodeDeploy
AWS CodeDeploy is a fully managed deployment service that automates software deployments to a variety of compute services such as Amazon EC2, AWS Fargate, AWS Lambda, and your on-premises servers.
Key Features
- Automated Deployments: Eliminates manual operations and downtime.
- Minimize Downtime: Supports Rolling, Canary, and Blue/Green deployment strategies.
- Centralized Control: specific deployment groups and configurations.
- Hybrid Support: Deploys to EC2, Lambda, and on-premises servers.
- Rollback: Automatically rolls back updates if failures are detected.
Exam Tips
- "Automate deployment": Answer is CodeDeploy.
- "Blue/Green Deployment": CodeDeploy makes this easy.
- "Deploy to on-premises": CodeDeploy supports this (via an agent).
- "AppSpec file": The configuration file used by CodeDeploy (
appspec.yml).
Common Use Cases
- Release Automation: Deploying new versions of applications automatically.
- Server Patching: consistently applying updates across a fleet.
- Blue/Green Deployments: Safely shifting traffic to new versions.