Skip to content

My EBS Volume is Stuck in Deleting State

0

Hi ,

I was testing the Lamda function to delete the snapshot ,which was success but after that when i try to remove the EBS Volume Created it is stuck in deleting state ,and currently there are no Instances or Snapshot for this Volume. and I am in a Free tier plan

Enter image description here

Enter image description here

asked 9 months ago145 views
1 Answer
0

When an EBS volume gets stuck in the "deleting" state, there are several potential causes and solutions to try:

First, check if the volume is still attached to any resources. Even though you mentioned there are no instances or snapshots for this volume, it's possible that the volume might still have an association with a terminated instance or another AWS service.

Here are some steps you can take to resolve this issue:

  1. Wait a bit longer - sometimes AWS resources can take time to fully delete, especially if there are background processes running.

  2. Check if the volume is still attached to any resources by using the AWS CLI or console to describe the volume and look for any attachments or associations.

  3. Try to force detach the volume if it shows as attached:

aws ec2 detach-volume --volume-id your-volume-id
  1. Then try to delete the volume again:
aws ec2 delete-volume --volume-id your-volume-id
  1. If the volume is showing an association with an ECS task or other service that no longer exists, you might need to detach it from that association first.

If these steps don't resolve the issue and the volume remains stuck in the "deleting" state for more than 24 hours, you should contact AWS Support for assistance. They can help clean up stuck resources that you're unable to delete through normal means.

Regarding your Free Tier plan, once the volume is successfully deleted, you will no longer incur charges for it. However, while it's in the "deleting" state, it may still be considered an active resource and could potentially count against your Free Tier limits.
Sources
Had ECS task with EBS volume stuck in deprovisioning. Was able to "kill" the ECS task, but EBS volume & ENI won't shut down | AWS re:Post
Cannot terminate EBS-backed instance? | AWS re:Post
Need to delete EBS volume attached to terminated instance i-08cc37115f6c7332d | AWS re:Post

answered 9 months ago
  • IT is done after deleting lamda does function can also make it stuck in deleting state

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.