Solved

Exportrt Amazon EC2 instances to VMware Vsphere

Posted on 2014-10-13
5
1,055 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 38

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 32

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 32

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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

Even if you have implemented a Mobile Device Management solution company wide, it is a good idea to make sure you are taking into account all of the major risks to your electronic protected health information (ePHI).
Companies keep a much closer eye on costs today, so changing to new Technology – Microsoft Office 365 is the smartest move to take.
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…

708 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now