AWS CodeDeploy now allows selected EC2 Auto Scaling processes to be suspended during in-place deployments. Supported controls include termination, availability-zone rebalancing, instance refresh and scheduled actions.
The change addresses an operational collision: one system updates an instance while another decides to replace it. CodeDeploy resumes the selected processes after success, failure or a stopped deployment, reducing the need for custom coordination scripts.
Operators should still consider the capacity implications of a pause. Preventing instance replacement during deployment may be useful, but an extended or stuck rollout needs monitoring and a recovery plan.
The setting can apply to a deployment group or an individual deployment. Teams should test failure and cancellation paths before adopting a group-wide default, especially for services with tight availability requirements.


