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.

Answer from Danila Vershinin on serverfault.com
Discussions

Amazon Linux 2 Users - Plan Your Conversion to RHEL Before June 2026 End-of-Support
Why convert to an old RHEL and upgrade, just install fresh recent OS (rhel or whatver distro you pick) More on reddit.com
🌐 r/redhat
10
15
May 8, 2026
Amazon Linux 2 End of Life Migration
As amazon linux 2 is reaching EOL in June of 2025 I would like to migrate 100+ ec2 instances running Amazon Linux 2 to RHEL. How would you best suggest approaching this problem? More on repost.aws
🌐 repost.aws
2
0
July 30, 2024
Amazon Linux AMI 2018.03.0 or Amazon Linux 2 AMI
I find myself referring to Michael Wittig's blog post on Migrating to Amazon Linux 2 quite often. He briefly talks about: long term support SysVinit (the old) vs. systemd (the new) journald and the changes to the log files starting and stopping services the lack of EPEL and Amazon's replacement some agents and services were renamed, potentially breaking scripts ruby, netcat (nc) and cnf-init don't work out of the box there are no NAT and ECS optimized Amazon Linux 2 images. In general, I feel... if you have a relatively short development cycle and you need to set up your website (or whatever) soon, stick with Amazon Linux 1 aka 2018.03.0 and successive patches. if you have the time to experiment, look for solutions and potentially write your own, start using Amazon Linux 2. As u/cr125rider implies elsewhere in this thread, the switch to systemd (and IMHO, journald) is huge and at the very least will require you to retrain your muscle memory and the way you think about approaching problems. I.e., type X instead of Y. We're using both in my shop and quite frankly, I don't see much of a difference (yet) but speaking from experience, I know it's really painful skipping multiple versions when upgrading the OS. If you ever have to apply security patches to an application and those patches are only available for the most recent OS, you're in for a long weekend either upgrading to each version in succession, or rebuilding the whole instance. To recap: immediate need? Use Amazon Linux 1. Just playing around? Use 2. More on reddit.com
🌐 r/aws
19
31
August 15, 2018
Amazon Linux 2 EOL - AppStream Elastic Fleet Linux Support
AppStream 2.0 first launched support for Amazon Linux 2 in November 2021. Since then, AppStream 2.0 capabilities have been enhanced by introducing support for two newer Linux distributions: Red Hat Enterprise Linux (RHEL) 8 [1], launched in July 2024, and Rocky Linux 8 from CIQ [2], launched ... More on repost.aws
🌐 repost.aws
2
0
April 28, 2025
🌐
G2
g2.com › compare › amazon-linux-2-vs-red-hat-enterprise-linux
Compare Amazon Linux 2 vs. Red Hat Enterprise Linux | G2
Users report that both products have their strengths, but Red Hat's higher G2 Score indicates a more favorable overall experience. While Amazon Linux 2 is praised for its ease of use, Red Hat's extensive features and enterprise focus make it ...
Address   100 S Wacker DrSTE 600, 60606, Chicago
🌐
Dedoimedo
dedoimedo.com › computers › amazon-linux-2.html
Amazon Linux 2 - Who nicked my cheese?
Most companies already have many years of legacy of applications and infrastructure build on top of RHEL and SLES, and changing will not be easy or immediate. Or even possible. But Amazon Linux 2 is based on RHEL, so that should help some, plus it's the native system for the AWS environment, ...
🌐
Linux Hint
linuxhint.com › amazon-linux-vs-rhel
Linux Hint – Linux Hint
Linux Hint LLC, [email protected] 1210 Kelly Park Circle, Morgan Hill, CA 95037 Privacy Policy and Terms of Use
🌐
Hacker News
news.ycombinator.com › item
As a happy user of AWS Linux 2, it is extremely disappointing that they're no lo... | Hacker News
November 28, 2021 - We've been very vocal to AWS product managers and solution architects about our needs for an Amazon Linux 3 that is a refresh over AWS Linux 2 (at least 5 years support with RHEL 8 compatibility, free kernel patching w/o reboots, official support from datadog, vmware images).
🌐
Quora
quora.com › What-are-the-benefits-of-using-RHEL-over-Amazon-Linux-or-Centos-in-EC2
What are the benefits of using RHEL over Amazon Linux or Centos in EC2? - Quora
Answer (1 of 2): Certain commercial software is not supported on EC2 Amazon Linux or CentOS. Even the installation might fail since it checks the OS version, which might be easy to overcome by forking the install script. But it’s still not supported, so if you open support case they’ll ...
Find elsewhere
🌐
DEV Community
dev.to › aws-builders › whats-different-about-amazon-linux-2022-ilb
What's different about Amazon Linux 2022? - DEV Community
June 29, 2023 - If you're already running Amazon Linux 2 or a similar Fedora-based built, including CentOS, once it's released to GA, AL2022 may be a worthwhile solution for several years. ... RPM packaging nerd. Works on EPEL, Fedora, and CentOS. Texas forever. ... AL has never been built off CentOS. AL1 was mostly built from RHEL6 source code, with RHEL7 and Fedora backports.
🌐
Reddit
reddit.com › r/redhat › amazon linux 2 users - plan your conversion to rhel before june 2026 end-of-support
r/redhat on Reddit: Amazon Linux 2 Users - Plan Your Conversion to RHEL Before June 2026 End-of-Support
May 8, 2026 -

Amazon Linux 2 (AL2) is reaching its end of support on June 30, 2026. To make sure your systems stay secure and up-to-date, you'll need to start planning a migration.

The Convert2RHEL utility now lets you convert AL2 directly to RHEL 7. Note that the conversion from AL2 to RHEL 7 is unsupported, meaning Red Hat does not provide support during the process, but the resulting RHEL 7 system is eligible for support afterward.

Once you're on RHEL 7, you have two choices for ongoing support:

  • Stay on RHEL 7: RHEL 7 transitioned to Extended Life Cycle Support (ELS) on June 30, 2024. To keep receiving security updates, you must use a subscription that includes the ELS Add-on such as the Red Hat Enterprise Linux for Third Party Linux Migration with ELS AWS Pay-As-You-Go subscription, which provides updates until May 31, 2029.

  • Upgrade to a newer RHEL version: You can perform an in-place upgrade to RHEL 8 or later using Leapp. You can use a standard RHEL subscription or one of the no-cost options, such as the Red Hat Developer Subscription for Individuals, Red Hat Developer Subscription for Teams, Red Hat Enterprise Linux for Open Source Infrastructure, or Red Hat Enterprise Linux for Business Developers.

Read more about the conversion at How to perform an unsupported conversion from a RHEL-derived Linux distribution to RHEL.

🌐
Mondoo
mondoo.com › home › blog › amazon linux 2023: a comprehensive overview of new features and updates
Amazon Linux 2023: A Comprehensive Overview of New Features and Updates
March 22, 2023 - While Amazon Linux 2 was based on Red Hat Enterprise Linux (RHEL) 7, each major release of Amazon Linux 2023 will use a combination of Fedora Linux and CentOS Stream. Amazon will then replace specific packages from other upstream sources as needed.
🌐
SourceForge
sourceforge.net › software › compare › Amazon-Linux-2-vs-Red-Hat-Enterprise-Linux
Amazon Linux 2 vs. Red Hat Enterprise Linux Comparison
Compare Amazon Linux 2 vs. Red Hat Enterprise Linux using this comparison chart. Compare price, features, and reviews of the software side-by-side to make the best choice for your business.
🌐
Julian Dunn's Blog
juliandunn.net › home › what’s in amazon linux & why might you use it?
What's In Amazon Linux & Why Might You Use It? - Julian Dunn's Blog
January 5, 2018 - Just before Christmas, Amazon announced the release of Amazon Linux 2. In addition to the usual userland modernization (switching to systemd, providing a newer glibc ABI) and the Linux 4.9 kernel, you can now run it on premise; images are provided for VMware, Hyper-V and KVM. Sometime in 2018, Amazon will also start providing long-term support for Amazon Linux, similar to RedHat Enterprise Linux (RHEL), by promising to support ABI compatibility for at least five years.
🌐
ComputingForGeeks
computingforgeeks.com › home › comparison › centos 8 vs amazon linux 2 – feature comparison
CentOS 8 vs Amazon Linux 2 - Feature Comparison | ComputingForGeeks
June 14, 2020 - On the other hand, Since March 2004, CentOS Linux has been a community-supported distribution derived from sources freely provided to the public by Red Hat. As such, CentOS Linux aims to be functionally compatible with RHEL. Amazon Linux 2 and CentOS 8 share a common origin but were created with different visions in the mind of the developers.
🌐
Amazon Web Services
aws.amazon.com › compute › amazon linux 2 › faqs
Amazon Linux 2 FAQs
3 weeks ago - In addition to Amazon Machine Images (AMI) and container image formats, Amazon Linux 2 is available as a virtual machine image for on-premises development and testing, enabling you to easily develop, test, and certify your applications right from your local development environment.
🌐
Reddit
reddit.com › r/aws › amazon linux ami 2018.03.0 or amazon linux 2 ami
r/aws on Reddit: Amazon Linux AMI 2018.03.0 or Amazon Linux 2 AMI
August 15, 2018 -

Reddit's decision to charge for API access has shown that the company is more interested in making money than in providing a good user experience. The changes will force many popular third-party apps to shut down, which will inconvenience millions of users. Reddit's actions have also alienated many of its moderators, who rely on third-party apps to manage their communities.

Top answer
1 of 5
19
I find myself referring to Michael Wittig's blog post on Migrating to Amazon Linux 2 quite often. He briefly talks about: long term support SysVinit (the old) vs. systemd (the new) journald and the changes to the log files starting and stopping services the lack of EPEL and Amazon's replacement some agents and services were renamed, potentially breaking scripts ruby, netcat (nc) and cnf-init don't work out of the box there are no NAT and ECS optimized Amazon Linux 2 images. In general, I feel... if you have a relatively short development cycle and you need to set up your website (or whatever) soon, stick with Amazon Linux 1 aka 2018.03.0 and successive patches. if you have the time to experiment, look for solutions and potentially write your own, start using Amazon Linux 2. As u/cr125rider implies elsewhere in this thread, the switch to systemd (and IMHO, journald) is huge and at the very least will require you to retrain your muscle memory and the way you think about approaching problems. I.e., type X instead of Y. We're using both in my shop and quite frankly, I don't see much of a difference (yet) but speaking from experience, I know it's really painful skipping multiple versions when upgrading the OS. If you ever have to apply security patches to an application and those patches are only available for the most recent OS, you're in for a long weekend either upgrading to each version in succession, or rebuilding the whole instance. To recap: immediate need? Use Amazon Linux 1. Just playing around? Use 2.
2 of 5
11
Amazon Linux 2 is based off centos 7.3.1 it has systemd. Amazon Linux is based on the centos 6 series
🌐
Red Hat
redhat.com › en › technologies › linux-platforms › enterprise-linux › why-choose-red-hat-enterprise-linux-on-aws
Why choose Red Hat Enterprise Linux on AWS?
December 16, 2024 - Red Hat Enterprise Linux variants: Optimized to run on servers or high-performance workstations, supporting a range of hardware architectures and hyperscalers. ... Amazon Web Services® (AWS) is a cloud provider for organizations that want to respond to rapid change and scale reliably in the cloud.
🌐
AWS re:Post
repost.aws › questions › QUPmRsatsHTGi0PaEeDb3gwg › amazon-linux-2-eol-appstream-elastic-fleet-linux-support
Amazon Linux 2 EOL - AppStream Elastic Fleet Linux Support | AWS re:Post
April 28, 2025 - Since then, AppStream 2.0 capabilities have been enhanced by introducing support for two newer Linux distributions: Red Hat Enterprise Linux (RHEL) 8 [1], launched in July 2024, and Rocky Linux 8 from CIQ [2], launched in December 2024.