3 Answers
- Newest
- Most votes
- Most comments
0
Once the instance is marked as "Terminated" in AWS Console, go back to the view of the Volumes and refresh it. it doesn't update dynamically so sometimes the view that is presented is not quite current.
If the volume still can't be deleted then are you able to run these AWS CLI commands to verify the status of the EC2 instance and the EBS volume?
aws ec2 describe-instance-status --instance-id i-0ed45ee57f8c9b68c
aws ec2 describe-volumes --volume-ids vol-0f05b57efdd510e9f
0
Root volumes cannot be detached from an instance -- only additional volumes can be detached.
To delete a volume after terminating the instance, follow these steps.
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-deleting-volume.html
0
Hi IBehr Thanks for the reply Yes after some volume was showing available and was able to delete the volume
answered 10 months ago
Relevant content
- asked 5 years ago
- asked 4 years ago
- asked 2 years ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 8 months ago
Hi iBehr Thanks for the reply But delete is grayedout Unable to delete also
Are you sure that the instance is terminated and not just stopped?
Validate whether the Volume is marked as "In Use" in the Volume State columns of the Volumes section of the console.
If this answer solved your issue, please be sure to mark the answer as accepted. Thanks!
"Root volumes cannot be detached from an instance" - this is incorrect, the root volume can be detached from an instance that is in the "Stopped" state.