Menu
Amazon Elastic Compute Cloud
User Guide for Linux Instances

Step 1: Install the Amazon EC2 CLI

You need to install the Amazon EC2 CLI to import your Citrix, Microsoft Hyper-V, or VMware vSphere virtual machines into Amazon EC2 or to export them from Amazon EC2. If you haven't already installed the Amazon EC2 CLI, see Setting Up the Amazon EC2 Tools.

You'll use the following Amazon EC2 commands to import or export a VM.

CommandDescription

ec2-import-instance

Creates a new import instance task using metadata from the specified disk image and imports the instance to Amazon EC2.

ec2-import-volume

Creates a new import volume task using metadata from the specified disk image and imports the volume to Amazon EC2.

ec2-resume-import

Resumes the upload of a disk image associated with an import instance or import volume task ID.

ec2-describe-conversion-tasks

Lists and describes your import tasks.

ec2-cancel-conversion-task

Cancels an active import task. The task can be the import of an instance or volume.

ec2-delete-disk-image

Deletes a partially or fully uploaded disk image for import from an Amazon S3 bucket.

ec2-create-image-export-task

Exports a running or stopped instance to an Amazon S3 bucket.

ec2-cancel-export-task

Cancels an active export task.

ec2-describe-export-tasks

Lists and describes your export tasks, including the most recent canceled and completed tasks.

For information about these commands and other Amazon EC2 commands, see the Amazon EC2 Command Line Reference.