AWS Config Rule: EBS Volumes Attached to Instance

EC2_VOLUME_INUSE_CHECK

Fernando Honig

Last Update hace 10 meses

Description: Checks if EBS volumes are attached to EC2 instances. Optionally checks if EBS volumes are marked for deletion when an instance is terminated.


Trigger type: Configuration changes


AWS Region: All supported AWS regions except Asia Pacific (Hyderabad), Asia Pacific (Melbourne), Europe (Spain), Europe (Zurich) Region


How to Resolve Manually

To resolve this manually, login into to your AWS Management Console and move to the respective region.


Navigate to EC2 Services, and select Volumes in the left menu under Elastic Block Store.


Filter by State: Available as shown in the image below.

If you need, you can snapshot this volume to preserve the data or simply Delete it. Select the volume and go to Actions.


When the volume is deleted, this resource will not show in AWS Config anymore. If you need to keep this volume, attach it to an instance and the rule will become COMPLIANT


How to Resolve with StackZone

You can resolve with StackZone by enabling a remediation that will automatically delete all EBS volumes not attached to an instance.


To enable it login into StackZone Console then go to Baseline Services -> Config Rules Regional -> Amazon EBS and enable EBS Volumes Attached to Instance Remediation


Want to know more about StackZone and how to make your cloud management simple and secure?

Check our how it works section with easy to follow videos or just create your own StackZone Account here

Was this article helpful?

1 out of 1 liked this article

Still need help? Message Us