Deployment moves code from implementation into an environment where it can run, especially production. The priority is not simply releasing continuously, but releasing safely, efficiently, and with fewer bugs, regressions, and security problems. section 12.2.4
Safer deployments combine several practical controls:
- Deploy in phases: move changes through alpha or beta, pre-production, and production, allowing bake time between stages. section 12.2.4
- Use canary deployments to release changes gradually to a subset of users before expanding availability. section 12.2.4
- Use feature flags as switches that enable, disable, or hide production features and act as kill switches when needed. section 12.2.4
- Connect feature flags with A/B testing to compare feature states across different percentages of users and analyze behavior. section 12.2.4
- Improve test coverage before release, because broader testing helps identify and address potential deployment problems earlier. section 12.2.4
A controlled production release
A team can deploy a change to alpha or beta, hold it in a production-like pre-production environment for a period such as 24 hours, then expose it to a small canary group. A feature flag can disable the change if stability problems appear. section 12.2.4
Deployment management is part of a broader, continuous effort to improve engineering quality, operational efficiency, reliability, and innovation rather than a one-time destination. section 12.6






















