Last updated on 9th February 2026

Blue-Green Deployments

What Are Blue-Green Deployments?

Blue-green deployments maintain two identical production environments. One serves live traffic (blue) while the other receives the new deployment (green).

Benefits

  • Zero downtime during deployments
  • Instant rollback capability
  • Easy testing of new releases

Setting Up with DeployHQ

Create two deployment targets, one for blue and one for green. Switch traffic between them using your load balancer or DNS.

Rollback

If issues are detected, simply switch traffic back to the previous environment.