Skip to content
12.2.2012 / Ville

Converting VMWare virtual machine to an Amazon EC2 instance

One day we were wondering, whether one could use the Amazon EC2 cloud to host a VMWare virtual machine. VMWare is in extensive use in our day-to-day work, but it has certain caveats as in order to really dynamically scale with your needs, you need quite a lot of hardware available. Which is expensive and / or cumbersome to have around.

Amazon EC2 is cost-effective way to overcome the need for keeping your own hw lying below your desks, but it has it’s own AMIs (Amazon Machine Images) instead of VMWare images.

VM Import enables you to easily import virtual machine images from your existing environment to Amazon EC2 instances.

A-ha, with some googling, it seems like Amazon provides tools to do just what we want (VM Import). Seems like I need to study those command line tools provided by Amazon, to get things going.

Setting up…

  1. Download tools from Amazon :
  2. Check prereqs (JAVA basically):
  3. Setup:

Ok… doing the setup:

$ export EC2_HOME=/opt/ec2-api-tools-
$ export PATH=$PATH:$EC2_HOME/bin
$ export EC2_URL=


One Comment

Leave a Comment
  1. sajuptpm / Jun 22 2013 21:46

    I have created a video to show how to import VMware VM to Amazon EC2

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: