# Ensure Unused EBS Volumes Are Removed

- Source: https://support.icompaas.com/support/solutions/articles/62000233958-ensure-unused-ebs-volumes-are-removed
- Section: [Solutions](https://support.icompaas.com/support/solutions) › [CIS AWS Compute Services Benchmark v1.1.0](https://support.icompaas.com/support/solutions/62000112682) › [AWS Compute Services Benchmark v1.1.0](https://support.icompaas.com/support/solutions/folders/62000169228)
- Last updated: 2026-05-29
- Publisher: iCompaas, Inc. (https://www.icompaas.com)

**Profile Applicability:**

-   **Level 1**

**Description:**  
Unused Elastic Block Store (EBS) volumes in your AWS account should be identified and removed if they are no longer required. EBS volumes that are unattached to EC2 instances still contain data, and it is crucial to prevent unauthorized access to this data. If these volumes are not needed for future use, they should be deleted to ensure the security of your environment and reduce unnecessary costs.

**Rationale:** EBS volumes that are not attached to EC2 instances can still contain sensitive data. Leaving unused volumes in your environment poses a risk of accidental exposure or unauthorized access to that data. Removing these unused volumes ensures that:

-   Data privacy is maintained by preventing unauthorized access.
    
-   You minimize the risk of data leaks from abandoned volumes.
    
-   Unused resources are deleted, reducing the potential attack surface and saving on storage costs.
    

**Impact:  
 Pros:**

-   Reduced security risks by removing unused volumes that may contain sensitive data.
    
-   Cost optimization by ensuring that no unnecessary storage volumes incur costs.
    
-   Improved resource management by keeping the environment clean and free from unused resources.
    

**Cons:**

-   Data loss: Once a volume is deleted, the data on it is permanently lost unless a snapshot is taken beforehand.
    
-   Requires careful management to avoid accidental deletion of necessary volumes.
    

**Default Value:** By default, unused EBS volumes remain in the account until explicitly deleted. These volumes may accrue storage costs even if they are not being actively used.

**Pre-requisites:**

-   AWS IAM permissions to view and delete EBS volumes:  
    ec2:DescribeVolumes, ec2:DeleteVolume  
    

**Remediation:**

**Test Plan:**

**Using AWS Console:**

1.  Log in to the EC2 Console at [AWS EC2 Console](https://console.aws.amazon.com/ec2/).
    
2.  Under Elastic Block Store, click Volumes.
    
3.  In the State column, sort by Available.
    
4.  Identify the unused EBS volumes (those listed as Available) that are not attached to any EC2 instances.
    
5.  Capture the list of these unused volumes for remediation.
    
6.  Repeat the process across all regions to ensure no unused volumes are left.
    

**Using AWS CLI:**

1.  Run the following command to list all EBS volumes that are not attached to any instances:  
    
    aws ec2 describe-volumes --filter Name=status,Values=available --query "Volumes\[\*\].{ID:VolumeId}"
    
2.  Review the output, which will list all volumes that are currently in the Available state (i.e., not attached to any EC2 instance).
    

**Implementation Plan:**

**Using AWS Console:**

1.  Log in to the EC2 Console at [AWS EC2 Console](https://console.aws.amazon.com/ec2/).
    
2.  Under Elastic Block Store, click Volumes.
    
3.  In the State column, sort by Available to find all unused volumes.
    
4.  Select the volume you wish to delete.
    
5.  Click Actions, then select Delete volume.
    
6.  Confirm the deletion by clicking Yes, Delete.
    
7.  Repeat the process for other unused volumes as necessary.
    
8.  Ensure this process is followed for all regions in use.
    

**Using AWS CLI:**

1.  For each unused volume identified in the audit, run the following command to delete the volume:  
    
    aws ec2 delete-volume --volume-id <volume-id>
    
2.  Repeat for any other unused volumes that need to be deleted.
    

**Backout Plan:**

**Using AWS Console:**

1.  If the wrong volume is deleted, log in to the EC2 Console.
    
2.  Navigate to Snapshots, create a snapshot of the deleted volume if you want to restore the data.
    
3.  If no snapshot exists, restoring the volume directly is not possible. Ensure that snapshots are taken before deleting any volumes in the future.
    

**Using AWS CLI:**

1.  If a volume was deleted by mistake, ensure that a snapshot was taken before deletion. If not, you can no longer restore the volume unless a snapshot exists.
    
2.  If a snapshot was created, you can restore the deleted volume by copying the snapshot to a new volume:  
    
    aws ec2 create-volume --snapshot-id <snapshot-id> --availability-zone <az>
    

**References:**

1.  [AWS CLI: describe-volumes](https://aws.amazon.com/cli/latest/reference/ec2/describe-volumes.html)
    
2.  [AWS CLI: delete-volume](https://aws.amazon.com/cli/latest/reference/ec2/delete-volume.html)
    
3.  [AWS EC2: EBS Volumes Documentation](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-using-volumes.html)
    

**CIS Controls:**

<table style="border:none;border-collapse:collapse;font-family:&quot;Helvetica Neue&quot;"><colgroup style="font-family:&quot;Helvetica Neue&quot;"><col style="font-family:&quot;Helvetica Neue&quot;"><col style="font-family:&quot;Helvetica Neue&quot;"><col style="font-family:&quot;Helvetica Neue&quot;"></colgroup><tbody style="font-family:&quot;Helvetica Neue&quot;"><tr style="height:38.5pt;font-family:&quot;Helvetica Neue&quot;"><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><p dir="ltr" style="line-height:1.38;text-align:justify;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-family:&quot;Helvetica Neue&quot;">Version</span></span></span></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><p dir="ltr" style="line-height:1.38;text-align:justify;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-family:&quot;Helvetica Neue&quot;">Control ID</span></span></span></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><p dir="ltr" style="line-height:1.38;text-align:justify;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-family:&quot;Helvetica Neue&quot;">Control Description</span></span></span></p></td></tr><tr style="height:51.25pt;font-family:&quot;Helvetica Neue&quot;"><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><p dir="ltr" style="line-height:1.38;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px;text-align:justify"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-family:&quot;Helvetica Neue&quot;">v8</span></span></span></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><p dir="ltr" style="line-height:1.38;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px;text-align:justify"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-family:&quot;Helvetica Neue&quot;">3.3</span></span></span></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><p dir="ltr" style="line-height:1.38;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px;text-align:justify"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-family:&quot;Helvetica Neue&quot;">Configure&nbsp;data access control lists&nbsp;to ensure that only authorized individuals have access to EBS volumes, and that unused volumes are&nbsp;removed&nbsp;to prevent data exposure.</span></span></span></p></td></tr><tr style="height:38.5pt;font-family:&quot;Helvetica Neue&quot;"><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><p dir="ltr" style="line-height:1.38;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px;text-align:justify"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-family:&quot;Helvetica Neue&quot;">v7</span></span></span></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><p dir="ltr" style="line-height:1.38;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px;text-align:justify"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-family:&quot;Helvetica Neue&quot;">14.6</span></span></span></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-family:&quot;Helvetica Neue&quot;;font-size:14px"><p dir="ltr" style="line-height:1.38;margin-bottom:0pt;font-family:&quot;Helvetica Neue&quot;;font-size:14px;text-align:justify"><span style="font-size:14px"><span style="font-family:Helvetica Neue"><span style="color:rgb(0, 0, 0);font-family:&quot;Helvetica Neue&quot;">Protect information&nbsp;by ensuring that&nbsp;unused EBS volumes&nbsp;are deleted to prevent unauthorized access or data leaks.</span></span></span></p></td></tr></tbody></table>

## Related compliance guidance

- [SOC 2 compliance: a practical implementation guide for cloud-native SaaS teams](https://support.icompaas.com/compliance/soc-2-trust-services-criteria): Configuration checks like this one are the technical half of a SOC 2 / ISO 27001 programme — the guide shows where they fit, what else an auditor expects, and how to evidence them.
- [ISO/IEC 27001:2022 compliance: a practical implementation guide](https://support.icompaas.com/compliance/iso-27001-2022): ISO 27001 Annex A.8 (technological controls) is where cloud hardening evidence lands; the guide shows how to run the ISMS around it.
