By using AWS re:Post, you agree to the Terms of Use

Questions tagged with Amazon Machine Images (AMI)

Sort by most recent
  • 1
  • 12 / page

Browse through the questions and answers listed below or filter and sort to narrow down your results.

Is it possible to import a Debian armhf (32 bit ARM) QEMU VM and run it on a t4g.small Graviton instance

I followed the instructions to upload a 4.6GB Debian 11.3 armhf disk image to an S3 bucket and then import the image from the S3 bucket. I ran the following command: ``` aws ec2 import-image --description "Debian 11.3 armhf" --disk-containers file://$PWD/containers.json ``` containers.json ``` [ { "Description": "debianhf-aws", "Format": "raw", "UserBucket": { "S3Bucket": "debianabcdefg", "S3Key": "abcdefg/debianhf-aws.img" } } ] ``` I then checked status with this: ``` aws ec2 describe-import-image-tasks --import-task-ids import-ami-abcdefg ``` And get the following error: ``` IMPORTIMAGETASKS Debian 11.3 armhf import-ami-abcdefg deleted ClientError: Unsupported kernel version 5.10.0-16-armmp-lpae SNAPSHOTDETAILS debianhf-aws /dev/sde 4939212800.0 RAW completed USERBUCKET debianabcdefg abcdefg/debianhf-aws.img ``` I looked at the name of the kernel used on an arm64 t4g.small instance I started, and I see the following two packages: - linux-image-5.10.0-14-cloud-arm64 - linux-image-cloud-arm64 I looked to see if there's an equivalent "cloud-armmp-lpae" image, but so far nothing comes up. I was wondering if there happens to be a kernel I could locate that would allow me to boot directly into an armhf Debian VM instead of only arm64. It is possible to emulate armhf using QEMU on an arm64 VM, but this nested virtualization is too slow without KVM support and isn't reliable for what I'm trying to do. I want to quickly build and test Selenium container images for x86_64, arm64, and armhf platforms. Because of the prevalence of x86_64 and even arm64 instances, it takes less than 5 minutes to build and test these container images, but when emulation is involved, it takes 10 times longer (50+ minutes) to build the container images, and testing is impossible since the browsers crash under emulation. Does anyone know of a suitable 32 bit ARM kernel (not arm64/aarch64 but actual 32 bit arm) that can be used with EC2? I prefer Debian/Ubuntu, but I can use other distros if it gets the job done.
2
answers
0
votes
62
views
asked a month ago

ClientError: ENA must be supported with uefi boot-mode

I am trying to run a Windows 10 Home VM in EC2. The plan is to run it in EC2 for about two days, our partner will access it through RDP and then transfer it back to VirtualBox. I prepared the image in VirtualBox, then exported .ova file, uploaded it to S3 and tried to convert it to AMI with following command as described [here](https://docs.aws.amazon.com/vm-import/latest/userguide/what-is-vmimport.html). ``` $ aws ec2 import-image --description "Windows 10 VM" --platform Windows --disk-containers "file://foo/containers.json" --boot-mode uefi --license-type BYOL --architecture x86_64 ``` But I get following error after the import process reaches progress 27%: ``` $ aws ec2 describe-import-image-tasks --import-task-ids fooID { "ImportImageTasks": [ { "Architecture": "x86_64", "Description": "Windows 10 VM", "ImportTaskId": "fooID", "LicenseType": "BYOL", "Platform": "Windows", "SnapshotDetails": [ { "DeviceName": "/dev/sda1", "DiskImageSize": 8298251264.0, "Format": "VMDK", "Status": "completed", "Url": "s3://foo/Windows-10.ova", "UserBucket": { "S3Bucket": "foo", "S3Key": "Windows-10.ova" } } ], "Status": "deleted", "StatusMessage": "ClientError: ENA must be supported with uefi boot-mode", "Tags": [], "BootMode": "uefi" } ] } ``` I have done these steps: 1. [Installed ENA driver](https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/enhanced-networking-ena.html#ena-adapter-driver-versions) (Didn't help) 2. [Installed AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html) (Didn't help) What should I do? I know for sure that the VM boots using UEFI in VBox. Should I convert it to BIOS boot? Is there anything I need to install or what? Google returns only [this thread](https://repost.aws/questions/QUqKQIF1cdQrq6h3hb8yJYiw/does-aws-support-windows-11-ec-2-instances) which is unanswered and they are talking about instance types. So I asked my own question.
1
answers
0
votes
85
views
asked 2 months ago
  • 1
  • 12 / page