- 最新
- 投票最多
- 评论最多
Hi,
Accoridng to your question, I understand that you are having trouble with deleting EBS snapshot which is created by AMI.
Straight to the point, the reason of your issue is that you have disabled AMI in advance of deregisteration.
Therefore you could not remove AMI with the message below:
"Failed to delete snapshot. It is currently in use"
[Cause]
- Disabled AMI before deregister
[Result]
- Cannot delete AMI (Message: "Failed to delete snapshot. It is currently in use")
[Solution]
In order to remove the snapshot, please follow the steps below:
-
You can find your disabled images by following steps:
- [EC2] > [AMI] > "Disabled images" select
-
Select the AMI to deregister, and select [Actions] > "Enable AMI"
-
Select [EC2] > [AMI] > "Owned by me", and select [Actions] > "Deregister AMI"
-
After the steps above, you can finally delete the snapshot.
If I have missed anything or answered wrong, please feel free to ask me again. Also you have any questions, comment please!
[+] Why do I get the error "The snapshot is currently in use by an AMI" when I try to delete my EBS snapshot? (re:Post Knowledge Center)(ENG)
In order to delete an AMI, firstly you must deregister the AMI, and after that, delete the snapshot.
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/deregister-ami.html#clean-up-ebs-ami
Hello,
I request you to please review the below article -
Thank you.
相关内容
- AWS 官方已更新 1 年前
- AWS 官方已更新 7 个月前
- AWS 官方已更新 1 年前
I have deleted the AMI before deregister, now how can i delete snapshot