📖 Step 8: Deploy & Launch#232 / 291

Blue-Green Deployment

Blue-Green Deployment

📖One-line summary

Running the old (blue) and new (green) versions side by side and switching between them.

Example

Zero-downtime deploys: swap between two environments

Blue (v1)

← LIVE

Green (v2)

Vibe coding prompt examples

>_

Implement a blue-green deployment strategy on AWS. Prepare two environments and switch traffic at once via the load balancer.

>_

Write a blue-green deploy script. Deploy the new version to the Green environment and switch traffic after health checks pass.

Try these prompts in your AI coding assistant!