Link to home
Start Free TrialLog in
Avatar of Carletto
CarlettoFlag for Italy

asked on

Exportrt Amazon EC2 instances to VMware Vsphere

hi to All of you,
we have several EC2 instances on Amazon (both Linux and Windows)  and we would like to create a disaster recovery plan that in case of failure or management request, we can export a previously saved image to our on premises Vsphere 5.5 infrastructure .
I see that the VM Import/export tool from Amazon works only if the VM was previously imported into amazon http://aws.amazon.com/ec2/vm-import/ 
Is it correct? do you know a valid software or service that can help us ?

Thank you
Carlettus
ASKER CERTIFIED SOLUTION
Avatar of Aaron Tomosky
Aaron Tomosky
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
The EC2 export tool does not require that the instance be imported first. Here are links to the developer guide and command reference.
http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ExportingEC2Instances.html
http://docs.aws.amazon.com/AWSEC2/latest/CommandLineReference/ApiReference-cmd-CreateInstanceExportTask.html

Do read carefully all the setup instructions, especially about S3 permissions.
Avatar of Carletto

ASKER

hello Shalomc,
I read the documentation but when I use the export command I get the following.
The setup went fine and the S3 buket was configured with grant Upload/Delete and View Permissions access to the vm-import-export@amazon.com account

Where am I doing wrong ?
thank you
Carlettus

Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.

G:\>ec2-create-instance-export-task i-d34f0991 -e vmware -f vmdk -c ova -b backupzipbiov
Client.NotExportable: Only imported instances can be exported.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I'm testing the VMware converter with the windows servers ... I will let you know by tomorrow.
bye
Carlettus