Medium EC2 Regional

Unused EC2 security groups should be removed

FSBP

Description

Flags security groups not attached to any EC2 instance or elastic network interface.


Remediation

Remove unused security groups that are not attached to any EC2 instances or network interfaces.

Steps

  1. Open the Amazon EC2 console.
  2. Choose 'Security Groups' from the navigation pane.
  3. Review the list of security groups and identify which ones are not in use.
  4. Select the unused security group you want to delete.
  5. Choose 'Actions' and then 'Delete security group'.
  6. Confirm the deletion in the dialog box.

Compliance

FSBP