Solved

Exportrt Amazon EC2 instances to VMware Vsphere

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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Microservice architecture adoption brings many advantages, but can add intricacy. Selecting the right orchestration tool is most important for business specific needs.
Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

911 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

22 Experts available now in Live!

Get 1:1 Help Now