我想要將 Amazon Elastic Compute Cloud (Amazon EC2) 執行個體的 Amazon Machine Image (AMI) 匯出為虛擬機器。
**注意:**如果您在執行 AWS Command Line Interface (AWS CLI) 命令時收到錯誤訊息,請參閱對 AWS CLI 錯誤進行疑難排解。此外,請確定您使用的是最新的 AWS CLI 版本。
先決條件:
若要匯出執行個體的 AMI,請完成下列步驟:
aws ec2 describe-export-image-tasks --export-image-task-ids export-example-ami-id
{ "ExportImageTasks": [ { "ExportImageTaskId": "export-ami-1234567890abcdef0", "Progress": "21", "S3ExportLocation": { "S3Bucket": "my-export-bucket", "S3Prefix": "exports/" }, "Status": "active", "StatusMessage": "updating" } ] }
Export a VM from an Amazon Machine Image (AMI) using VM Import/Export (使用 VM Import/Export,從 Amazon Machine Image (AMI) 匯出虛擬機器)
Amazon EC2 中的 Amazon Machine Image
對 VM Import/Export 進行疑難排解
Eric
已提問 2 年前
li
已提問 3 年前
rePost-User-0790855
PEautodesign
Jimi Hung
Donnie LI
已發佈 2 年前