Why it matters

Blue-green enables instant rollback. Understanding shapes deployment.

Advertisement

The architecture

Blue = current prod.

Green = new version.

Test green.

Switch router.

Blue-green flowBlue (current)prod trafficGreen (new)validationSwitch trafficinstant cutoverInstant rollback advantage; cost of maintaining duplicate infra
Blue-green.
Advertisement

How it works end to end

Duplicate infra.

Router or DNS switch.

Rollback: switch back.

Stateful apps: sync considerations.