Today, EC2 Auto Scaling announces a new feature called instance lifecycle policy. Customers can now configure a way to retain their instances when their termination lifecycle hooks fail or timeout, providing greater confidence in managing instances for graceful shutdown.
You can add lifecycle hooks to an Auto Scaling group (ASG) to perform custom actions when an instance enters a wait state. You can choose a target service (e.g., Amazon EventBridge or AWS Lambda) to perform these actions depending on your preferred development approach. Customers use ASG lifecycle hooks to save application state, properly close database connections, back up important data from local storage, delete sensitive data/credentials, or deregister from service discovery before instance termination. Previously, both default results—continue and abandon—led to ASG terminating instances when the lifecycle hook timeout elapsed or if an unexpected failure occurred. With the new instance lifecycle policy, you can now configure retention-triggers to keep your instances in a retained state for manual intervention until you’re ready to terminate them again. This policy provides greater confidence in graceful instance termination and is especially helpful for stateful applications running on ASG.
This feature is now available in US East (N. Virginia), US West (Oregon), Europe (Ireland), and Asia Pacific (Singapore). To get started, visit the EC2 Auto Scaling console or refer to our technical documentation.
Categories: marketing:marchitecture/compute,general:products/amazon-ec2,general:products/amazon-ec2-auto-scaling
Source: Amazon Web Services
Latest Posts
- (Updated) Upcoming change: disabling Teams meeting recording expiration notification emails [MC1245635]
![(Updated) Upcoming change: disabling Teams meeting recording expiration notification emails [MC1245635] 2 pexels alfonso escalante 1319242 2533092](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- Endpoint Data Loss Prevention: Always-on diagnostics for Windows endpoints (Phase 2) [MC1246003]
![Endpoint Data Loss Prevention: Always-on diagnostics for Windows endpoints (Phase 2) [MC1246003] 3 pexels icesky08 1294229](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- Always-on diagnostics for Endpoint DLP – Turned on by default [MC1246001]
![Always-on diagnostics for Endpoint DLP – Turned on by default [MC1246001] 4 pexels designecologist 2526105](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- Microsoft Outlook: Copilot Chat available in shared and delegate mailboxes [MC1246031]
![Microsoft Outlook: Copilot Chat available in shared and delegate mailboxes [MC1246031] 5 pexels diego madrigal 162471 539694](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)

![(Updated) Upcoming change: disabling Teams meeting recording expiration notification emails [MC1245635] 2 pexels alfonso escalante 1319242 2533092](https://mwpro.co.uk/wp-content/uploads/2025/06/pexels-alfonso-escalante-1319242-2533092-150x150.webp)
![Endpoint Data Loss Prevention: Always-on diagnostics for Windows endpoints (Phase 2) [MC1246003] 3 pexels icesky08 1294229](https://mwpro.co.uk/wp-content/uploads/2025/06/pexels-icesky08-1294229-150x150.webp)
![Always-on diagnostics for Endpoint DLP – Turned on by default [MC1246001] 4 pexels designecologist 2526105](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-designecologist-2526105-150x150.webp)
![Microsoft Outlook: Copilot Chat available in shared and delegate mailboxes [MC1246031] 5 pexels diego madrigal 162471 539694](https://mwpro.co.uk/wp-content/uploads/2025/06/pexels-diego-madrigal-162471-539694-150x150.webp)
