AWS CodeDeploy Now Pauses Auto Scaling During Deployments
AWS CodeDeploy can now suspend EC2 Auto Scaling processes while updating instances, preventing scaling activities from killing your deployment. You can pick which processes to freeze (Terminate, AZRebalance, InstanceRefresh, ScheduledActions) per deployment or group, and CodeDeploy handles the suspension and resumption automatically—no custom scripts needed. This feature rolls out across all AWS Regions, including GovCloud and China.
source: [aws/whats-new]