VM Import
VM Import enables you to easily import virtual machine images from your existing environment to Amazon EC2 instances. This offering allows you to leverage your existing investments in the virtual machines that you have built to meet your IT security, configuration management, and compliance requirements by seamlessly bringing those virtual machines into Amazon EC2 as ready-to-use instances. VM Import is available at no additional charge beyond standard usage charges for Amazon EC2 and Amazon S3.
To access VM Import:
To import your images, use the Amazon EC2 API tools, or if you use the VMware vSphere virtualization platform, the Amazon EC2 VM Import Connector to target a virtual machine (VM) image in your existing environment. You then specify which Availability Zone and instance type you want to run in Amazon EC2, and VM Import will automatically transfer the image file and create your instance. Once you have imported your VMs, you can take advantage of Amazon’s elasticity, scalability and monitoring via offerings like Auto Scaling, Elastic Load Balancing and CloudWatch to support your imported images. Your instance will be up and running in Amazon EC2 in as little time as it takes to upload your image.*
The VM Import process currently supports VMware ESX VMDK images, Citrix Xen VHD images and Microsoft Hyper-V VHD images for Microsoft Windows Server 2003 (R2) and 2008 (R1 & R2). We plan to support import for additional operating systems, versions and virtualization infrastructure products in the future.
*The time required for VM Import is dependent upon your network connection speed and the size of the virtual machine image being uploaded.
Using the VM Import Tools
VM Import offers two ways to import your virtual machine into Amazon EC2.
The first method is to import your VM image using the Amazon EC2 API tools. To get started, simply:
- Download the VM Import Command Line Tools from Amazon EC2 API tools.
- Import the VMDK, VHD or RAW file via the ec2-import-instance API. The import instance task captures the parameters necessary to properly configure the Amazon EC2 instance properties (instance size, availability zone, and security groups) and uploads the disk image into Amazon S3.
- If ec2-import-instance is interrupted or terminates without completing the upload, use ec2-resume-import to resume the upload. The import task will resume where it left off.
- Use the ec2-describe-conversion-tasks command to monitor the import progress and obtain the resulting Amazon EC2 instance ID.
- Once your import task is completed, you can boot the Amazon EC2 instance by specifying its instance ID to the ec2-run-instances API.
- Finally, use the ec2-delete-disk-image command line tool to delete your disk image from Amazon S3.
Alternatively, if you use the VMware vSphere virtualization platform, you can use the Amazon EC2 VM Import Connector for VMware vCenter, which provides you a simple graphical user interface to import your virtual machines. To get started with the Connector:
- Download the Amazon EC2 VM Import Connector for VMware vCenter
- Install the Connector vApp on your vCenter Server. The Connector will appear as a new tab in the VMware vSphere client.
- Using your VMware vSphere Client, select the virtual machine you’d like to import to Amazon EC2
- On the Import to EC2 tab, select the Region, Availability Zone, operating system, instance size, security group, and VPC details (if desired) into which the virtual machine should be imported and initiate the import process.
- Launch the Amazon EC2 instance when the import process has completed.
Common Uses for VM Import
Easily Import Your Data Center VM Applications to Amazon EC2
The VM Import process enables you to import your existing VM images from your environment to Amazon EC2 and immediately begin running your imported applications in the cloud. Leverage AWS’s Auto Scaling, Elastic Load Balancing, and CloudWatch monitoring to scale and monitor the newly imported applications.
Create a Disaster Recovery Repository for your VM images
Import your on-premise VM images to Amazon EC2 for backup and disaster recovery contingencies. Store the imported images as Elastic Block Store-backed AMIs so they’re ready to launch in Amazon EC2 when you need them. You only pay for Elastic Block Store charges until you decide to launch the instances. Once launched, you pay normal Amazon EC2 service charges for your running instances.
Projecting Costs
The VM Import process is enabled by Amazon EC2 and is available at no additional charge, aside from normal Amazon EC2 service fees. Amazon S3 storage is utilized during the import process and is billed separately.
As an example, importing a 10 GB VMware image of Windows Server 2008 would amount to $0.05 for 1 day of S3 storage ($0.14 per GB/month x 10 GB / 30 days.)
In addition, EBS charges equal to $0.10 per GB-month will apply for the EBS volume containing the EBS-backed instance.
Resources
Additional Product Information
Related Services