1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
There are several limitations for export image that can result in an error. These are documented here: https://docs.aws.amazon.com/vm-import/latest/userguide/vmexport_image.html#limits-image-export
The one that applies in this case is "You can't export an image from Amazon EC2 if you've shared it from another AWS account". If you're using the standard Amazon Linux 2 AMI, that exists in another account, managed by AWS. You should be able to copy the AMI into your own account, then export it using that AMI ID, as long as none of the other limitations apply.
répondu il y a 2 ans
Contenus pertinents
- demandé il y a 7 mois
- demandé il y a un an
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 3 ans
That was it indeed! The documentation didn't make it obvious that "shared from another AWS account" also applied to public Amazon-published AMIs, and the "InvalidParameter" "image ID does not exist" is a misleading error code IMHO. But thank you for clarifying: I'm able to export the copied AMI after waiting a while for the copied AMI to become "Available" from "Pending," which BTW took a while even after the contained snapshot was copied over successfully.