Posted On: Sep 13, 2017

You can now create and manage lifecycle hooks for Auto Scaling Groups using the AWS management console. Previously, this functionality was only available through the AWS Application Programming Interface (API), Command Line Interface (CLI), and AWS CloudFormation. In addition, creating lifecycle hooks is now more convenient as it can be done in the same step as creating your Auto Scaling Group using the ‘CreateAutoScalingGroup’ call through the AWS API and CLI.

Lifecycle hooks allow you to control what happens when your Amazon EC2 instances are launched and terminated as you scale out and in. For example, you might download and install software when an instance is launching, and archive instance log files in Amazon Simple Storage Service (S3) when an instance is terminating.

There is no charge for using Auto Scaling; you pay only for the underlying instances provisioned. To learn more about lifecycle hooks, visit the Auto Scaling documentation.