Auto Scaling lifecycle hooks
Last updated
Was this helpful?
Last updated
Was this helpful?
Lifecycle hooks enable you to perform custom actions by pausing instances as an Auto Scaling group launches or terminates them.
When an instance is paused, it remains in a wait state either until you complete the lifecycle action using the complete-lifecycle-action command or the CompleteLifecycleAction
operation, or until the timeout period ends (one hour by default).
You can store and view the metrics that you collect with the CloudWatch agent in CloudWatch just as you can with any other CloudWatch metrics.