CI/CD

Deployment Strategies

Ship safely with blue-green, canary, and rolling releases.

35 min read advanced 3 objectives

Status

Not started

What you will learn

  • Compare deployment strategies
  • Reduce blast radius
  • Plan rollbacks

New to this? Start here

The basics, in plain English

Pushing a new version to all users at once is risky. Deployment strategies are safer ways to roll out changes gradually, so if something is wrong you affect few people and can undo it fast.

Deployment strategy
The chosen method for releasing a new version with minimal risk.
Blue-green
Running two copies (old and new) and switching traffic over instantly.
Canary
Sending the new version to a small slice of users first, then more if it is healthy.
Rolling
Replacing instances a few at a time so the app is never fully down.
Rollback
Quickly switching back to the old version if the new one misbehaves.
01

Lower the risk

Rolling replaces gradually, blue-green flips between two environments, canary sends a slice of traffic first. All aim to limit and detect failure early.

Finished this topic?

Mark it done to earn 100 XP and keep your streak alive.