Skip to content

Blue/green deployment

Also called Two-environment switch

What is Blue/green deployment?

Running two identical production environments and switching traffic from one to the other when the new version is ready.

Blue/green deployment keeps one environment live while the other is prepared with the new version. When testing is complete, traffic switches over, which makes rollback faster if a problem appears.

When you would use it

You use blue/green deployment when you want a clean switch between versions and a simple escape route if the release fails.

Common operations

  • Safer production upgrades
  • Fast rollback planning
  • Reducing downtime during releases

Related terms

Where this is taught

No learning path uses this term yet. Browse the Learning Atlas for guided sequences through related ideas.