Terraform & IaC (50 Qs)•Part 4: Enterprise Cloud Infrastructure Architecture & SRE (35 - 50)
Blue/Green vs. Canary Deployments at the Infrastructure / Network Layer.
senior LevelKubernetesSystem Design
In Simple Words:
- Blue/Green: Two identical infrastructure stacks exist simultaneously. An ALB or DNS record flips 100% of traffic from Blue (active) to Green (new). Instant rollback if errors spike.
- Canary: Traffic is shifted incrementally (e.g. 10%, then 25%, then 50%, then 100%) using weighted ALB target groups or Route 53 weighted records, validating error budgets and logs at each step.