ChatDiagram
Flowchart · DevOps · Deployment

Blue-green production deployment pipeline

This blue-green deployment flowchart documents a safe production cutover for a containerized service. It starts from an approved release candidate and makes the gates before and after traffic switching visible: integration tests, critical vulnerability scanning, green smoke tests, change approval, and an error-rate SLO check.

Type FlowchartStandard Sugiyama layered DAG + orthogonal routingEngine schematex-flowchartUpdated 9/22/2026
Blue-green production deployment
Drawing preview
The request

“Create a top-down blue-green production deployment flowchart: an approved release candidate builds an immutable container image, passes integration tests and a critical-CVE scan, then deploys to green for smoke tests. After production approval, switch the load balancer to green and check whether error rate is within the SLO. Successful health drains blue and completes deployment; failed health switches traffic back to blue. Route any test or CVE failure to stopping the release, and a declined approval to holding green.”

Then tryAdd a database migration compatibility check before green deployment.Change the health gate to include latency and saturation SLOs.
What is in this drawing

Read the decisions behind it.

01Immutable image

The same built image is scanned and deployed, avoiding a rebuild between validation and production.

02Critical-CVE gate

A critical vulnerability stops the release before the green environment is changed.

03Separate green validation

Smoke tests run in green before the load balancer directs production traffic there.

04SLO health gate

Error-rate monitoring determines whether blue is drained or traffic is immediately restored to it.

Use this when two production-capable environments sit behind a load balancer. Add your own service-level indicators, approval policy, and database compatibility controls.

More like this

Other examples in this family.

Browse all flowchart templates →

FAQ

Common questions

What makes this blue-green rather than canary deployment?

The flow switches the load balancer from blue to green after green validation, rather than gradually exposing percentages of traffic.

When is blue drained?

Only after green traffic meets the error-rate SLO.

What happens when smoke tests fail?

The release is stopped and the build is fixed; traffic is not switched to green.