Section: IT & Technology · Software DevelopmentDifficulty: Medium

Blue-Green Deployment

USUK

A deployment strategy using two identical environments to enable zero-downtime releases.

Definition

Blue-green deployment is a release strategy that maintains two identical production environments (blue and green) where only one is live at a time. New versions deploy to the idle environment, undergo final testing, and traffic switches instantly via load balancer or DNS change. If issues arise, rollback is immediate by reverting traffic to the previous environment. This eliminates downtime and provides a safe rollback path, though it doubles infrastructure costs.

Example

The team deployed v2.1 to the green environment while blue served live traffic; after passing smoke tests, they switched the load balancer to green in under 30 seconds with zero user impact.

Synonyms

  • zero-downtime deployment
  • environment swap deployment
  • dual environment release

Antonyms / Opposites

  • in-place upgrade
  • rolling update with downtime

Images

CC-licensed · free to use
More on Wikimedia
Loading images…

Video

  • cicd
  • load-balancer
  • canary-deployment
  • microservices

Dictionary Entry

Back to IT & Technology