CentOS 7 end of life: June 30, 2024 and your migration options
CentOS Linux 7 reached end of life on June 30, 2024. See what that means, how to check a server and what to upgrade to.
TL;DR
- CentOS Linux 7 reached end of life on June 30, 2024, according to The CentOS Project and endoflife.date. That date has already passed.
- Since then, CentOS Linux 7 gets no new security fixes from the project, so every newly found flaw in its packages stays open.
- CentOS has one end date for this release, not a ladder of support phases, so there is no extra grace period to wait for.
- The way out is to move each server to a release that is still supported, such as Red Hat Enterprise Linux or one of its rebuilds.
- Stackurity flags a CentOS host as end of life every day, but it does not assess CentOS packages for vulnerabilities: they show as a gap, never as clean.
What reaches end of life and when
CentOS Linux was a free rebuild of Red Hat Enterprise Linux. The CentOS Project explains on its comparison of CentOS Stream and CentOS Linux that it shifted its focus from CentOS Linux to CentOS Stream, and it publishes the end of life date for each CentOS Linux release there. The endoflife.date page for CentOS Linux lists the same date for release 7.
- End of life: June 30, 2024.
Unlike some vendors, The CentOS Project does not publish separate mainstream, extended or maintenance phases for this release. There is one date, and it is behind us. The data we use gives no extended support date and no paid extension for CentOS Linux 7, so if you still run it you are running a release that its own project no longer maintains. If a third party sells you extended support, that is a commercial arrangement with that company, not something this date covers.
What end of life means
End of life does not make a server stop working. The system boots, the web server answers and the database runs. What changes is the stream of fixes. After June 30, 2024, a vulnerability found in a package shipped with CentOS Linux 7 is not fixed for that release by the project. The flaw is public, scanners and attackers know about it, and the only defence left is to work around it or replace the system.
The practical consequences come in a predictable order:
- Security exposure grows. Every new advisory adds an open issue on each machine, and nothing closes it.
- Audits flag it. Reviewers want an owner and a retirement date for each unsupported system, and without a plan the finding returns every cycle.
- Software support ends. Software vendors stop testing on old releases, so some of your tools may refuse to install there.
- Repositories age. Mirrors for a retired release can move or vanish, which makes rebuilding a server harder.
The release this one was rebuilt from has its own timeline, described in our guide to Red Hat Enterprise Linux support dates. If you run many servers and need a clear picture of which ones are past their date, a simpler option than Qualys and Tenable for small teams can keep that list current from a live inventory.
What to upgrade to
The data we use lists no newer CentOS Linux release to move to, so check The CentOS Project's page for the upgrade path it recommends. In practice, teams usually choose one of these:
- Red Hat Enterprise Linux. The commercial release CentOS Linux was rebuilt from. See our notes on the Red Hat release lifecycle to pick a release with years of support left.
- A rebuild of Red Hat Enterprise Linux, such as AlmaLinux or Rocky Linux, which keeps the familiar package tooling.
- A different distribution such as Debian or Ubuntu, if your applications can move and your team is comfortable with its tooling.
Whichever you pick, this is a migration project. One workable order:
- Build a census of CentOS Linux 7 machines: servers, images and virtual machines, each with a named owner and the applications it carries. Do not forget build agents.
- Decide the target, read each application vendor's compatibility notes, and rehearse in staging: backups, monitoring agents and cron jobs often break first.
- Move machines that face the internet first, then the internal ones. Build fresh servers instead of converting in place where possible, so you can roll back.
- Keep each old server briefly as a fallback, then shut it down and drop it from the inventory.
If a server truly cannot move yet, write down an exception with an owner and a date and cut its network exposure. That is a stopgap.
How to check one server by hand
To see which release a machine runs, use any of these:
cat /etc/centos-release
cat /etc/os-release
hostnamectlThe first line of the release file names CentOS Linux and its version. To read the installed release package:
rpm -q centos-releaseFor container images, read the base image named in each Dockerfile, and run the same commands inside a running container. A container shows the release of its own image, not the host's, so an up-to-date host can still run old images.
How Stackurity flags it
Stackurity matches end-of-life data against your inventory every day. A CentOS host is inventoried, and its operating system is flagged as end of life, so it appears in the same list as your other upgrades with its date. The limit is important: CentOS packages are not assessed for vulnerabilities. They are shown as an evaluation gap, never as clean, so do not read the absence of package findings on a CentOS host as a sign that it is safe.
The rebuilds and Red Hat Enterprise Linux are different: Stackurity assesses packages on Red Hat Enterprise Linux, AlmaLinux and Rocky Linux, so after you migrate, the new servers get package-level checks that the old ones could not. After each change Stackurity checks again and records whether the issue is really gone. The remediation guide explains how the list of upgrades is ordered and verified.
FAQ
When does CentOS 7 reach end of life?
CentOS Linux 7 reached end of life on June 30, 2024, according to The CentOS Project and endoflife.date.
Is CentOS 7 still getting security updates?
No. After June 30, 2024 the project no longer releases security fixes for CentOS Linux 7, so new flaws in its packages stay open on that release.
What should I upgrade CentOS 7 to?
The data we use names no newer CentOS Linux release, so check The CentOS Project's page for its recommended path. Many teams move to Red Hat Enterprise Linux, a rebuild such as AlmaLinux or Rocky Linux, or another distribution, after testing their applications.
Can I keep running CentOS 7 safely?
Not for long. A server on an unsupported release collects open vulnerabilities. If you must keep one for a while, limit its network exposure, record an exception with an owner and a date, and plan the migration.
Does Stackurity flag CentOS 7 end of life?
Yes. It matches end-of-life data against your inventory every day and flags the operating system. It does not assess CentOS packages for vulnerabilities: they show as a gap, not as clean.
Sources
Sources: The CentOS Project lifecycle page, endoflife.date for CentOS Linux and Stackurity product facts.