Solved

Exportrt Amazon EC2 instances to VMware Vsphere

Posted on 2014-10-13
5
1,114 Views
Last Modified: 2016-10-27
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
0
Comment
Question by:carlettus
  • 2
  • 2
5 Comments
 
LVL 39

Accepted Solution

by:
Aaron Tomosky earned 350 total points
ID: 40379049
At this point it looks like you need to either use vmware converter or A 3rd party backup tool like Acronis. I don't know if something like veeam cloud edition will work both ways or only to the cloud.
0
 
LVL 33

Expert Comment

by:shalomc
ID: 40379480
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.
0
 

Author Comment

by:carlettus
ID: 40381509
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.
0
 
LVL 33

Assisted Solution

by:shalomc
shalomc earned 150 total points
ID: 40382118
Sorry, I missed the fact that you want to export windows servers :(  
There is a restriction on Windows, probably due to licensing issues.
When you run a windows server on EC2, you pay a premium fee that goes to cover licensing. When you export same server to run on your ESX - you suddenly gain an unlicensed server.

I would go  with Aaron's suggestion: mount a new EBS large enough to hold the image, use vmware converter to create vmdk onto the new EBS, and dump it to S3.
0
 

Author Comment

by:carlettus
ID: 40382258
I'm testing the VMware converter with the windows servers ... I will let you know by tomorrow.
bye
Carlettus
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A new Acronis survey shows people often have conflicting thoughts about data protection.
Ransomware is a growing menace to anyone using a computer or mobile device. Here are answers to some common questions about this vicious new form of malware.
This Micro Tutorial will explain how to export DynamoDB tables in Amazon Web Services.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question