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

Continuous Deployment
A practice where every code change that passes automated tests is automatically deployed to production.
Packer
A tool for creating identical machine images for multiple platforms from a single configuration file.
SonarQube
A platform for continuous code quality inspection that detects bugs, vulnerabilities, and code smells through static analysis.
Container Orchestration
The automated management of containerized applications including deployment, scaling, networking, and health monitoring across clusters.
ELK Stack
A popular log management platform combining Elasticsearch (search), Logstash (processing), and Kibana (visualization).
Microservices
An architectural style where an application is composed of small, independent services that communicate over APIs.
View All DevOps Terms โ†’