Importing the vSZ Image
Follow these steps to import the vSZ image into
AWS shared AMI.
- Create a JSON file called import.json using the following
commands. Replace the bucket name with the storage bucket name that you created. In
this
example, the vSZ image file name is
vscg-3.4.0.0.750.ova. - Run the following command to attach the policy to the role created.
# aws ec2 import-image --cli-input-json file://import.json - The system displays the below response.
- Check the status of the import vSZ image by running the following command. Ensure
to
enter the correct import task identifier.
# aws ec2 describe-import-image-tasks --import-task-ids "import-ami-ffgof9w1" - You will see the following converting status response. Check the status until the
converting is complete. The estimated time for conversion is 30 minutes.
{ "ImportImageTasks": [ { "Status": "active", "Description": "vSZ test", "Progress": "28", "SnapshotDetails": [ { "UserBucket": { "S3Bucket": "<bucket-name>", "S3Key": "vscg-3.4.0.0.750.ova" }, "DiskImageSize": 964430848.0, "Format": "VMDK" } ], "StatusMessage": "converting", "ImportTaskId": "import-ami-ffgof9w1" } ] }