If you have invested in virtualization to meet IT security, compliance, or configuration management requirements and are now looking at the cloud as the next step toward the future, I've got some good news for you.
VM Import lets you bring existing VMware images (VMDK files) to Amazon EC2. You can import "system disks" containing bootable operating system images as well as data disks that are not meant to be booted.
This new feature opens the door to a number of migration and disaster recovery scenarios. For example, you could use VM Import to migrate from your on-premises data center to Amazon EC2.
You can start importing 32 and 64 bit Windows Server 2008 SP2 images right now (we support the Standard, Enterprise, and Datacenter editions). We are working to add support for other versions of Windows including Windows Server 2003 and Windows Server 2008 R2. We are also working on support for several Linux distributions including CentOS, RHEL, and SUSE. You can even import images into the Amazon Virtual Private Cloud (VPC).
The import process can be initiated using the VM Import APIs or the command line tools. You'll want to spend some time preparing the image before you upload it. For example, you need to make sure that you've enabled remote desktop access and disabled any anti-virus or intrusion detection systems that are installed (you can enable them again after you are up and running in the cloud). Other image-based security rules should also be double-checked for applicability.
The ec2-import-instance command is used to start the import process for a system disk. You specify the name of the disk image along with the desired Amazon EC2 instance type and parameters (security group, availability zone, VPC, and so forth) and the name of an Amazon S3 bucket. The command will provide you with a task ID for use in the succeed steps of the import process.
The ec2-upload-disk-image command uploads the disk image associated with the given task ID. You'll get upload statistics as the bits make the journey into the cloud. The command will break the upload into multiple parts for efficiency and will automatically retry any failed uploads.
The next step in the import process takes place within the cloud; the time it takes will depend on the size of the uploaded image. You can use the ec2-describe-conversion-tasks command to monitor the progress of this step.
When the upload and subsequent conversion is complete you will have a lovely, gift-wrapped EBS-backed EC2 instance in the "stopped" state. You can then use the ec2-delete-disk-image command to clean up.
The ec2-import-volume command is used to import a data disk, in conjunction with ec2-upload-disk-image. The result of this upload process is an Amazon EBS volume that can be attached to any running EC2 instance in the same Availability Zone.
There's no charge for the conversion process. Upload bandwidth, S3 storage, EBS storage, and Amazon EC2 time (to run the imported image) are all charged at the usual rates. When you import and run a Windows server you will pay the standard AWS prices for Windows instances.
As is often the case with AWS, we have a long roadmap for this feature. For example, we plan to add support for additional operating systems and virtualization formats along with a plugin for VMware's vSphere console (if you would like to help us test the plugin prior to release, please let us know at ec2-vm-import-plugin-preview@amazon.com). We'll use your feedback to help us to shape and prioritize our roadmap, so keep those cards and letters coming.
-- Jeff;


Do you know how long the conversion task usualy takes for a 5gb instance? Mine is still displaying the status active when I run the ec2-describe-conversion-tasks command.
Posted by: D_Roch | December 16, 2010 at 05:30 AM
Are there any plans to offer VM Export (converting an AMI back to a VMware image) as well?
Posted by: Mikem2005 | December 16, 2010 at 09:00 AM
What is the timeline for importing Windows 2003 instances?
Posted by: Allison Aiello | December 16, 2010 at 03:11 PM
This is a very important feature that will do even more to cement AWS leadership in cloud computing. By the way, we LOVE the new UI in the Management Console - EXCELLENT! Gets better and better all the time. Good job!
Posted by: Randy | December 18, 2010 at 09:01 AM
I've been waiting for this, thank you Amazon.
Posted by: Aryan Nava | December 22, 2010 at 07:01 AM
I have read that AWS now supports exporting the VMs back out of AWS? Is this correct?
Posted by: Niall | December 24, 2010 at 08:35 AM
Any plans to support VBox or KVM?
Posted by: Mkschueler | December 25, 2010 at 02:03 PM
I would also like to know the answer to Allison's question, what is the timeline for importing Windows 2003 instances?
This will be very beneficial to me as this is a great option for supporting a large number legacy virtual machines within my enterprise.
Posted by: Matthew | May 03, 2011 at 08:59 AM
Would be very nice to confirm or deny that exporting is an option for AWS's EC2 Servers.
Posted by: Mgifford | November 14, 2011 at 10:04 PM
Will it work with Linux VM yet (Redhat/CentOS/Ubutu/SuSe)?
I find the information is not clearly indicated which VM Operating System is support now. When you say "We are also working on support for several Linux distributions including CentOS, RHEL, and SUSE" This mean the tool is not yet supported, correct?
Thanks.
Posted by: AT | January 19, 2012 at 11:50 PM
Hello, When I upload a linux vmdk file to EC2, but not succeed. error information:
No windows directory found.
I don't why the system hit this error, I have upload a linux system not windows.
# ./ec2-describe-conversion-tasks import-i-ffla7ooi
TaskType IMPORTINSTANCE TaskId import-i-ffla7ooi ExpirationTime 2012-05-13T00:48:27+00:00 Status cancelled StatusMessage ClientError: No windows directory found. InstanceID i-0deb2e6b
DISKIMAGE DiskImageFormat VMDK DiskImageSize 28725760 VolumeId vol-8c2a78e3 VolumeSize 1 AvailabilityZone us-east-1d ApproximateBytesConverted 28725584 Status completed
Posted by: Jack | May 05, 2012 at 11:54 PM