Ensures all autoscaling groups contain at least 1 instance.
AutoScaling groups that are no longer in use should be deleted to prevent accidental use.
Follow the appropriate remediation steps below to resolve the issue.
Log in to the AWS Management Console.
Select the “Services” option and search for EC2.
In the EC2 Management console, scroll down and click on the “Auto Scaling groups” at the bottom.
On the “Auto Scaling groups” page, select the auto scaling group which needs to be verified whether autoscaling groups contain at least 1 instance or not.
On the “Auto Scaling group” page, scroll down and check if there is any instance running under the “Instances”. If no instance is running, delete the selected Auto Scaling group.
Repeat steps number 2 - 5 to check other groups in the account.
Navigate to the EC2 console using the link https://console.aws.amazon.com/ec2/ .
Select the Auto Scaling group from the left navigation panel and select the Auto Scaling group without any active isntance.
Click on the “Delete” button at the top after selecting the Auto Scaling group.
On the “Delete Auto Scaling groups” tab, type delete in the box for the confirmation and click on the “Delete” button to make the changes.
Repeat steps number 7 - 10 to delete the unused Auto Scaling group.