I want to create AMI instance on EC2, where my data sitting on the AWS S3 in VHD/VMDK format. Could you please help me in how to convert VHD/VMDK to AMI through amazon SDK APIS, and how to transfer data from AWS S3 to AMI through amazon SDK API's
Asked
Active
Viewed 2,461 times
1 Answers
1
You should use AWS VM Import/Export. You can find the steps (via CLI) in here and the API is ImportImage.

sudo
- 2,237
- 1
- 9
- 14
-
Thank you sudo for information, can you please clarify another thing that if we have data on the amazon S3 in the slice format that includes boot information and actual data, not in the form of VHD/VMDK format, how can create AMI from that data in S3 – vagdevi pedalenka Dec 07 '17 at 09:29
-
@vagdevipedalenka I'm afraid I don't follow the question. I believe that you can only import the image formats which are mentioned in: http://docs.aws.amazon.com/vm-import/latest/userguide/vmie_prereqs.html#vmimport-image-formats – sudo Dec 07 '17 at 18:59