Articles → AWS → Lifecycle Hooks In The AWS Autoscaling Group

Lifecycle Hooks In The AWS Autoscaling Group






Purpose





Life-Cycle Of Lifecycle Hooks




Picture showing the Life-Cycle Of Lifecycle Hooks during scale out activity
Click to Enlarge



Picture showing the Life-Cycle Of Lifecycle Hooks during scale in activity
Click to Enlarge


How To Create Lifecycle Hooks?




Picture showing the section to create lifecycle hooks for autoscaling group
Click to Enlarge



Picture showing the create lifecycle hook screen for creating the new lifecycle hook
Click to Enlarge



FieldPurpose
Lifecycle hook nameName of the life cycle hook
Lifecycle transitionThere are 2 values in the dropdown i.e., Instance launch and Instance terminate.In this field, we can specify whether lifecycle hooks will be triggered during the scale out or scale in activity
Heartbeat timeoutThis is the timeout value in seconds. This field specifies the time when instance remain in wait state
Default resultThis field specifies the default action i.e., CONTINUE or ABANDON if any failure occurs or timeout occurs.







Posted By  -  Karan Gupta
 
Posted On  -  Tuesday, September 20, 2022

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250