1 Answer
- Newest
- Most votes
- Most comments
0
Hi Max,
If a snapshot is created but VM Export hangs for a long time, it might be either because the AMI has a marketplace product code. i. e. You can check if the AMI or the original AMI if this is made from an EC2 instance is obtained from AWS Marketplace as a 3rd party product, or because the volume(s) in the AMI is an encrypted one.
The VM Export official documentation [1] says:
- You can't export an image if it contains third-party software provided by AWS. For example, VM Export cannot export Windows or SQL Server images, or any image created from an image in the AWS Marketplace.
- You can't export an image with encrypted EBS snapshots in the block device mapping.
Please refer to the documentation for other constraints and conditions for VM Export.
References
[1] Exporting a VM directly from an Amazon Machine Image (AMI) - https://docs.aws.amazon.com/vm-import/latest/userguide/vmexport_image.html
answered 2 years ago
Relevant content
- asked 2 years ago
- asked 5 years ago
- asked 3 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 8 months ago

Hi Sidney,
The image has two EBS volumes, neither of them encrypted. I don't think it's coming from a third-party AMI either, although I don't know how I can check that.
I have tried to create an instance from the AMI, but it is not possible due to the error status of one of the snapshots, so I suspect that the problem is the same when trying to export it.
Anyway it's a very old AMI and probably doesn't have any relevant data, I just wanted to export it just in case.
Thanks for your answer.