1 Answer
- Newest
- Most votes
- Most comments
3
Please follow the VMExport process https://docs.aws.amazon.com/vm-import/latest/userguide/vmexport.html or export an AMI https://docs.aws.amazon.com/vm-import/latest/userguide/vmexport_image.html
Relevant content
- asked 6 months ago
- asked 8 months ago
- asked 3 years ago
- AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
I have already tried a few times, in my opinion it's not written clearly and missing information.
I recommend asking clarifying questions where you are confused and run into issues.
I have an EBS snapshot of the ec2 machine. I don't know if it can work with it?
aws ec2 export-image --image-id snap-0f54423ccc74de06b --disk-image-format VHD --s3-export-location S3Bucket=my-export-bucket,S3Prefix=exports/
An error occurred (InvalidParameter) when calling the ExportImage operation: The image ID (snap-0f54423ccc74de06b) provided is invalid. Please make sure the ID is correct.
aws ec2 export-image --image-id ami-0129baa76e4eaa35a --disk-image-format VHD --s3-export-location S3Bucket=myexportbucket12
An error occurred (InvalidParameter) when calling the ExportImage operation: The service role vmimport provided does not exist or does not have sufficient permissions.
I am playing with the settings for hours, this system is so hard to work with. I can't know the exact problem, So I have to repeat all the complicated permission settings over and over again.