You need to enable JavaScript to run this app.
Elastic Compute Service

Elastic Compute Service

Copy page
Download PDF
End of life (EOL) of image
Description of the discontinued maintenance of CentOS Linux
Copy page
Download PDF
Description of the discontinued maintenance of CentOS Linux
CentOS has officially announced the plan​ to discontinue maintenance of the CentOS Linux project. This will also affect the CentOS Linux public images provided by the platform. By then, the maintenance and support for the CentOS Linux operating system will no longer be available. This topic introduces impacts of discontinued maintenance of CentOS Linux, and responsive measures.​
Background​
On December 8, 2020, CentOS officially announced it would discontinue maintenance of the CentOS Linux project and shift its focus to the CentOS Stream project. For more information, see the official announcement on the CentOS website.​
After the discontinuation, impacts on current CentOS versions and future versions are as follows:​
  1. Maintenance of CentOS Linux 7 will be discontinued on June 30, 2024 (EOL).​
  1. Maintenance of CentOS Linux 8 was discontinued on December 31, 2021 (EOL).​
  1. CentOS Linux 9 and future versions will not be provided; instead, CentOS Stream will be available.​
Impact​
Based on the official change plan of CentOS on the CentOS Linux project, impacts on users of the CentOS Linux operating system are as follows: ​
  • After December 31, 2021, CentOS Linux 8 users will no longer receive any software maintenance or support, with bug fixes and feature updates included.​
  • After June 30, 2024, CentOS Linux 7 users will no longer receive any software maintenance or support, with bug fixes and feature updates included.​
Public images and services provided by the platform will also be affected to some extent as follows:​
  • Currently, VolcanoEngine will not discontinue CentOS 8 images. Existing ECS instances created by using CentOS 8 images will not be affected. However, the images will not be updated.​
  • Support services for CentOS will align with CentOS official end-of-support dates. Service support for CentOS Linux 8 will discontinue after December 31, 2021; for CentOS Linux 7, the support will extend to June 30, 2024.​
For more information about the CentOS change plan, check the official FAQ.​
Responsive measures​
For the normal operation of services that use the CentOS system, you can replace the operating system or switch the mirror site for CentOS 8.​
Replace the operating system​
The platform provides public images for multiple operating systems. Based on your business needs, you can select appropriate public images or import a custom image to replace CentOS Linux.​
​
Operating system​
Overview​
veLinux​
A self-developed Linux operating system launched by ByteDance. It extensively integrates the system-level technical experience that ByteDance has accumulated over years when supporting massive services and 100M-level concurrency. For more information, refer to veLinux overview.​
Red Hat Enterprise Linux​
The enterprise edition operating system provided by Red Hat, which requires payment for use. In return, you can enjoy subscription services from Red Hat. For more information, check Red Hat Enterprise Linux.​
Rocky Linux​
A derivative product of CentOS, which is located downstream of Red Hat Enterprise Linux (RHEL). Like CentOS, this operating system offers a stable version for servers.​
AlmaLinux​
Created by the CloudLinux team, this operating system maintains 1:1 binary compatibility with Red Hat Enterprise Linux (RHEL).​
Debian, Ubuntu, and other operating systems​
Other Linux distributions. These distributions differ in their usage practices and application compatibility.​
CentOS Stream​
A rolling version officially provided by CentOS.​
​
The operating system images mentioned above will continue to be developed and supported by the platform. For the latest updates, refer to the Image release notes.​
Switch the mirror site for CentOS 8​
As CentOS 8 operating system reached end-of-life (EOL) on December 31, 2021, the Linux community has no longer maintained it. Currently, if you execute the source configuration, the following issues may occur:​
​​​
If you still need to use some installation packages in CentOS 8, you can follow the instructions below to switch the CentOS 8 mirror site to the platform site.​
tip​
We recommend that you use the veLinux operating system provided by the platform. For details, refer to the veLinux overview.​
Procedure​
  1. Execute the following command to replace the CentOS mirror site.​
  • ​
    sed -i 's/\$releasever/8.5.2111/g' /etc/yum.repos.d/CentOS-Base.repo​
    ​
  1. Execute the following commands to regenerate the local cache.​
  • ​
    yum clean all ​
    yum makecache​
    ​
  • After the replacement is complete, the configuration of the CentOS-Base.repo file is as follows:​
  • ​​​
Migrate the operating system​
The Operating System Migration feature of SMC (Server Migration Center) enables you to seamlessly switch the operating system of an instance from CentOS 7.x or CentOS Stream 8 to veLinux (CentOS-compatible version). Therefore, you do not need to replace the operating system (that means no impacts on the system volume data). Learn more.​
Related document​
Last updated: 2025.09.01 18:20:46