Delete Unattached & Unused EBS Volumes in AWS - Nops
Delete Unattached & Unused EBS Volumes in AWS - Nops
Get your free Cloud Cost Optimization Assessment at AWS re:Invent. Visit us at the nOps booth Learn More
Solutions
(https://www.nops.io/aws-
(#M2B) reinvent/)
Pricing
Resources
(https://www.nops.io/)
Company
Docs
Contact
Getting Started
Schedule Demo
An Amazon Elastic Block Store (EBS) volume is distinct from the lifecycle of its associated Amazon Elastic
Compute Cloud (EC2) instance. EBS volumes are attached to EC2 Instances as storage devices. By default,
unless you select the “Delete on Termination” option during instance launch, terminating the EC2 instance
will only detach the EBS volume, not delete it. In dynamic development and testing environments where EC2
instances are frequently launched and terminated, this can result in an accumulation of idle EBS volumes.
These unused volumes incur charges in your AWS account, even when they’re not in use. To improve cost
efficiency, it’s essential to eliminate these unused volumes. Additionally, deleting inactive EBS volumes is a
crucial security measure to prevent unauthorized access to any sensitive data that might be stored on them.
Rule EBS- 001 checks whether there are unused EBS Volumes in your AWS account. This rule can help you
with the following as well:
Audit
Carry out the following steps to find out if there are any unused EBS volumes in your cloud environment:
https://www.nops.io/unused-aws-ebs-volumes/ 1/6
29/11/2023, 20:00 Delete Unattached & Unused EBS Volumes in AWS | nOps
2. A JSON Object containing configuration data for each detected unused EBS volume should be
returned as output:
Solutions
{
"Volumes": [
Pricing
{
"Attachments": [], Resources
"AvailabilityZone": "us-east-1d",
Company
(https://www.nops.io/)
"CreateTime": "2019-12-02T12:01:41.088000+00:00",
Docs
"Encrypted": false,
"Size": 8,
Contact
"SnapshotId": "snap-09328b730a42039c6",
**"State": "available",**
"VolumeId": "vol-0b810c6c7e4a334cb",
"Iops": 100,
"Tags": [
Getting Started
{
"Key": "Name",
Schedule Demo
"Value": "Ashish_ZF1"
}
],
"VolumeType": "gp2",
"MultiAttachEnabled": false
},
{
"Attachments": [],
"AvailabilityZone": "us-east-1d",
"CreateTime": "2019-12-13T04:20:57.505000+00:00",
"Encrypted": false,
"Size": 50,
"SnapshotId": "snap-0415d8298c7099b66",
**"State": "available",**
"VolumeId": "vol-06d24eb6b77f09e70",
"Iops": 150,
"VolumeType": "gp2",
"MultiAttachEnabled": false
},
...
{
"Attachments": [],
"AvailabilityZone": "us-east-1d",
"CreateTime": "2020-02-07T08:29:07.029000+00:00",
"Encrypted": false,
"Size": 80,
"SnapshotId": "snap-0415d8298c7099b66",
**"State": "available",**
"VolumeId": "vol-012e179cf459c730e",
"Iops": 240,
"VolumeType": "gp2",
"MultiAttachEnabled": false
}
]
Remediation
Using AWS Console 1. Sign in to the AWS Management Console to access the EC2
dashboard via https://console.aws.amazon.com/ec2/.
2. Navigate to the left panel and click the Volumes under the Elastic Block Store section. (Similarly
to what we did in the Audit section).
a. Select the Actions button and choose the Create Snapshot option:
https://www.nops.io/unused-aws-ebs-volumes/ 2/6
29/11/2023, 20:00 Delete Unattached & Unused EBS Volumes in AWS | nOps
Solutions
Pricing
Resources
(https://www.nops.io/)
Company
Docs
b. Fill in the description in the resulting box and click Create
Contact
Getting Started
Schedule Demo
6. To delete the unused volume, click the Actions button again and choose the Delete Volume
option:
How Can nOps Help With Identifying And Deleting Unused EBS
Volumes?
nOps maximizes cost savings on auto-pilot, with seamless one-click integration with your cloud services. We
achieve this with zero engineering effort and complete reliability. With regard to different standards and
guidelines, nOps Rules have been curated by drawing insights from sources like compliance controls, the
https://www.nops.io/unused-aws-ebs-volumes/ 3/6
29/11/2023, 20:00 Delete Unattached & Unused EBS Volumes in AWS | nOps
well-architected framework, and customer feedback to assess AWS Workloads. The platform ensures
Solutions
alignment with key areas: Security, Cost, Reliability, Performance, and Operations, making it easier to spot
deviations or issues.
Pricing
Resources
(https://www.nops.io/)
Company
Docs
Contact
Getting Started
Schedule Demo
The “Unused EBS Volumes Rule” is a valuable feature by nOps. It helps identify volumes that currently reside
in an unattached or available state and also monitors stopped EBS volumes. With various useful filters, nOps
allows you to focus on specific aspects such as by account or region. Additionally, you can take action by
downloading a complete list of EBS Volumes in CSV format, facilitating thorough analysis and seamless
collaboration with your team via Jira.
With each EBS Volume, the Resource Detail button offers granular details such as region, resource ID, cost
implications, IOPS, size metrics, associated snapshots, tags, and more. This level of granularity allows you
to make more data-based informed decisions. With nOps Rules, you can easily spot unused EBS Volumes to
save costs and improve efficiency in your AWS workload.
Let us help you save! Sign up (https://app.nops.io/accounts/signup_user/) for nOps or Book a demo call
(https://www.nops.io/get-started/) today.
(https://www.nops.io/)
An AI-powered FinOps platform helping customers reduce their AWS costs by up to 50% on auto-pilot.
https://www.nops.io/unused-aws-ebs-volumes/ 4/6
29/11/2023, 20:00 Delete Unattached & Unused EBS Volumes in AWS | nOps
Solutions
Pricing
SOLUTIONS
Resources
Inform
(https://www.nops.io/)
Company
Business Contexts(https://www.nops.io/business-contexts-overview/) Docs
Optimize Contact
Commitment Management(https://www.nops.io/commitment-management/)
Getting Started
Compute Copilot(https://www.nops.io/compute-copilot/) Schedule Demo
nSwitch(https://www.nops.io/sharesave-scheduler-overview/)
(h
Essentials(https://www.nops.io/essentials/)
tt
Operate
p
s:
AWS Cloud Migration(https://www.nops.io/aws-cloud-migration-tool/) //
w
w.w
AWS Well-Architected Review(https://www.nops.io/devops/aws-well-architected/)
RESOURCES
in
Blog
st
a
Case Studies
gr
ma
Webcasts & Podcasts
Help Center
/a p
c s:
(h oc
AWS Knowledge Base
//t
Glossary of Terms
tt (h u wi
p tt nt tt
s: p s/ (htt er.c
FAQ
COMPANY
// s: lo
About Us w // gi s:p m
o
Career
w.w ww n/? w// /n
o
li w. n
Press Release
n y e w.w p
k o xt
e ut = fac o/si
di u ht st
n.c e.b tps be at
© 2023 nOps. All Rights Reserved.
u
Terms & Conditions(https://www.nops.io/terms-of-service/) Privacy Policy(https://www.nops.io/privacy-policy/) Cookie Policy(https://www.nops.io/cookie-policy)
o s/
o c %
m o 3 k.o 61
1
/c m A c
o / %
m @ 2 mo 6
5
pa On %F /n 5
n p 2 po 2
05
y/ s F s.
n Cl w
o o w io/) 9
2
s/p d)u w.in 5
1
) st 5
a 110
gr
a 4
m 0)
.co
m
%
2
F
https://www.nops.io/unused-aws-ebs-volumes/
n 5/6
29/11/2023, 20:00
n
Delete Unattached & Unused EBS Volumes in AWS | nOps
ps
y
s
c
o
%
F)2
https://www.nops.io/unused-aws-ebs-volumes/ 6/6