1.

What is lifecycle hook in AWS?

Answer» <html><body><p>In AWS, the lifecycle hook is a feature included in the auto <a href="https://interviewquestions.tuteehub.com/tag/scaling-637468" style="font-weight:bold;" target="_blank" title="Click to know more about SCALING">SCALING</a> which helps to control instance launch and termination state within the auto scaling group. It remains in a waiting mode for a certain amount of time when the instance is paused. We can <a href="https://interviewquestions.tuteehub.com/tag/create-427332" style="font-weight:bold;" target="_blank" title="Click to know more about CREATE">CREATE</a> lifecycle hooks by using the command</p><p><strong>put-lifecycle-hook</strong>. Lifecycle hooks are <a href="https://interviewquestions.tuteehub.com/tag/also-373387" style="font-weight:bold;" target="_blank" title="Click to know more about ALSO">ALSO</a> customizable with various actions such as by defining a target notification for the lifecycle hook, creating an instance running script as the instance starts or determining a CloudWatch <a href="https://interviewquestions.tuteehub.com/tag/event-343411" style="font-weight:bold;" target="_blank" title="Click to know more about EVENT">EVENT</a> target to invoke functions associated with the Lambda when the lifecycle <a href="https://interviewquestions.tuteehub.com/tag/action-2544" style="font-weight:bold;" target="_blank" title="Click to know more about ACTION">ACTION</a> occurs.</p></body></html>


Discussion

No Comment Found