Here's another version, that pre-dates the official docs (when they announced that Amazon Linux 2 was now possible to install on your own metal, it wasn't exactly well-documented.)
The Amazon docs probably cover the same stuff now.
https://superuser.com/questions/1048091/can-i-install-ec2-am...