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