Blue-green deploy lab
**Two full environments** — swap traffic in one move, revert if metrics break.
Reviewed July 2026 · interactive lab
1Try it yourself
Playground
Blue-green deploy desk
Two full environments — swap traffic atomically, revert fast if metrics break.
v2 passes smoke on idle (blue) env
2Read & reflect
Recap
#What you just did
You chose swap, hold, or revert across smoke test and post-swap monitoring.
Teach
#Pattern
green (live v1) ──router──> users
blue (idle v2) ── smoke + eval ──> swap ──> blue live
↑ fail? hold on green
Pair with health checks and error-rate alerts before declaring swap safe.
Use it
#When you'd use this
Watch out
#Watch out
Blue-green doubles idle capacity cost. Database schema changes still need care.
Try next
#Try this next
Sketch: what signal triggers revert within 5 minutes of swap?
3Spark check