๐ŸŽ New User? Get 20% off your first purchase with code NEWUSER20 ยท โšก Instant download ยท ๐Ÿ”’ Secure checkout Register Now โ†’
Menu

Categories

DevOps Intermediate

What is Blue-Green Deployment?

A deployment strategy using two identical environments where traffic is switched from the old version to the new one instantly.

Blue-green deployment maintains two identical production environments. "Blue" runs the current version while "Green" receives the new deployment. After testing Green, traffic is switched from Blue to Green. If issues arise, instant rollback switches back to Blue.

This eliminates downtime during deployments and reduces risk. Challenges include database migrations (both versions must be compatible), double infrastructure costs, and session management during the switch.

Related Terms

Log Aggregation
The process of collecting, centralizing, and indexing log data from multiple sources for unified search and analysis.
Infrastructure Drift
The divergence between the actual state of infrastructure and its defined desired state, caused by manual changes or untracked modifications.
Chaos Engineering
The discipline of deliberately introducing failures into a system to test its resilience and identify weaknesses before they cause outages.
Immutable Deployment
A deployment strategy where new versions replace existing instances entirely rather than updating them in place.
Error Budget
The acceptable amount of unreliability allowed for a service, calculated as 100% minus the Service Level Objective.
Trunk-Based Development
A source control strategy where developers integrate small changes directly into the main branch frequently, often multiple times per day.
View All DevOps Terms โ†’