CentOS 7 End of Life 2024 – What to Do Next

centoscentos7end-of-life

We are working on a software solution and some of our providers are really CentOS 7 centered.

CentoS 7 will continue to produce through the remainder of the RHEL 7 life cycle, which will end sometime in 2024.

CentOS 8 will receive updates till December 2021.

CentOS Stream was announced by Red Hat but is apparently not a replacement for CentOS.

I am not very into diving in this if options are uncertain in the near future with CentOS.

Question: what are the options for CentOS 7 users when RHEL 7 reach its end of life and users need a production ready server?

Best Answer

If RHEL binary compatibility is not strictly required and if using in-tree kernel modules only (i.e.: no out-of-tree kmods are required), CentOS Stream should remain a viable option.

Otherwise you can use one of the new RHEL clones, such as AlmaLinux, RockyLinux or even Oracle Unbreakable Linux (in this case, be sure to select the RHEL-compatible kernel rather than its own customized kernel). Personal note: I am using RockyLinux with no issues at all (I migrated from a CentOS 8 box with the migrate2rocky script) but, as always, your mileage may vary.

Finally, if you are sure to need fewer than 16 RHEL instances, you can use plain simple Red Hat Enterprise Linux from Red Hat's free tier (with no support, obviously).

EDIT: as wisely suggested in other answers, migrating to a different distributions as Debian, Ubuntu, etc. is a very reasonable approach. I did the same (rebuilding with latest Ubuntu LTS) in environments where RHEL compatibility was not required. Debian and Ubuntu officially support in-place upgrade paths while most RHEL clones only have unofficial support - RHEL itself and Oracle Unbreakable Linux being the exceptions, with fully supported leapp upgrades - but things are changing now.

Related Topic