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

Kubernetes Secret
A Kubernetes object for storing sensitive data like passwords, tokens, and certificates, with base64 encoding and optional encryption at rest.
Kubernetes
An open-source container orchestration platform that automates deploying, scaling, and managing containerized applications.
Docker
A platform for building, shipping, and running applications in lightweight, isolated containers.
Continuous Deployment
A practice where every code change that passes automated tests is automatically deployed to production.
Service Discovery
A mechanism that automatically detects and tracks the network locations of service instances in distributed systems.
Prometheus
An open-source monitoring and alerting toolkit that collects time-series metrics using a pull-based model.
View All DevOps Terms โ†’