SUE has been migrating, automating, and managing Linux environments since 1997.
Choosing a Linux distribution: the complete guide
For mission-critical servers, you typically choose between Red Hat Enterprise Linux, SUSE Linux Enterprise Server, Ubuntu LTS, or a free RHEL-compatible distribution such as Rocky Linux or AlmaLinux. The deciding factors are primarily: which distribution your software vendors certify, how much support you need, how much licensing costs, and what your team is already familiar with. Anyone still running CentOS 7 will no longer receive updates as of 30 June 2024, and must migrate.
Table of contents
The essentials at a glance
-
Base your decision on your software. The distribution that your vendors certify is the most important factor. → Section 2
-
Support or no license fees. RHEL and SLES offer vendor support; Rocky Linux and AlmaLinux are free and RHEL-compatible. → Section 3
-
CentOS 7 will no longer receive updates as of 30 June 2024. Choose a migration path and combine it with automation. → Section 5
-
Standardize. One primary distribution, at most one secondary, and everything set up with automation. → Section 6
1. Why the choice matters
2. Selection criteria
Start with the certification of your core applications. If your ERP or SAP vendor does not support a particular distribution, it’s out of the running—no matter how good it is otherwise.
Next, weigh these criteria
-
Certification: Which distributions do the vendors of your core software—such as ERP, databases, SAP, and line-of-business applications—support?
-
Lifetime: How long does a major version receive security updates?
-
Support: Do you need 24/7 vendor support, or is community support plus a management partner sufficient? To find out what a management partner handles, see Outsourcing Linux management.
-
Costs: subscriptions per server, per virtual machine, or per CPU socket.
-
Ecosystem: Is the distribution compatible with your platform, such as OpenShift, Rancher, or the public cloud?
-
Knowledge: What does your team know, and what’s available on the job market?
-
Compliance: Are there certified versions for your industry, such as FIPS or Common Criteria?
3. Comparison
| RHEL | SLES | Ubuntu LTS | Rocky Linux / AlmaLinux | |
|---|---|---|---|---|
| Type | Commercial | Commercial | Free, with an optional subscription (Ubuntu Pro) | Free, community |
| Lifespan per major version | 10 years, extendable | Long-term; SLES 16 according to SUSE: 16 years, SLES 15 until 2037 | 5 years, or longer with Ubuntu Pro | Approximately 10 years, equivalent to RHEL |
| Vendor Support | Red Hat | SUSE | Canonical (subscription-based) | None, but available through third parties |
| Strengths in | The broadest certification for enterprise software, the foundation of OpenShift | SAP, high availability, the foundation of Rancher and SUSE Virtualization | Cloud, developers, AI and ML tools | RHEL compatibility without licensing costs |
| Watch out | License Fees | A smaller community in the Netherlands | Less commonly certified for traditional enterprise software | No warranty from a supplier |
4. What happened to CentOS
For many years, CentOS Linux was the free version of RHEL. Red Hat discontinued this and replaced it with CentOS Stream: a version that is slightly ahead of RHEL and is therefore less suitable for stable production environments. CentOS Linux 7 reached end of life on 30 June 2024. Rocky Linux and AlmaLinux emerged as its successors.
5. Migration paths from CentOS 7
Combine the migration with automation, such as Ansible. This allows you to set up new servers in a reproducible way, making the next migration much easier. Rijk Zwaan migrated its entire CentOS infrastructure to RHEL this way.
Four paths from CentOS 7
| Route | How | Benefit | Disadvantage |
|---|---|---|---|
| Convert to RHEL | Using Convert2RHEL, possibly followed by an upgrade to a newer major version | Fast; applications remain running | License fees; the upgrade requires thorough testing |
| Switch to Rocky or Alma | Using migration scripts, or by reinstalling | No license fees | No vendor support |
| Extended Support | Paid support for CentOS 7 from third parties, such as SUSE Multi-Linux Support (formerly SUSE Liberty Linux) | Buys time | A delay, not a solution |
| Rebuild | Set up new servers on the target distribution, configure them with automation, and migrate the applications | Clean and standardized | More work upfront |
6. Standardization
Every additional distribution or major release means its own patching process, its own expertise, and its own exceptions. The less variation there is, the simpler and more secure management becomes.
Here's how to keep the landscape manageable
-
Choose one primary distribution, and at most one secondary distribution for specific cases, such as SLES for SAP.
-
For each distribution, specify which major versions are allowed and when to upgrade.
-
Set up all servers using automation, not manually.
-
Apply patches according to a set schedule, and install emergency patches for critical vulnerabilities immediately.
-
For hardening, use a fixed baseline, such as the CIS benchmarks.
7. How much does Linux cost?
The subscription is the most visible cost, but rarely the largest. Therefore, compare distributions based on both licenses and management, and factor in the risk of a version without updates.
Where the costs lie
-
Licenses and subscriptions: RHEL and SLES operate on an annual subscription basis per server, virtual machine, or socket, with various support levels. Ubuntu, Rocky Linux, and AlmaLinux are free, with optional paid support.
-
Management: often the largest expense. Applying patches, monitoring, securing systems, and 24/7 incident response all require people.
-
Risk: A version without support costs nothing in terms of licenses, but can be very expensive in the event of an incident.
8. Frequently asked questions about Linux
All frequently asked questionsBoth are free, RHEL-compatible successors to CentOS, with a similar lifecycle. Rocky Linux is supported by a community centered around the founder of CentOS; AlmaLinux is supported by a foundation backed by CloudLinux. For most workloads, the technical differences are minor.
Yes, and that happens often—for example, RHEL for general-purpose servers and SLES for SAP. Keep the number to a minimum and set everything up using the same automation tools.
Yes, especially for cloud native and developer workloads, and with Ubuntu Pro for extended support. Just make sure your core software is certified for Ubuntu.
| Version | Full support until | Maintenance (updates) until |
|---|---|---|
| RHEL 6 | 10 May 2016 | 30 November 2020 |
| RHEL 7 | 6 August 2019 | 30 June 2024 |
| RHEL 8 | 31 May 2024 | 31 May 2029 |
| RHEL 9 | 31 May 2027 | 31 May 2032 |
| RHEL 10 | 31 May 2030 | 31 May 2035 |
Ansible is an open-source tool from Red Hat that captures server configurations as code. You describe in playbooks what a server should look like, and Ansible brings each server into that state. No agent runs on the servers: Ansible works via SSH. During a migration, you can set up each new server identically, test the configuration in advance, and repeat the process. This also makes subsequent migrations easier. For larger environments, there’s the commercial Red Hat Ansible Automation Platform, which includes a web interface, access control, and logging. To learn how to write an Ansible role, check out our blog post on Ansible best practices.
Broadcom will support vSphere 8 and ESXi 8 through 11 October 2027. Those who do not wish to migrate to VMware Cloud Foundation 9 after that date can choose from platforms based on Linux and KVM:
- KVM with libvirt on RHEL or SLES: the foundation of nearly all alternatives. Suitable for smaller environments with in-house Linux expertise.
- SUSE Virtualization (formerly Harvester): virtualization on Kubernetes, managed from Rancher.
- Red Hat OpenShift Virtualization: virtual machines alongside containers on OpenShift.
- Proxmox VE: Based on Debian, with its own web interface and optional paid support. Popular among smaller teams.
- Apache CloudStack: a KVM-based cloud platform for large private clouds serving multiple departments or customers. With SUE, NXP replaced its virtualization software with CloudStack.
SUE supports migrations to each of these platforms. Nutanix, Hyper-V, and Azure Local are also options. The best choice depends on the number of VMs, your management expertise, and whether you also want to run containers on the same platform. Learn more in the Kubernetes guide.
Migrate, automate, or outsource Linux?
Migrate, automate, or outsource Linux?
SUE has been migrating, automating, and managing Linux environments since 1997.
* required