All Products
Search
Document Center

CloudOps Orchestration Service:Upgrade the operating system of multiple ECS instances at a time by replacing the system disks

最終更新日:Oct 09, 2024

To improve the security and stability of Elastic Compute Service (ECS) instances, you must upgrade the operating system of ECS instances on which an operating system of an earlier version is installed. The operating system version has a large number of potential security risks, and technical support is no longer available for the operating system version. Therefore, we recommend that you upgrade the operating system to a later version for which technical support is available. This topic describes how to use CloudOps Orchestration Service (OOS) to efficiently upgrade the operating system of multiple ECS instances at a time.

Important
  • ECS instances may be restarted when a specific template is executed.

  • You cannot replace the Windows operating system that runs on an ECS instance with the Linux operating system, and vice versa.

  • Before you replace the system disks of ECS instances, make sure that no unpaid order exists for the ECS instances.

  • During the upgrade process, only the user data of data disks is retained, whereas all the user data of system disks is cleared.

  • If the replacement image is a paid image, you are charged for the image. For more information, see Images.

Procedure

  1. Log on to the CloudOps Orchestration Service console. In the left-side navigation pane, choose Automated Task > Common O&M Tasks. On the page that appears, click Batch Instance Operations. Then, click Create.image

  2. On the Create Task Batch Instance Operations page, set the Task Type parameter to Instance Operations, set the Operations to Be Performed parameter to Replace System Disk, and then select an image.image

  3. In the Select Instances section, select the ECS instances that you want to manage.image

  4. Configure the advanced options. In this example, the default values are used. Click Create.image

  5. In the Execution Steps and Results section, view the execution progress.image