启动导出映像任务 - VM Import/Export
Amazon Web Services 文档中描述的 Amazon Web Services 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅 中国的 Amazon Web Services 服务入门 (PDF)

本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。

启动导出映像任务

若要导出映像,请使用 export-image 命令。导出的文件使用以下 S3 密钥写入到指定的 S3 存储桶:prefixexport-ami-id.格式(例如:amzn-s3-demo-export-bucket/exports/export-ami-1234567890abcdef0.vmdk)。

aws ec2 export-image --image-id ami-id --disk-image-format VMDK --s3-export-location S3Bucket=amzn-s3-demo-export-bucket,S3Prefix=exports/