Import a disk as an EBS snapshot using VM Import/Export
VM Import/Export enables you to import your disks as Amazon EBS snapshots. After the snapshot is created, you can create an EBS volume from the snapshot, and then attach the volume to an EC2 instance.
An imported snapshot has an arbitrary volume ID that should not be used for any purpose.
Prerequisites for importing a snapshot
-
The following disk formats are supported: Virtual Hard Disk (VHD/VHDX), ESX Virtual Machine Disk (VMDK), and raw.
-
You must first upload your disks to Amazon S3.
-
If you have not already installed the AWS CLI on the computer you'll use to run the import commands, see the AWS Command Line Interface User Guide.
Tip
In supported AWS Regions, you can also use AWS CloudShell for a browser-based, pre-authenticated shell that launches directly from the AWS Management Console.
Start an import snapshot task
You can specify the URL of the S3 bucket that contains the disk image or provide the S3 bucket name and key.