I am looking for support to delete a snapshot

0

Currently i am using AWS free tire accounts and where I had created an AMI for Auto scaling practices. after completing my practices i have deleted .Instances, AMI ID, and auto scaling group, but unable to delete Snapshot when i am going to delete the snapshot showing the error like ""*Failed to delete snapshot Couse it is currently use. where it is use .

Please help me to delete the snapshot

I am available e to reach out Md Riad Mahmud XXXXXXXXXXX XXXXXXXXXXXXXX@gmail.com

*Edit: Removed customer phone number and email — Randi S.

Md Riad
demandé il y a 7 mois403 vues
3 réponses
4

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:

  1. You can find your disabled images by following steps:

    • [EC2] > [AMI] > "Disabled images" select
    • Disabled images
  2. Select the AMI to deregister, and select [Actions] > "Enable AMI"

  3. Select [EC2] > [AMI] > "Owned by me", and select [Actions] > "Deregister AMI"

  4. 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)

profile picture
répondu il y a 7 mois
profile pictureAWS
EXPERT
vérifié il y a 4 mois
1

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

répondu il y a 7 mois
profile pictureAWS
EXPERT
vérifié il y a 4 mois
profile pictureAWS
EXPERT
vérifié il y a 7 mois
  • I have deleted the AMI before deregister, now how can i delete snapshot

0
profile pictureAWS
EXPERT
répondu il y a 5 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions