Solved

Exportrt Amazon EC2 instances to VMware Vsphere

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

Suggested Solutions

Title # Comments Views Activity
Where is the Retention Tab? 4 96
Tape Management 8 86
Grant administer privileges to another admin user 9 46
Backup domain controller with Backup exec 2010 5 44
Steve Terp was featured in a video created by CRN about how "Channel Is Crucial To Market Disruption". Click on View source to see the video and article
Most of the applications these days are on Cloud. Cloud is ubiquitous with many service providers in the market. Since it has many benefits such as cost reduction, software updates, remote access, disaster recovery and much more.
This tutorial will walk an individual through the process of installing of Data Protection Manager on a server running Windows Server 2012 R2, including the prerequisites. Microsoft .Net 3.5 is required. To install this feature, go to Server Manager…
Both in life and business – not all partnerships are created equal. Spend 30 short minutes with us to learn:   • Key questions to ask when considering a partnership to accelerate your business into the cloud • Pitfalls and mistakes other partners…

773 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