- Newest
- Most votes
- Most comments
If you're having trouble terminating EBS volumes after deleting your EC2 instance, there are a few things to consider:
-
Terminated instances may remain visible in the management console for approximately one hour after termination. This is normal behavior and doesn't mean you're still being charged for the instance.
-
EBS volumes that were attached to a terminated instance should automatically be deleted if the "Delete on Termination" flag was set when the instance was launched. However, if this flag wasn't set, the volumes will remain even after instance termination.
To delete these remaining volumes:
-
First, ensure the volumes are in the "available" state. You can check this in the EC2 console on the Volumes page.
-
If a volume is in the "in-use" state, it means it's still attached to an instance. You'll need to detach it first before you can delete it.
-
Once a volume is in the "available" state, you can delete it through the EC2 console or using AWS CLI commands.
-
If a volume is stuck in a "deleting" state, you may need to wait a bit longer or contact AWS support if the issue persists.
Regarding refunds for charges incurred due to difficulty in deleting resources, AWS typically doesn't provide refunds for used services. However, if you believe there was a technical issue preventing you from deleting resources in a timely manner, you can contact AWS support to explain your situation. They may be able to assist you or consider your case for a potential refund, although this is not guaranteed.
To prevent similar issues in the future, always ensure you set the "Delete on Termination" flag for EBS volumes if you want them to be automatically deleted when the instance is terminated. Also, regularly review your AWS resources to ensure you're not keeping any unused volumes or instances running.
Sources
Instance won't terminate, volume won't delete | AWS re:Post
Delete an Amazon EBS volume - Amazon EBS
Relevant content
asked 3 years ago
asked 3 years ago
