Aqua CSPM

Empty AutoScaling Group

Quick Info

Plugin TitleEmpty AutoScaling Group
CloudAWS
CategoryAutoScaling
DescriptionEnsures all autoscaling groups contain at least 1 instance.
More InfoAutoScaling groups that are no longer in use should be deleted to prevent accidental use.
AWS Linkhttps://docs.aws.amazon.com/autoscaling/ec2/userguide/AutoScalingGroup.html
Recommended ActionDelete the unused AutoScaling group.

Detailed Remediation Steps

  1. Log in to the AWS Management Console.
  2. Select the “Services” option and search for EC2.
  3. In the EC2 Management console, scroll down and click on the “Auto Scaling groups” at the bottom.
  4. 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.
  5. 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.
  6. Repeat steps number 2 - 5 to check other groups in the account.
  7. Navigate to the EC2 console using the link https://console.aws.amazon.com/ec2/ .
  8. Select the Auto Scaling group from the left navigation panel and select the Auto Scaling group without any active isntance.
  9. Click on the “Delete” button at the top after selecting the Auto Scaling group.
  10. 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.
  11. Repeat steps number 7 - 10 to delete the unused Auto Scaling group.