Glossary

Blue-Green Deployment

Blue-green deployment is a zero-downtime deployment strategy. Two identical production environments exist: blue (current) and green (new). Traffic switches instantly; if something goes wrong, it switches back instantly.

Flow

  1. The green environment is updated to the new version
  2. Smoke tests run on green
  3. The load balancer switches all traffic from blue to green
  4. Blue stays on standby — rollback takes seconds

Advantages

Alternatives

Canary deployment — gradual rollout (1% → 10% → 100%). Rolling deployment — updating instances one at a time without stopping traffic.