Two properties of a release
Why blue-green describes environment separation while canary describes limited initial traffic exposure, and how the two strategies can be combined. · advanced
Blue-green describes environment separation: the current release runs in blue while a distinct replacement environment, green, is prepared. Separation can mean different instance groups or container task sets; it does not require different accounts or a duplicate of every dependency.
Canary describes limited initial production exposure: only a subset of live requests or a selected user cohort reaches the candidate before broader release. It does not prescribe a complete replacement environment or a particular traffic percentage.
These are different dimensions, not mutually exclusive choices. Blue-green answers where is the replacement prepared? Canary answers how broadly is the replacement exposed initially? A release can therefore have both properties.
| Property | Blue-green | Canary |
|---|---|---|
| Defines | Environment separation | Limited initial exposure |
| Controls | Current and replacement placement | Initial production population |
| Does not require | Gradual traffic shifting | Complete duplicate environment |
| In a combined release | Green hosts replacement | Green initially receives subset |