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.
$ 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:
- Installed ENA driver (Didn't help)
- Installed AWS CLI (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 which is unanswered and they are talking about instance types. So I asked my own question.
As per the docs here, it's not currently supported I'm afraid -
Currently, we do not support importing Windows with UEFI Secure Boot by using the import-image command.
If you change the boot mode to legacy BIOS prior to importing this should work.
That's dissabpointing. I'll try GCloud before converting it to BIOS.
Relevant questions
EC2 instance inaccessible after RDP change
asked 2 years agocreate clone of ec2 instance in two AZ
asked 3 months agoCan't download to my EC2 windows instance through Internet Explorer
asked 9 months agoClientError: ENA must be supported with uefi boot-mode
Accepted Answerasked 14 days agoWhy can I not RDP into my Windows EC2
asked 7 months agoIf we provision an EC2 windows Instance, will it includes the windows license by default? what are the licensing types available from AWS
Accepted Answerasked 3 months agoRun Command Missing from EC2 Console
Accepted Answerasked 2 years agoWe need to point two domains to the same EC2. It is not working.
asked 12 days agoUsing cloud init to configure an Amazon Linux 2 on-premise VM
asked 3 months agoHow to use EventBridge with Systems Manager Run Command to run shell commands?
Accepted Answerasked 5 months ago
As expected - the AWS CLI installation didn't help. So what next? I've edited the question.