Deployment Strategies Matrix

Rolling, canary, blue-green. When each.

Rolling deploy

Rolling deploy replaces pods or instances one at a time. The default in Kubernetes Deployments and most ASG configurations. Simple, low cost, well-understood; the right baseline for backwards-compatible changes that do not need atomic cutover.

Canary deploy

Canary deploy ramps traffic gradually from a small percentage to full. 5%, 25%, 50%, 100%. Each stage gates on health metrics so regressions surface against a slice of users rather than the whole base.

Blue-green deploy

Blue-green stands up two full environments. Blue is current production; green is the new version. Traffic flips atomically from blue to green; rollback is instant by flipping back. The cost is double infrastructure during the cutover window, justified for zero-downtime migrations.

Shadow deploy (dark launch)

Shadow deploy sends a copy of production traffic to the new version without serving its responses to users. Behaviour is observed, users are unaffected, and the new version is exercised against the real shape of production load before it ever serves a customer.

Picking the right strategy

The right strategy is the lowest-cost option that matches the change. Routine and backwards-compatible: rolling. High-stakes with metric gates: canary. Zero-downtime requirement: blue-green. Risky and hard to test: shadow first, then canary.