Skill 1.4.4

Using different deployment methods (for example, blue/green, canary)

Key Concepts

All at once is fastest but causes downtime and risk. Rolling updates batches while others serve traffic, reducing capacity unless an additional batch is added. Immutable deploys a fresh set of instances and swaps them in, giving a clean rollback. Blue/green runs both versions in parallel and switches traffic, allowing instant rollback at the cost of double capacity during the switch.

Canary and linear deployments shift traffic gradually so only a small share of users meet a bad release. On AWS they are implemented by CodeDeploy for Lambda and ECS, by weighted Lambda aliases, by weighted ALB target groups or Route 53 weighted records, by API Gateway canary release settings, and by Elastic Beanstalk traffic splitting.