CI/CD, topic 59 of 78
Deployment strategies
How a new version replaces the old decides what users see when it goes wrong. A rolling update replaces instances a few at a time. Blue-green runs the new version beside the old and switches traffic at once, so a rollback is switching back. A canary sends a small share of traffic to the new version first and watches it.
Feature flags separate deploying code from turning it on. Whatever you pick, practise the rollback.
On Opsfolk
- Blue-Green Deployment Explained: Zero-Downtime Releases with Instant RollbackArticle, 18 min read