Clearing Elastic Block Store Volumes

I don't recall this happening in the past, but it seems that each time an EC2 instance is being spun up, it is creating a EBS volume that is not being automatically deleted. This is taking up a lot of space, and has started to become an issue now that we can have 5 EC2 instances running at the same time and are often shutting these down and starting them up.

How can I make this volumes clear automatically when the instance is shut down?


Here is a screenshot showing what I am talking about.

image2015-5-11 10:21:56.png

1 answer

1 accepted

1 vote
Accepted answer

Are these custom EBS AMIs? Did you tick off the "delete on termination" checkbox when creating them?

Ah! That was it. I had not noticed that. Another team member had unchecked that on our latest custom AMI which had been left checked prior. Thanks.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Statuspage

Introducing Statuspage Getting Started guides! First up: What is Statuspage?

Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...

206 views 4 1
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you