Elixir on Amazon Linux2 on AWS

I would look at the AWS guide for Distillery.