1 Answer
- Newest
- Most votes
- Most comments
0
Hi THere
You mentioned that you converted the file format to raw. What do you mean by that? What environment are you exporting your VM from? Can you try one of the other formats listed here? https://docs.aws.amazon.com/vm-import/latest/userguide/vmimport-image-import.html#export-vm-image
Relevant content
- asked 3 years ago
- Accepted Answerasked a year ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 3 months ago
I used following command to create raw image : "qemu-img convert -O raw input_image.qcow2 output_image.raw". I think currently its a permission problem I am just not able to issue aws ec2 import-snapshot command due to some permission/role issues. The vmimport policy i added doesn't seem to work. Appreciate your prompt reply. Thanks much.
The disk is in raw format. It is supported as mentioned in the docs: When importing a VM as an image, you can import disks in the following formats: Open Virtualization Archive (OVA), Virtual Machine Disk (VMDK), Virtual Hard Disk (VHD/VHDX), and raw