Choosing a Release Methodology: DTAP, Blue/Green and Canary
This lesson compares the three release methodologies named in the skills outline, which determine how a new version of an agent solution reaches users, how much risk each release carries and how quickly a bad release can be withdrawn.
Learning outcomes
After completing this lesson, you will be able to:
- Describe the DTAP environments and promotion of artefacts.
- Describe how a blue/green release switches traffic.
- Describe how a canary release limits exposure while evidence is collected.
DTAP
DTAP stands for Development, Test, Acceptance and Production. Each environment has its own resources and data, and the same build artefacts are promoted from one to the next through gates. Development is for building; Test runs automated tests and evaluations; Acceptance is where business owners, compliance and human reviewers validate behaviour on realistic data; Production serves users. DTAP is common in regulated organizations because it gives formal sign-off points. It describes the path to production, and it is combined with blue/green or canary for the final step.
The DTAP environments
Blue/green
In a blue/green release, two identical production environments exist. The current version (blue) serves all traffic while the new version (green) is deployed and verified. Traffic then switches to green all at once, and blue remains available, so rollback is an immediate switch back. Blue/green suits releases that must change behaviour for all users at the same moment or that cannot run two versions side by side for long, and it requires double capacity during the switch. For agents, both environments must share or replicate state such as conversations and memory correctly.
Canary
In a canary release, a small share of traffic (for example 5%) goes to the new version while the rest stays on the stable version. Metrics, evaluations and feedback are compared between the two; if the canary meets thresholds, its share increases in steps until it serves all traffic, and if it breaches them, traffic returns to the stable version automatically. Canary releases suit agent changes because quality problems often appear only on real traffic. Azure Container Apps revisions with traffic splitting, API Management weighted back ends and Azure Front Door support it.
The following table compares the three methodologies.
| Methodology | Exposure | Rollback | Best for |
|---|---|---|---|
| DTAP | Staged environments before production | Stop promotion; redeploy previous | Formal sign-off, regulated releases |
| Blue/green | All users at once | Immediate switch back | Atomic changes, simple rollback |
| Canary | Small share, then gradual | Shift traffic back automatically | Behaviour changes validated on live traffic |
The following diagram shows a canary release growing in steps.

DTAP, blue/green or canary?
A new model for the orchestrator
A team wants to move its orchestrator agent to a newer model. Offline evaluations look good, but the team is worried about behaviour on unusual real requests and wants to limit impact if problems appear.
A canary release fits: route 5% of conversations to the new orchestrator version, compare task completion, escalation rate, cost and latency with the stable version through continuous evaluation and traces, and increase the share in steps, with automatic rollback if thresholds are breached. Blue/green would expose all users at once, and DTAP alone would not test on real traffic.
What is the difference between blue/green and canary releases?
Show answer
Blue/green switches all traffic at once with an instant switch back. Canary moves traffic gradually and compares the versions on live traffic.
Exam Tips
Remember for the exam
- DTAP is the path through environments; blue/green and canary govern the production step.
- Blue/green: all at once, instant switch back. Canary: gradual, compared on live traffic.
- Canary with continuous evaluation suits agent behaviour changes.