Help requested booting AArch64 AWS EC2 NixOS instance

I am trying to boot an aarch64 instance in AWS, but I am failing. I’ve tried both aarch64 AMIs for 20.03 and 20.09.

When I do this, SSH is never reachable via the public ip that is allocated.

This is the script: deploy.sh · GitHub

Does the same script wok with a non-NixOS AMI?

No. I was missing several pieces of what it takes to manually boot an ec2 vm. I’ve now corrected those mistakes. this is my latest iteration: deploy.sh · GitHub

And the NixOS AMI works… this topic can be ignored now.