Amazon Elastic Compute Cloud
API Reference (API Version 2016-09-15)


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. For more information, see Importing a Virtual Machine Using the Amazon EC2 CLI.

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

Request Parameters

The following parameters are for this specific action. For more information about required and optional parameters that are common to all actions, see Common Query Parameters.


A description for the instance being imported.

Type: String

Required: No


The disk image.

Type: array of DiskImage objects

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 object

Required: No


The instance operating system.

Type: String

Valid Values: Windows

Required: Yes

Response Elements

The following elements are returned by the service.


Information about the conversion task.

Type: ConversionTask object


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="">