AWS CodeDeploy
- What it is
- Automates application deployment to Amazon EC2, on-premises servers, AWS Lambda, and Amazon Elastic Container Service (ECS).
- Handles the rollout mechanics: sequencing, health checks, and automatic rollback on failure.
- Deployment strategies (know these terms)
- In-place — update instances in the existing fleet, one batch at a time. EC2/on-premises only.
- Blue/green — stand up a whole new environment, shift traffic, keep the old one for instant rollback. Safest, costs double during the cutover.
- Canary — shift a small percentage of traffic first, then the remainder after a bake time.
- Linear — shift traffic in equal increments over time.
- Not to be confused with
- AWS CodePipeline — orchestrates the whole release process; CodeDeploy performs one stage of it.
- AWS Elastic Beanstalk — creates and manages the infrastructure too; CodeDeploy deploys onto infrastructure you already have.