Blue-Green Deployment

A deployment strategy using two identical production environments, where traffic is switched from the current (blue) to the new (green) version.

Hyperping monitoring dashboard

Blue-green deployment is a release strategy that maintains two identical production environments called "blue" (the current live version) and "green" (the new version being staged). Once the green environment is fully deployed and verified, traffic is switched from blue to green. The blue environment remains as an instant rollback target.

The main advantage of blue-green deployments is zero-downtime releases with instant rollback capability. If the new version has problems, switching traffic back to the blue environment is immediate. This approach also allows thorough testing of the green environment under production-like conditions before it receives real traffic.

The trade-off is that blue-green deployments require maintaining two full production environments, which doubles infrastructure costs during the deployment window. Database migrations require special handling since both environments may need to work with the same database schema. Monitoring both environments during the switch — and after — ensures the transition is smooth.

Related Terms

Canary Deployment
A deployment strategy that rolls out changes to a small subset of users before a full release to det...
Uptime
Uptime is the share of time a service is available and working, expressed as a percentage of a perio...
Availability
Availability is the share of time a service can actually be used, expressed as a percentage. It is c...

Related Resources

Get started

Start monitoring in the next 5 minutes.

Stop letting customers discover your outages first. Set up monitoring, status pages, on-call, and alerts before your next coffee break.

Free plan, 20 monitors. No credit card, no time limit.