Updated on 2024-01-11 GMT+08:00

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 specifications modifications between KVM ECSs or between Xen ECSs, see this section.
  • ECSs can be classified as the following based on the virtualization types:
  • Before changing a Xen ECS to a KVM ECS, install the required drivers on the ECS first, or the ECS will be unavailable after the modification is complete. For example, starting the OS will fail.
  • When changing Xen to KVM for a Linux ECS, follow the instructions provided in Automatically Changing a Xen ECS to a KVM ECS (Linux).

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 "NOTE" 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.

Step 1: Modify Specifications

The following section provides general operations for modifying specifications. For instructions about how to change a Xen ECS to a KVM ECS, see the following operations.
  1. Log in to the management console.
  2. Under Computing, click Elastic Cloud Server.
  3. Click More in the Operation column and select Modify Specifications.

    The Modify ECS Specifications page is displayed.

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

    Before modifying the specifications, stop the ECS or select Automatically stop the ECSs and then modify specifications.

  5. (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.

  6. (Optional) Select the check box to confirm the ECS configuration.

    If a Xen ECS is changed to a KVM ECS, configure the ECS by following the instructions provided in Changing a Xen ECS to a KVM ECS (Windows), Automatically Changing a Xen ECS to a KVM ECS (Linux), or Manually Changing a Xen ECS to a KVM ECS (Linux).

  7. Click Next.
  8. Confirm the settings and click Submit Application.

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, choose 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 customer service.