In December 2020, the CentOS community and Red Hat announced the sunset of CentOS. Red Hat also announced CentOS Stream, a new, upstream development platform for the CentOS community. For more information, see Transforming the development experience within CentOS.
What does this mean for CentOS users?
CentOS 6, 7, and 8 are the final releases of CentOS Linux. The end of support (EOS) dates for these versions are as follows:
- CentOS 7 - June 30, 2024
- CentOS 8 - December 31, 2021
- CentOS 6 - November 30, 2020
If you have workloads that are running on CentOS versions that have reached their EOS date, your projects might be at risk because you are running VMs that are not receiving security updates. Google Cloud recommends that you migrate your workloads to a supported OS by using the migration options detailed in this document. For CentOS 7 users, Google Cloud recommends reviewing migration options and planning accordingly.
Impact on existing VMs
Your current VMs that are running CentOS are not affected by the EOS date for that version. After the EOS date, you can still start or stop your existing VMs that use these images.
However, after this date, the following changes take effect for CentOS versions that have reached EOS:
- CentOS images for that version are marked as deprecated, but are still available.
- If you need to create VMs using CentOS images after the EOS date, make copies of the images in your projects to ensure you can still use them.
- For your existing CentOS based VMs, limited technical support is available through Google Cloud.
CentOS 7
As of June 30, 2024, the CentOS 7 operating system no longer receives software updates. For Google Cloud customers running CentOS 7, we recommend that you migrate your workloads to another operating system.
Long Term Support options
For maintaining your existing CentOS 7 systems on Google Cloud, there are long term support options from Google partners that provide secure packages, updates, and security patches to extend the lifetime of your CentOS environments. To receive CentOS technical support for your Google Cloud workloads, we recommend the following option:
- CIQ Bridge: Extends CentOS 7 support by up to 3 years. CIQ, the exclusive provider of enterprise Rocky Linux for Google Cloud, offers access to a global repository of CentOS 7 packages, security updates, and patches to maintain business continuity and regulated industries compliance. In partnership with Google, CIQ is committed to helping Google Cloud customers by providing promotional discounts for CentOS 7 long term support.
CentOS 8
CentOS 8 reached its end of support (EOS) on December 31, 2021. This operating system no longer receives software updates or security patches.
If you have any remaining workloads on CentOS 8, we strongly recommend migrating them to a supported operating system to ensure you receive necessary security updates and support.
CentOS 6
CentOS 6 reached its end of support (EOS) on November 30, 2020. This operating system no longer receives software updates or security patches.
If you have any remaining workloads on CentOS 6, we strongly recommend migrating them to a supported operating system to ensure you receive necessary security updates and support.
Migration options
You can choose to either migrate your workloads that are running on CentOS to a compatible OS distribution, or you might choose an OS that uses a different system.
To migrate your workloads, complete the following steps:
Decide on whether you want to move to a compatible OS or not.
- For a list of compatible operating systems, see CentOS compatible operating systems.
- For a list of other operating systems that you might consider, see Other operating systems.
To move from CentOS to the new OSes, you have the following options:
- Create a new VM with the new OS and redeploy your workloads. Google recommends using this option.
Migrate your workloads to a new OS using conversion tools. Choose one of the following:
- Use the migration tool that is available from the OS distribution that you want to migrate to. While a few community tools might be available for converting your workloads from CentOS to another distribution, Google Cloud does not provide or support any of these conversion tools.
- Use the
migrate2rockytool provided by CIQ to convert CentOS to Rocky Linux. For instructions on how to use this tool and the supported operating systems, see the Rocky Linux documentation. - Use the
Convert2RHELtool provided by Red Hat to convert CentOS to Red Hat Enterprise Linux. For instructions on how to use this tool and the supported operating systems, see the Convert2RHEL documentation.
Append the relevant OS license strings. For a list of OS license strings on Compute Engine, see Operating systems details. To append the license string, see Append and validate a user license.
CentOS compatible operating systems
The following table summarizes the list of CentOS compatible operating systems that you can migrate to on Google Cloud.
| Distribution | Image available on Google Cloud | Image license cost | Support models |
|---|---|---|---|
| Red Hat Enterprise Linux (RHEL)* | Yes | Premium image pricing | Commercial support (provided by Google Cloud) |
| Rocky Linux | Yes | None | |
| Alma Linux | Yes | None | |
| CentOS Stream | Yes | None | Community support |
| SUSE Multi-Linux Support (SMLS) | No** | Premium image pricing | Commercial support (provided by SUSE) |
*RHEL on demand images are available on Google Cloud. We also support RHEL Cloud Access (BYOS) subscription based gold images. For more information about RHEL's Cloud Access program, see Red Hat Cloud Access.
**If you use SMLS for your existing instances, you don't need a new image because SUSE offers an in-place conversion. With an in-place conversion, you will receive enterprise support from SUSE regardless of the OS distribution of the original boot image.
Promotional offers from Red Hat
Red Hat in partnership with Google is committed to helping you migrate from CentOS to RHEL. To help with this migration, we are providing promotional offers to qualified customers subject to approval from Red Hat. If you are interested in learning more about the RHEL promotional offers, contact your Google Cloud account representative.
Promotional offers from CIQ for CentOS
In partnership with Google, CIQ is providing promotional discounts for long term support for all CentOS customers on Google Cloud. CIQ Bridge can help ensure your CentOS systems remain secure, compliant and fully operational for up to 3 years.
Other operating systems
If you do not require a CentOS compatible operating system, the following options are available.
| Distribution | Image available on Google Cloud | Image license cost | Support models |
|---|---|---|---|
| Ubuntu LTS | Yes | None | The following options are available: |
| Debian | Yes | None | Community support |
| OpenSUSE | Yes | None | Community support |
| Ubuntu Pro | Yes | Premium image pricing | Commercial support (Google Cloud) |
| SLES | Yes | Premium image pricing | Commercial support (Google Cloud) |
Using the CentOS Vault
As part of the CentOS deprecation, all content was removed from from the CentOS 7
repositories. If it is necessary to install new packages on an existing
CentOS 7 system, you can switch repositories from the supported
mirror.centos.org to the unsupported vault.centos.org.
To switch to the CentOS vault repositories, you can run the following command:
sed -i -e s/mirror.centos.org/vault.centos.org/g -e s/^#baseurl=/baseurl=/g -e s/^mirrorlist=/#mirrorlist=/g /etc/yum.repos.d/CentOS-*.repo
You can also provide this command during VM creation by using a startup script.
For more information about the CentOS vault, see the CentOS vault readme.
What's next
- Learn more about images on Compute Engine.
- Learn more about the operating systems that are available on Compute Engine.