Search code examples
amazon-web-servicesamazon-ec2

How to delete/clear storage space on EBS usage after deleting AWS EC2 instances, terminating and deleting Volumes?


I deleted 2 instances and the volumes that were attached. The EC2 dashboard still shows that I only have 14.56 GB remaining of the 30 GB free trial. There's nothing active nor in use. I have tried in the cloudshell terminal sudo apt autoremove and sudo apt clean but the terminal gave the following error message sudo: apt: command not found.

AWS Dashboard

I've tried searching online but have not found any resolutions.


Solution

  • The AWS Free Tier provides 30GB of storage for one month. That's a grand saving of $2.40 per month, so it's not worth much panic.

    The 30GB can be used as:

    • One 30GB volume for an entire month, or
    • Two 30GB volumes for half a month, or
    • Any combination of GB and time that totals to 30 GB-months

    In your case, you have consumed about half of the 30 GB-month of free storage, so you still have 14.56 GB-month of storage you can use this month to stay within the Free Tier. If you exceed this amount then you will be charged the standard rates for Amazon EBS ($0.08/GB-month depending on your region).

    If you have deleted your EC2 instances and EBS volumes, then there would be no charge for EBS storage since you have remained in the Free Tier.

    The console is also saying that you have used 100% of EBS Snapshots, so if you want to avoid extra charges then you should delete any EBS Snapshots you have created.