Customers can now use AWS Lambda functions as notification targets for Amazon EC2 Auto Scaling (ASG) lifecycle hooks. This new feature empowers customers to seamlessly integrate Lambda functions, enabling custom actions when an instance enters a wait state. It streamlines the workflow by directly triggering Lambda functions, offering a simplified approach to event-driven processing.
ASG lifecycle hooks enable customers to create solutions that are aware of events in the Auto Scaling instance lifecycle and perform a custom action on instances when the corresponding lifecycle event occurs. For example, when a scale-in event occurs, a lifecycle hook pauses the instance before it is terminated and sends the customer a notification. While the instance is in the wait state, the customer can invoke an AWS Lambda function to download logs or other data before the instance is fully terminated. Previously, to invoke Lambda functions with lifecycle hooks, customers needed to use intermediary services like Amazon EventBridge, Amazon Simple Notification Service (Amazon SNS) topics, or Amazon Simple Queue Service (Amazon SQS) queues. With this update, customers can directly specify a Lambda function as the notification target, simplifying their infrastructure by reducing intermediate dependencies.
To get started, customers first grant permission to EC2 Auto Scaling using a Lambda resource-based policy, similar to what they already do today for a custom termination policy. They can then specify the Lambda function Amazon Resource Name (ARN) as the notification target when creating Auto Scaling groups or add lifecycle hooks.
This feature is available in all AWS regions, including AWS GovCloud (US) Regions. To get started, please visit Amazon EC2 Auto Scaling user guide.
Categories:
Source: Amazon Web Services
Latest Posts
- GCP Release Notes: March 25, 2026

- (Updated) Microsoft OneNote | Sensitivity labels now available on desktop, web, iOS, Android, and Mac [MC1157712]
![(Updated) Microsoft OneNote | Sensitivity labels now available on desktop, web, iOS, Android, and Mac [MC1157712] 3 pexels andre furtado 43594 1263985](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- (Updated) Microsoft 365: Modern Access Request and Access Denied web page [MC1188599]
![(Updated) Microsoft 365: Modern Access Request and Access Denied web page [MC1188599] 4 pexels droosmo 2958565](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- Microsoft Teams town halls now support backup Real-Time Messaging Protocol (RTMP) streams [MC1261595]
![Microsoft Teams town halls now support backup Real-Time Messaging Protocol (RTMP) streams [MC1261595] 5 pexels kovyrina 12211](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)


![(Updated) Microsoft OneNote | Sensitivity labels now available on desktop, web, iOS, Android, and Mac [MC1157712] 3 pexels andre furtado 43594 1263985](https://mwpro.co.uk/wp-content/uploads/2025/06/pexels-andre-furtado-43594-1263985-150x150.webp)
![(Updated) Microsoft 365: Modern Access Request and Access Denied web page [MC1188599] 4 pexels droosmo 2958565](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-droosmo-2958565-150x150.webp)
![Microsoft Teams town halls now support backup Real-Time Messaging Protocol (RTMP) streams [MC1261595] 5 pexels kovyrina 12211](https://mwpro.co.uk/wp-content/uploads/2025/06/pexels-kovyrina-12211-150x150.webp)
