It would be nice to support UEFI images as well as BIOS ones. Because from what I understand the firmware type is baked into the AMI, and it's impossible to pick it manually or change it after the instance is created.
Currently, to run a UEFI NixOS EC2 instance, I have to first install Amazon Linux (the only AMI I could find that is UEFI), disable monitoring and allow SSH access, then use nixos-anywhere to install NixOS and reboot into it.
It would be nice to support UEFI images as well as BIOS ones. Because from what I understand the firmware type is baked into the AMI, and it's impossible to pick it manually or change it after the instance is created.
Currently, to run a UEFI NixOS EC2 instance, I have to first install Amazon Linux (the only AMI I could find that is UEFI), disable monitoring and allow SSH access, then use nixos-anywhere to install NixOS and reboot into it.
Great news. Amazon now has
t3as the default free tier instance instead oft2which means the free tier now supports UEFI. We will be dropping BIOS support. I'll pick this up for 26.05Source: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-free-tier-usage.html