AWS CodeDeploy now supports application stop hooks during Amazon EC2 Auto Scaling Group scale-ins
News
AWS CodeDeploy now supports executing application stop hooks during Amazon EC2 Auto Scaling Group scale-ins and instance refresh operations. This allows your application to complete ongoing tasks, release resources, or close outgoing connections before instances are terminated.
Specifically, the article covers:
- CodeDeploy can now call your application's stop hook during ASG scale-ins and instance refresh operations
- Previously, the stop hook was only executed during Blue/Green deployments
- This utilizes ASG's lifecycle termination hooks to pause instance termination and execute the stop hook
- This feature is available in all AWS Regions where CodeDeploy is available
The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.
Related articles
The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.