Cannot undo AMI from AWS, "An error occurred trying to unregister amis." Does anyone know the reason and provide a solution?

I am trying to clear my snapshots and AMI from my AWS account in order to delete snapshots, I understand that I need to unregister AMI. But when I try to de-register through the console, I get the following error. "An error occurred trying to unregister amis"

Anyone have an idea about this issue?

+5
source share
2 answers

I had the same problem (and I saw it posted on AWS forums too). The problem is that the console does not update after you unregistered AMI. Thus, they are re-registered for the first time, but they are still listed as if they were. If you try to unregister them again, this will not work and will give a warning (since they have already been unregistered).

. Solution: after clicking "deregistration", click the "update" button in the upper right corner of the console (at the same level as the "Actions" drop down)

+14
source

I had the same problem, but even after receiving this error message, AMI were canceled. Then I managed to delete the pictures.

You can have success through eb cli. I found this tutorial from AWS ( http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/deregister-ami.html )

0
source

Source: https://habr.com/ru/post/1261307/


All Articles