aws ec2 import-image failed -> ClientError: We were unable to read your import's initramfs/initrd to determine what drivers your import requires to run in EC2

0

I created Ubuntu 22.04 live server on my ESXI.
Then I've exported to OVF + vmdk.
I've uploaded these 2 files into my S3 bucket.
Then used aws app to import this image into my AMI so I could launch a new VM based on that image. This is my json for import-image:

[
  {
    "Description": "My vmdk",
    "Format": "vmdk",
    "Url": "s3://my-bucket/path/to/vm.vmdk"
  }
]

But aws ec2 import-image failed. I could see the error using aws ec2 describe-import-image-tasks:

"Status": "deleted",
"StatusMessage": "ClientError: We were unable to read your import's initramfs/initrd to determine what drivers your import requires to run in EC2.",

Now, as I said, my image is based on Ubuntu 22.04 live-server.
Here I saw it might not be supported yet.
But on the other hand, there's an image of Ubuntu 22.04 in EC2.

Questions:

  • According to my brief process - did I do anything wrong? Can I somehow prepare the image so the "initramfs/initrd" would be fine?
  • Is Ubuntu 22.04 supported or not? If not, when will it be?
  • Can I somehow import my image in another way that will pass that error? My base image is an .iso
답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인