Iam trying to export vm and the error is The image ID (ami-0000000000) provided contains AWS-licensed software and is not exportable.

0

Iam trying to export vm

my code is aws ec2 create-instance-export-task --instance-id i-***************** --target-environment vmware --export-to-s3-task file://C:\file.json

file.json code is

{ "ContainerFormat": "ova", "DiskImageFormat": "VMDK", "S3Bucket": "export-bucket-20211", "S3Prefix": "vms/" }

the Error is

An error occurred (NotExportable) when calling the CreateInstanceExportTask operation: The image ID (ami-***************) provided contains AWS-licensed software and is not exportable.

已提問 1 年前檢視次數 832 次
1 個回答
0

It looks like you are trying to export an instance which was created from image in AWS Marketplace. The other option is that your EC2 instance may contain third-party software provided by AWS. For example, VM Export cannot export Windows or SQL Server instances. Please check this document for more details - https://docs.aws.amazon.com/vm-import/latest/userguide/vmexport.html#vmexport-limits

已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南