Which of the below mentioned steps are to be performed by the user?

A user is trying to delete an Auto Scaling group from CLI. Which of the below mentioned steps are
to be performed by the user?

A user is trying to delete an Auto Scaling group from CLI. Which of the below mentioned steps are
to be performed by the user?

A.
Terminate the instances with the ec2-terminate-instance command

B.
Terminate the Auto Scaling instances with the as-terminate-instance command

C.
Set the minimum size and desired capacity to 0

D.
There is no need to change the capacity. Run the as-delete-group command and it will reset all
values to 0

Explanation:
If the user wants to delete the Auto Scaling group, the user should manually set the values of the
minimum and desired capacity to 0. Otherwise Auto Scaling will not allow for the deletion of the
group from CLI. While trying from the AWS console, the user need not set the values to 0 as the
Auto Scaling console will automatically do so.



Leave a Reply 3

Your email address will not be published. Required fields are marked *


Anuj

Anuj

C. setting capacity size to 0 will do the trick. No need to manual delete all instances.

NikiHeat

NikiHeat

C. Otherwise it will launch the instance again.