What Is Blue-Green Deployment? | Vantage
Blue-Green Deployment Blue-green deployment is a release strategy that maintains two identical production environments — blue (the current live environment) and green (the new version being deployed). When a new release is ready, it is deployed to the idle environment (green). The deployment is validated on green while blue continues serving all production traffic. When validation passes, the load balancer switches traffic from blue to green in a single atomic operation. If problems are discovered after the switch, rollback is instant — flip the load balancer back to blue.
Why blue-green deployment matters
Traditional deployments require taking the service down (or accepting degraded capacity) during the release window. Blue-green deployments eliminate this: users see zero downtime, and rollback is immediate rather than requiring a re-deployment. For services with strict availability requirements (payment processing, authentication, real-time data), this is often a requirement. The instant rollback capability also significantly reduces the stress around releases — problems are recoverable in seconds, not minutes.
How it works
Two environments (blue and green) run in parallel with identical infrastructure configuration. The load balancer or DNS routes traffic to the active environment (blue). A new version is deployed to the idle environment (green). Automated smoke tests validate green. The load balancer is updated to route traffic to green. Blue becomes the idle standby. The next release deploys to blue. Database migrations that must be compatible with both versions (blue and green) are the most complex aspect: schema changes must be additive and backward-compatible until the old environment is retired.
Common mistakes
Database migrations that are not backward-compatible — if green writes data in a format blue cannot read, rollback breaks the database
Not testing on green before the switch — the value of blue-green is the validation window; skipping it is just more expensive than a rolling deploy
Idle environment drift — if blue sits unused for weeks, it will diverge from green in configuration and dependency versions
Switching too fast — the steady-state observation window after the switch to green should be long enough to catch slow-burn issues (latency regressions, memory leaks)
Cost of running two environments — blue-green requires double the infrastructure capacity; this may be cost-prohibitive for large stateful services
Related terms
How Vantage relates
Deployment strategy decisions — blue-green, canary, or rolling — are architectural decisions that affect how requirements are implemented. Vantage allows these decisions to be captured as project context, so generated tickets include the correct deployment approach and any migration constraints (backward-compatible schema changes for blue-green) as explicit acceptance criteria.