Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions,
see Getting Started with Amazon Web Services in China
(PDF).
Monitor an export image task
After you start an image export using VM Import/Export, you can monitor the export operation.
- Amazon CLI
-
To monitor an export image task
Use the describe-export-image-tasks command.
aws ec2 describe-export-image-tasks \
--export-image-task-ids export-ami-1234567890abcdef0
The following is an example response. The status shown is active
, which
means that the export task is in progress. The image is ready to use when the status is
completed
.
{
"ExportImageTasks": [
{
"ExportImageTaskId": "export-ami-1234567890abcdef0",
"Progress": "21",
"S3ExportLocation": {
"S3Bucket": "amzn-s3-demo-export-bucket",
"S3Prefix": "exports/"
},
"Status": "active",
"StatusMessage": "updating"
}
]
}