Skip to content

Blue/green vs canary vs rolling vs recreate

Recreate stops the old and starts the new, rolling replaces instances gradually, blue/green flips between two full environments, canary sends a slice of traffic to the new version.

Pattern

Downtime

Rollback

Cost

Best for

Recreate

Yes

Redeploy old

Low

Dev, simple apps

Rolling

No

Redeploy old

Low

Stateless services

Blue/green

No

Flip environment

High (double)

Risk-sensitive

Canary

No

Route away

Medium

Continuous traffic

Shadow

No

Drop shadow

High (double)

Validating migrations