NEW Upcoming Webinar: Maximize Cloud Efficiency with Karpenter - Register Now

NEW Featured eBook: AWS Cloud Cost Allocation: The Complete Guide - Download Now

AWS RDS with public subnets with open ports

What is Elastic Block Storage (EBS)

AWS EBS stands for Elastic block storage. EBS lets you store huge amounts of data of any kind i.e. Files system data, transactional Data, relational databases, etc. An EBS volume is like a hard drive attached to an EC2 instance. EBS provides high availability and durability, and is ideal for intensive applications.

Why its important delete unattached EBS Volumes

EBS volumes were originally developed as a default volume option for EC2 Instances. However, EBS volumes work independently. Due to constant creation and termination of EC2 machines in an AWS account, some EBS volumes attached to a particular instance is left orphaned. These unassociated or orphaned EBS volumes are not deleted by default and keep incurring you cost without serving any purpose. This makes keeping a track on Unattached EBS volumes very important as this may track and implement cost optimization opportunities.

How can nOps help you?

nOps is a smart cloud FinOps platform helping you to stay on top of your cloud cost optimization journey. nOps helps users analyse their environment and detect unattached EBS Volumes and also understand the cost associated with it. Here is how you can do it:


1.Open then login with your credentials into the nOps platform.

 2. Under nOps platform navigate to nOps rules tabe to get the information.

 3. A list of unused volumes will be visible on the same page as mentioned below. That list can be downloaded by hitting the download button on the same page.

4. As a result, a list of unused volumes with all other information like AWS account, Regions, Resource Name /ID, etc will get as a xlsx file.

1.Open then login with your credentials into the nOps platform.

2.. Navigate to Data explorer tab.

3. Run the ec2_volumes query using necessary filtering like account_number, attachments, availability_zone etc. that will give more information about the unused AWS EC2 EBS volume.


query MyQuery {
  ec2_volumes (where: {state: {_similar : available}}) { 

The command output should return a table with the requested list of unused EBS volumes. Same result can be converted into a table format with the help of the Table view option on the nOps platform.


Users will be able to see every information about the unused AWS EC2 unused EBS volume.

1. Sign in to the AWS Management Console.

2. Click to to access the Amazon EC2 console.

3. In the navigation panel, go to Elastic Block Store, then choose Volumes.

4. Choose the Amazon EBS volume you want to investigate.

5. From the console’s bottom panel, select the Description tab. verify the State property value there. If the State attribute value is available, the specified Amazon EBS volume is not associated to an EC2 instance and can thus be deleted from your AWS account because it is regarded to be unused.

6. Repeat steps 4 and 5 for each Amazon EBS volume that is presently accessible in the selected AWS region.

7. Perform the Audit procedure for different regions by changing the AWS cloud region in the navigation bar.

1. To find out the ID of each Amazon EBS volume provisioned in the chosen AWS cloud region, use the describe-volumes command (OSX/Linux/UNIX) with custom query filters:

aws ec2 describe-volumes
--region us-east-1
--query 'Volumes[*].VolumeId'

2. The required volume ID(s) should appear in the command output:


3. Run the describe-volumes command (OSX/Linux/UNIX) with the identifier parameter set to the ID of the Amazon EBS volume you wish to investigate to explain the present condition of the chosen EBS volume:

 aws ec2 describe-volumes
--region us-east-1
--volume-ids vol-0abcd1234abcd1234
--query 'Volumes[*].State'


4. The given EBS volume’s state should be displayed in the command output:


5. The specified Amazon EBS volume is deemed to be unused and can be deleted from your AWS account if the output of the describe-volumes command returns “available,” as it does in the example above.

6. For each Amazon EBS volume accessible in the chosen AWS region, repeat steps 3 and 4 again.

7. By changing the value of the —region command parameter, you can modify the AWS cloud region. Then, repeat the Audit procedure for additional regions.

Remediation / Resolution

  1. Login to your nOps portal.


  2. Navigate to the cost tab under nOps Rules.


   3. Click on Resource details next to that AWS EBS volume that you want to delete then hit View resource on AWS Console( make sure login you are logged in to your AWS account in the same browser. 



4. Now select your volume to delete and then click on the action button and then select the delete option.

And then confirm the deletion in the popup box.

Now it’s time to remove unused AWS EBS volumes. Let’s get started.

  1. Firstly, Open the AWS amazon console and Login in to Your AWS account.


  2. In the services, Tab finds Volume service and opens.


  3. you open the Volume service then you can see your all created volumes.


  4. Now select your volume to delete and then click on the action button and then select the delete option.

And then confirm the deletion in the popup box.

Still Need Help?

Come see why we are the #1 cloud management platform and why companies like Uber, Dickey’s BBQ Pit and Norwegian Cruise Line trust nOps to manage their cloud.