Skill 3.1.5

Implement deployment strategies and services

Key Concepts

All at once is fastest with downtime; rolling updates batches in place; immutable launches new instances and swaps them in; blue/green runs a full new environment and switches traffic; canary and linear shift traffic in increments while alarms watch for errors.

AWS implementations include Auto Scaling instance refresh (minimum healthy percentage, checkpoints, automatic rollback on alarms), ECS rolling and built-in blue/green, linear and canary deployments with bake times and the deployment circuit breaker, Lambda alias weighted routing, ALB weighted target groups, Route 53 weighted records and CloudFormation updates. Automatic rollback on CloudWatch alarms limits the blast radius.