Skip to content
_CORE
AI & Agentic Systems Core Information Systems Cloud & Platform Engineering Data Platform & Integration Security & Compliance QA, Testing & Observability IoT, Automation & Robotics Mobile & Digital Banking & Finance Insurance Public Administration Defense & Security Healthcare Energy & Utilities Telco & Media Manufacturing Logistics & E-commerce Retail & Loyalty
References Technologies Blog Know-how Tools
About Collaboration Careers
CS EN DE
Let's talk

Blue-Green Deployment

28. 04. 2025 1 min read intermediate

Architecture Intermediate

Blue-Green Deployment

Blue-GreenDeploymentZero Downtime 3 min read

Zero-downtime release using two identical environments.

Principle

Two identical environments: Blue (current) and Green (new version). Deploy to Green, test, switch traffic.

# Before: LB → Blue (v1.0)
# Deploy to Green (v2.0), test
# Switch: LB → Green (v2.0)
# Rollback? LB → Blue (v1.0)

Configuration

# Switch with a single line
upstream app {
    # server blue-pool:8080;  # Comment out to switch
    server green-pool:8080;
}

Pros and Cons

  • Zero downtime
  • Instant rollback
  • Double the infrastructure
  • Database migrations require attention

Summary

The simplest zero-downtime deployment. Double the infrastructure is the price for safety.

Need Help with Implementation?

Our team has experience designing and implementing modern architectures. We’re happy to help.

Free Consultation

Share:

CORE SYSTEMS team

We build core systems and AI agents that keep operations running. 15 years of experience with enterprise IT.