General Operations

Scenarios

If ECS specifications do not meet service requirements, you can modify the ECS specifications, including vCPUs and memory. Certain ECSs allow you to change their types when you modify their specifications.

  • For instructions about how to modify the specifications of other ECSs, for example, between KVM ECSs, see this section.

Notes

  • Downgrading ECS specifications (vCPU or memory) will reduce performance.

  • Certain ECS types do not support specifications modification currently. For details about available ECS types as well as their functions and usage, see "Notes" in ECS Types.

  • When the disk status is Expanding, you are not allowed to modify the specifications of the ECS where the disk is attached.

  • Before modifying the specifications of a Windows ECS, modify the SAN policy by following the instructions provided in Why Does a Disk Attached to a Windows ECS Go Offline? to prevent disks from going offline after the specifications are modified.

  • Before modifying specifications, make sure that the ECS has been stopped.

Step 1: Modify Specifications

  1. Log in to the management console.

  2. Click image1 in the upper left corner and select your region and project.

  3. Under Computing, click Elastic Cloud Server.

  4. On the Elastic Cloud Server page, view the status of the target ECS.

    If the ECS is not in Stopped state, click More in the Operation column and select Stop.

  5. Click More in the Operation column and select Modify Specifications.

    The Modify ECS Specifications page is displayed.

  6. Select the new ECS type, vCPUs, and memory as prompted.

  7. (Optional) Set DeH.

    If the ECS is created on a DeH, the system allows you to change the DeH.

    To do so, select the target DeH from the drop-down list. If no DeH is available in the drop-down list, remaining DeH resources are insufficient and cannot be used to create the ECS with specifications modified.

  8. Click Next.

  9. On the Modify ECS Specifications page, confirm the modified vCPU and memory specifications and click Submit.

  10. Check whether the specifications have been modified.

    After modifying the specifications, you can check whether the specifications have been modified in Failures.

    1. Check whether Failures is displayed on the management console. For details, see Viewing Failed Tasks.

      • If yes, go to step 11.b.

      • If no, the specifications have been modified.

    2. Click Failures. Then, in the Failures dialog box, click Operation Failures and check whether the task is contained in the list by Name/ID, Operated At, or Task.

      • If yes, the specifications modification failed. See Follow-up Procedure for failure causes.

      • If no, the specifications have been modified.

Step 2: Check Disk Attachment

After specifications are modified, disk attachment may fail. Therefore, check disk attachment after specifications modification. If disks are properly attached, the specifications modification is successful.

Follow-up Procedure

Perform the following operations in the event of a specifications modification failure:

  1. Log in to the management console.

  2. Under Management & Deployment, select Cloud Trace Service.

  3. In the navigation pane on the left, choose Trace List.

  4. In the Trace Name column, locate the resizeServer event by resource ID.

    The resource ID is the ID of the ECS on which the specifications modification failed.

  5. Click View Trace in the Operation column to view the failure cause.

    If the fault cannot be rectified based on logs, contact the administrator.