Amazon Elastic Compute Cloud
API Reference (API Version 2015-10-01)


Creates an import instance task using metadata from the specified disk image. ImportInstance only supports single-volume VMs. To import multi-volume VMs, use ImportImage. After importing the image, you then upload it using the ec2-import-volume command in the EC2 command line tools. For more information, see Using the Command Line Tools to Import Your Virtual Machine to Amazon EC2 in the Amazon Elastic Compute Cloud User Guide.

For information about the import manifest referenced by this API action, see VM Import Manifest.

Request Parameters

For information about the common parameters that all actions use, see Common Query Parameters.


A description for the instance being imported.

Type: String

Required: No


The disk image.

Type: DiskImage list

Required: No


Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Type: Boolean

Required: No


The launch specification.

Type: ImportInstanceLaunchSpecification

Required: No


The instance operating system.

Type: String

Valid Values: Windows

Required: Yes

Response Elements

The following elements are returned.


Information about the conversion task.

Type: ConversionTask


The ID of the request.

Type: String


For information about the errors that are common to all actions, see Common Client Errors.



This example creates an import instance task that migrates a Windows Server 2008 SP2 (32-bit) VM into the AWS us-east-1 region.

Sample Request

Sample Response

<ImportInstanceResponse xmlns="">