๐ŸŽ 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

Jenkins
An open-source automation server for building, testing, and deploying software through configurable CI/CD pipelines.
Microservices
An architectural style where an application is composed of small, independent services that communicate over APIs.
Log Aggregation
The process of collecting, centralizing, and indexing log data from multiple sources for unified search and analysis.
Containerization
A lightweight virtualization method that packages applications with their dependencies into isolated, portable containers.
Monitoring
The practice of collecting, analyzing, and alerting on system metrics and logs to ensure application health and performance.
Kubernetes ConfigMap
A Kubernetes object that stores non-sensitive configuration data as key-value pairs, injected into pods as environment variables or files.
View All DevOps Terms โ†’