Git & Delivery More detail C · Industry convention Platform: General

Blue-Green Deployment

A blue-green deployment keeps the current and new versions in separate environments. Traffic switches after the new environment is checked.

See how it works
You might call it blue green releaseenvironment switch deploymentparallel environment release

See how it works

Original worked exampleBlue-Green Deployment
BUILD → RUN → RELEASEBlue-Green Deploymentblue active + green ready -> validate -> switch traffic -> observe -> retire or switch back
CHECKOUTACTIVE · BLUE
BLUE · v1live 100%GREEN · v2preview ready
PRE-SWITCH CHECKShealth + smoke ✓→
Route: blue → greenkeep blue 10 min
RESULTTraffic moves to the checked green environment while blue stays available briefly.BOUNDARYRouting can lag. Database and state changes need their own compatibility plan.
blue active + green ready -> validate -> switch traffic -> observe -> retire or switch backOPS
Blue-Green DeploymentRuntime & progressive delivery

Another example

Blue serves checkout traffic. Green runs version 2 and passes checks. Routing switches to green while blue stays ready for return.

Main parts

  1. 01Active environment
  2. 02Preview environment
  3. 03Matching settings and capacity
  4. 04Pre-switch checks
  5. 05Traffic switch
  6. 06Observation and return window

Use it when

Use it when two environments fit the budget and a fast traffic switch matters. Plan checks, capacity, switching, observation, and return.

Do not use it when

Do not promise zero downtime or easy database rollback. Routing delays, long connections, and incompatible data changes can still break the switch.

Name used in code

blue active + green ready -> validate -> switch traffic -> observe -> retire or switch back

Before you ship

Before publishing, check the exact repository, branch, target, and diff. Keep unpublished work. Pass review and CI checks. Record conflict and data-loss risks, release order, traceability, recovery, and rollback.

Request you can copy

Outcome: Use Blue-Green Deployment to release or recover the change safely, with a clear record. User context: Blue serves checkout traffic. Green runs version 2 and passes checks. Routing switches to green while blue stays ready for return. Delivery concept or operation: Blue-Green Deployment. Why it fits: Use it when two environments fit the budget and a fast traffic switch matters. Plan checks, capacity, switching, observation, and return. Do not use it when: Do not promise zero downtime or easy database rollback. Routing delays, long connections, and incompatible data changes can still break the switch. Delivery requirements: Name the code repository and target. List preconditions, changes, review and CI checks, conflict and data-loss risks, release order, and the rollback or recovery command. Repository safeguards: Keep unpublished work and a clear history. Do not run destructive steps without an explicit backup. Check the exact code diff and remote target before publishing. Acceptance criteria: Review the intended diff and pass all required checks. Keep the target version traceable. Practice failure recovery and keep published history clear. Evidence and limits (evidence boundary): No single official standard controls the whole term. Its meaning may change across teams, platforms, or frameworks. Unknowns to confirm: Repository, branch, team activity, release environment, approval owner, protected checks, and rollback target.

Check this request

Review the current use of Blue-Green Deployment. Definition: A blue-green deployment keeps the current and new versions in separate environments. Traffic switches after the new environment is checked. Release checks: Before publishing, check the exact repository, branch, target, and diff. Keep unpublished work. Pass review and CI checks. Record conflict and data-loss risks, release order, traceability, recovery, and rollback. Before changing code, report the evidence you found, gaps, severity, and the smallest safe fix.

C
How official is this term?

Industry convention

People often use this term at work. The listed sources may support practice or limitations. They do not define every part of the term.

No single official standard controls the whole term. Its meaning may change across teams, platforms, or frameworks.

Scope
Cross-platform blue-green-deployment convention; Argo Rollouts only supports its cited Kubernetes Service and ReplicaSet strategy
Document status
stable
Checked on
2026-07-30

Evidence sources & scope

Authority source + Term reference · Argo Rollouts · stable BlueGreen Deployment Strategy Scope: Argo Rollouts BlueGreen strategy for Kubernetes Services and ReplicaSets; not a universal traffic-switching contract Role here: Direct term reference Source covers: canonical name, definition, platform API, implementation, usage guidance, avoidance guidance Background source AWS — When blue/green deployments are not recommended Role here: Helpful background, not a definition

Copy it yourself

The browser could not copy this. Select the request below and copy it yourself.