Ce contenu n'est pas disponible dans la langue sélectionnée
Nous nous efforçons constamment de rendre le contenu disponible dans la langue sélectionnée. Merci pour votre patience.
How do I troubleshoot the “Not authorized for image” error when I try to delete an Amazon EBS snapshot in Amazon EC2?
Lecture de 1 minute(s)
0
When I delete an Amazon Elastic Block Store (Amazon EBS) snapshot in my Amazon Elastic Compute Cloud (Amazon EC2) instance, I get the following error: “Failed to deregister the AMI ami-xxxxx. API error: "Not authorized for image:ami- xxxxx""
Resolution
The error message is received when you try to delete an EBS snapshot that is created by an Amazon Machine Image (AMI). When a snapshot is linked to an AMI, the AMI must be deregistered before the snapshot can be deleted.
To delete an EBS snapshot that's linked to an AMI, complete the following steps: