What Linux distribution is the Amazon Linux AMI based on?

Instead of guessing which version of RHEL a particular distro is based off, just run:

rpm -E %{rhel}

For Amazon Linux 2, this will give you 7.

Leave a Comment