I want to import an instance from my local virtualization environment into an Amazon Elastic Compute Cloud (Amazon EC2) instance, or export an Amazon EC2 instance to my local environment.
There are two options you can use to import a virtual machine (VM) into your Amazon EC2 instance:
- AWS Server Migration Service (SMS)
- AWS VM Import/Export tools
AWS Server Migration Service (SMS)
The AWS Server Migration Service (SMS) is a dedicated and agentless service, which makes it easier and faster for you to migrate thousands of on-premises workloads to AWS. For more information, see AWS Server Migration Service or AWS Server Migration Service – Server Migration to the Cloud Made Easy.
For an overview on how to move a common WordPress blog that is running on a virtualized platform to AWS, see How to Migrate Multi-Tier Environments Using the AWS Server Migration Service.
AWS VM Import/Export tools
You can use the AWS VM Import/Export tools to import virtual machine (VM) images from your local environment into AWS and then convert them into ready-to-use Amazon EC2 instances. You can then export those VM images back to your local environment. VM Import/Export is compatible with Citrix XenServer, Microsoft Hyper-V, or VMware vSphere virtualization environments.
- Before you begin, be sure that you understand the prerequisites, requirements, and restrictions for instance migration.
- For an overview of the import/export process, see What Is VM Import/Export?
- If you use VMware vSphere, you can use the AWS Connector for vCenter to export a VM from VMware, and then import it into Amazon EC2. For more information, see Migrating Your Virtual Machine to Amazon EC2 Using AWS Connector for vCenter.
If you have problems, see Troubleshooting VM Import/Export.