NotExportable error. Can't export an EC2 instance as OVA image.

0

It looks like multiple users are facing the same issue from a couple of days ago. https://github.com/aws/aws-sdk/issues/203 As part of our automated release process, the OVA image will be exported at the end. The automation worked well until a couple of days ago. We are seeing the below error.

An error occurred (NotExportable) when calling the CreateInstanceExportTask operation: The snapshot ID (xxx) of the instance neither is owned by current user nor had been previously imported through VMIE.

Here is the command which I used.

aws ec2 create-instance-export-task --instance-id xxx --target-environment vmware - -export-to-s3-task DiskImageFormat=vmdk,ContainerFormat=ova,S3Bucket=xxx,S3Prefix=xxx

Here is my environment

aws-cli/1.21.6 Python/3.8.10 Linux/5.10.16.3-microsoft-standard-WSL2 botocore/1.21.42
已提問 2 年前檢視次數 499 次
1 個回答
0

Hello,

Thank you for reaching out to re:Post. I understand that you are having an error while you are having a problem exporting an EC2 instance as an OVA image.

From my investigation, your error is specific to the CLI command create-instance-export-task. This issue has been escalated and has been fixed in March 17, 2022.

Please contact if you have any further questions, and feel free to reach out to us via a support case to facilitate a discussion on the specifics of your resources.

AWS
已回答 2 年前
AWS
支援工程師
已審閱 2 年前

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

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

回答問題指南