a6-recipe-blue-green
Installation
SKILL.md
a6-recipe-blue-green
Overview
Blue-green deployment runs two identical production environments (blue and green). At any time, only one serves live traffic. Deploy the new version to the idle environment, test it, then switch traffic instantly. If anything goes wrong, switch back.
This recipe implements blue-green deployment using APISIX routes and upstreams managed by the a6 CLI.
When to Use
- Zero-downtime deployments with instant rollback
- You have two identical environments that can be swapped
- You want to test the new version with internal traffic before switching
- You need an auditable, scriptable deployment process