ec2 import-image fails with "ClientError: Unknown OS / Missing OS files"

0

Hi,

I am trying to get images that I run in VMWare Workstation Pro, to be running in EC2... Steps taken:

  • Export from VMWare Workstation as OVF
  • Used ovftool to pack files into one OVA file locally
  • Uploaded OVA to S3, setup roles and policies as documented
  • run "aws ec2 import-image" with the folling config file:

Enter image description here

This results in an error shown by "aws ec2 describe-import-image-tasks":

     "Status": "deleted",
     "StatusMessage": "ClientError: Unknown OS / Missing OS files.",
     "Tags": []

Any idea what is missing here?

The image is:

  • Debian 11
  • not encrypted
profile picture
已提问 1 年前324 查看次数
1 回答
0

You want to make sure you meet the requirements in the AWS VM Import/Export document. Based on information provided Debian 11 is supported just make sure the kernel is the same.

Additional if this fails it might be better to import just the VMDK file method instead of OVA. You can find it in Example 2 on this Import VMDK file.

profile pictureAWS
专家
Elvis_P
已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则