Back to Catalog
Cloud
gcp
Blue-Green Deployment
Maintain two identical environments for safe deployments
Intent & Description
The Blue-Green Deployment pattern maintains two identical production environments, with only one serving live traffic at a time. New versions are deployed to the inactive environment, tested, and then traffic is switched. This provides instant rollback capability by switching traffic back to the previous version.
Real-world Use Case
Use when you need instant rollback capability or when you want to eliminate downtime during deployments.
Source
Advantages
- Instant rollback capability
- Zero-downtime deployments
- Safe testing before traffic switch
- Clear separation of versions
Disadvantages
- Doubled infrastructure costs
- More complex deployment process
- Requires traffic switching mechanism