How to restart an instance in AWS Auto Scaling Group

Under normal circumstances, if the Instance in the Auto Scaling Group is restarted, it will be discovered by ASG's health check, causing ASG to create a new machine immediately.

This article is going to talk about how to avoid ASG from creating a new machine in this case. (Sometimes I just want to restart the machine)

There are many ways. One of the simplest ways is to temporarily turn off ASG's Launch and Health Check.

Find the advanced settings on the ASG page:

Configure suspended services in advanced settings:

 

 Temporarily close Launch and Health Check, and then restart the instance. Don't worry about unnecessary ASG.

Guess you like

Origin blog.csdn.net/rav009/article/details/129325647