"Push the big red button and pray" was retired around 2010. Modern teams pick a strategy that matches the blast radius they can tolerate: rolling for routine work, blue/green when you need an instant rollback, canary when you're nervous, feature flags when the code path itself is risky.
← Back to DevOps & CI/CD| Strategy | How it works | Rollback time | Cost |
|---|---|---|---|
| Rolling | Replace old instances with new ones, a few at a time. | Slow (re-roll old) | Cheap — no extra capacity needed. |
| Blue / Green | Spin up a full copy (green), test, flip the load balancer. | Instant — flip back to blue. | 2× capacity during cutover. |
| Canary | Send 1–5% of traffic to new version; expand if golden signals stay healthy. | Fast — pull traffic back. | Modest — extra capacity for the canary tier. |
| Feature flag | Ship code dark; toggle the new path on for a cohort. | Instant — flip the flag. | Cheap, but adds dead-code paths and observability burden. |