Importing a VM as an instance using VM Import/Export - VM Import/Export

Importing a VM as an instance using VM Import/Export

Important

We strongly recommend that you import VMs as Amazon Machine Images (AMI) instead of instances. For more information, see Importing a VM as an image using VM Import/Export.

You can use VM Import/Export to import virtual machine (VM) images from your virtualization environment to Amazon EC2 as instances. Subsequently, you can export the VM images from the instance back to your virtualization environment. This enables you to leverage your investments in the VMs that you have built to meet your IT security, configuration management, and compliance requirements by bringing them into Amazon EC2.

Limitations

  • The AWS Command Line Interface (AWS CLI) does not support importing a VM as an instance, so you must use the deprecated Amazon EC2 Command Line Interface (Amazon EC2 CLI).

  • You cannot import a Windows instance that uses the bring your own license (BYOL) model as an instance. Instead, you must import the VM as an AMI.

  • VM Import/Export supports importing Windows instances into most instance types. Linux instances can be imported into the following instance types:

    • General purpose: t2.micro | t2.small | t2.medium | m3.medium | m3.large | m3.xlarge | m3.2xlarge

    • Compute optimized: c3.large | c3.xlarge | c3.2xlarge | c3.4xlarge | c3.8xlarge | cc1.4xlarge | cc2.8xlarge

    • Memory optimized: r3.large | r3.xlarge | r3.2xlarge | r3.4xlarge | r3.8xlarge | cr1.8xlarge

    • Storage optimized: i2.xlarge | i2.2xlarge | i2.4xlarge | i2.8xlarge | hi1.4xlarge | hi1.8xlarge

  • The ImportInstance and ImportVolume API actions are supported only in the following Regions and will not be supported in any additional Regions.

    • North America: us-east-1 | us-west-1 | us-west-2 | us-east-2 | ca-central-1 | us-gov-west-1

    • South America: sa-east-1

    • Europe/Middle East/Africa: eu-west-1 | eu-central-1

    • Asia Pacific: ap-southeast-1 | ap-northeast-1 | ap-southeast-2 | ap-northeast-2 | ap-south-1 | cn-north-1

To import your VM to Amazon EC2 as an instance using the legacy Amazon EC2 CLI

You must export the VM from your virtualization environment and then import it to Amazon EC2 using the Amazon EC2 CLI, which is deprecated. Because the Amazon EC2 CLI is deprecated, the Amazon EC2 Command Line Reference, which describes its use, is not maintained. However, there is a legacy PDF version of this guide stored in Amazon S3. To view the directions for importing a VM as an instance in the legacy PDF version of the Amazon EC2 Command Line Reference, see Importing a VM to Amazon EC2.