Cloud & Software Development

Canary release

Also known as: canary deployment, phased rollout

A canary release rolls out a new software version to a small slice of users or servers first, watches for problems, and only then expands to everyone.

The name comes from the canaries miners carried to detect dangerous gas. While it sounds like simple caution, a good canary depends on automated measurement: without clear health metrics, you're just releasing slowly, not safely.

Canary release, explained at three levels

At home

Imagine testing a new recipe on two friends before cooking it for a hundred guests. If they get sick, you've avoided a disaster. A canary release tests new software on a few users first in the same way.

At work

With canary releases, a company sends an update to perhaps 1% of users, checks that errors and speed look normal, then increases to 10%, 50%, and finally everyone. A bad update affects only a small group.

Real-world examples

At home

Sophie joined a beta channel for her favourite photo app. She sometimes gets updates a week early, which makes her part of the canary group that helps the developers catch bugs before everyone else updates.

At work

Fatima runs site reliability at a national airline's booking platform. Every release goes to 2% of traffic for an hour, with automatic rollback if booking completions drop. Last spring, a canary caught a payment bug that would have hit every customer.

How it compares

featureCanary releaseBlue-green deployment
How users moveGradually, in percentage stepsAll at once, by switching environments
Blast radiusSmall at firstEveryone, though rollback is fast
InfrastructureRuns versions side by sideNeeds two full environments
Best forCatching problems with real trafficFast, clean switches and rollbacks

Canaries limit how many people a bad release can hurt.

For analysts

Ask what metric decides whether a canary passes. I'd include a business measure, such as checkouts or sign-ups, alongside error rates, because some bugs break revenue without ever throwing an error.

History & origin

Large web companies such as Google and Facebook used staged rollouts through the 2000s, and the 'canary' name spread with the continuous delivery movement around 2010. Netflix and Google open-sourced Kayenta, a tool for automated canary analysis, in 2018, which compared canary and baseline metrics statistically instead of relying on someone watching a dashboard. Kubernetes tools such as Argo Rollouts and Flagger later made canaries routine for smaller teams. The value became painfully clear in July 2024, when a faulty CrowdStrike content update reached millions of Windows machines at once; the company's review committed to staged, canary-style deployments. In my opinion, that incident turned canary releases from best practice into basic responsibility.