Canaries - tales from the coalface
summary
Implemented canary deployments for gov.uk One Login running serverless microservices on AWS, using Lambda weighted aliases for blue/green and abandoning ECS/CloudFormation for a nested CloudFormation stack + Lambda approach from a Disney blog. Early failures include build-time 4xx alarms that cause false rollbacks; fixed by moving alarms to app teams. Added 50/50 integration tests that run both versions, a circuit breaker that halts pipelines after a canary-triggered rollback, and a magic-word bypass to force immediate deploys; AppConfig needs special handling.
AI-written summary · about
