Skip to content
Agile & Delivery

Deployment Strategy

Definition

A deployment strategy is a plan for releasing software or updates to users. It outlines the process, timeline, and potential risks involved in deploying new features or changes to a product.

Diagram

Rolling, blue-green and canary deploymentsRolling: servers are replaced with the new version a few at a time. Blue-green: a full copy of the new version runs beside the old one and the router switches all traffic at once, with an instant switch back. Canary: a small share of traffic goes to the new version first and grows if it is healthy.RollingReplace servers a few at a time.2 of 6 updated so farCheapest · versions mix while it runsBlue-greenRun both; switch all traffic at once.Blue: old versionGreen: new versionRouterInstant switch back · needs doublethe servers during the switchCanarySend a little traffic first; grow if healthy.5%25%100%Real users test it, with only a fewexposed · needs good monitoring todecide each stepshare of traffic on the new version, step by step
Choose by risk and cost: rolling is cheapest, blue-green gives the fastest rollback, and canary limits how many users a bad release reaches. Feature flags add a fourth option: ship the code switched off and turn it on separately.

Worked example