In 2020, Red Hat announced that CentOS 8 will no longer receive support after the end of 2021 and will be succeeded by CentOS Stream, see also our article 'What is CentOS Stream'. CentOS 7 will be supported longer until June 30, 2024.
You may want to upgrade to an alternative to CentOS before then, but reinstalling your VPS is not a desirable option. In this guide, we show you how to upgrade your VPS from CentOS 7 to AlmaLinux 8 (or OracleLinux or Rocky Linux).
The steps in this guide have been successfully tested on up-to-date installations of CentOS 7 and DirectAdmin 1.63.0 with CentOS 7.
Take a snapshot before you start the upgrade process so that you can fall back on it if you experience problems after upgrading to AlmaLinux.