All Documents
Current Document

Content is empty

If you don't find the content you expect, please try another search term

Documentation

Change the configurations of an instance

Last updated:2021-08-04 11:26:32

After you create a KEC instance, you can change its configurations, including the CPU, memory, system disk size, and data disk size, based on your business needs.

Applying configuration changes may take a time. We recommend that you select the configuration type that best suits your business needs. The following table describes the supported configuration types and their details.

Configuration type Type of the KEC instance Billing mode of the KEC instance Status of the KEC instance Impact on services* Validation condition
Upgrade All instance types are supported Spot Instances are not supported Running Services are not interrupted Restart the KEC instance
Stopped Services are interrupted Start the KEC instance
Downgrade All instance types are supported Subscription instances and Spot Instances are not supported Stopped Services are interrupted Start the KEC instance
Hot upgrade Only General Purpose N2 is supported Spot Instances are not supported Running Services are not interrupted The hot upgrade immediately takes effect

Note: The upgrade of a KEC instance in Running state does not interrupt services. After the upgrade, you need to restart the KEC instance to make the configuration take effect. The restart process will interrupt services.

Upgrade a KEC instance

Precautions

  • You can upgrade the configurations of a KEC instance that are in Running or Stopped state. Do not change the instance status during the upgrade.
  • The capacity of the system disk and data disk can be expanded. For more information about the limits on disk capacity for different packages, see Instance types.

Procedure

Configuration upgrade

  1. Log in to the KEC console. The Instance page appears by default.

  2. Find the KEC instance that you want to upgrade in the instance list, and then choose More > Resource Adjustment > Change Configuration in the Operation column.

  3. In the Change Configuration dialog box, change the configurations and click OK.

    After you change the configurations of your package, the capacity of the system disk and data disk can only be expanded offline.

  4. In the Confirm Configuration Change dialog box, click OK to submit the order and pay.

  5. After the configuration changes are complete, restart or start the KEC instance for the new configurations to take effect.

Online scale-out

  1. Log in to the KEC console. The Instance page appears by default.

  2. Find the KEC instance that you want to upgrade in the instance list, and then choose More > Resource Adjustment > Change Configuration in the Operation column.

  3. Enter the expected disk capacity after the expansion. If online scale-out is supported. select Online Scale-out. Otherwise, offline scale-out is performed by default. Then, click OK.

  4. In the Confirm Configuration Change message, click OK to submit the order and pay.

  5. After disk capacity expansion, resize the partitions and file system based on the operating system of the KEC instance. For more information, see Resize the partitions and file system (Linux) or Resize the partitions and file system (Windows). To automatically resize the partitions and file system, use the offline scale-out mode.

    Downgrade a KEC instance

Precautions

You cannot downgrade the configuration of KEC instances that use the Subscription billing mode.

Procedure

  1. Log in to the KEC console. The Instance page appears by default.

  2. Find the KEC instance that you want to downgrade in the instance list, and then choose More > Resource Adjustment > Change Configuration in the Operation column.

  3. Change the configurations and click OK.

  4. In the Confirm Configuration Change dialog box, click OK to submit the order and pay.

  5. After the configuration changes are complete, start the KEC instance for the new configurations to take effect.

Hot upgrade a KEC instance

Precautions

  • Hot upgrades apply to instances that are created based on images of CentOS 7.5 or later, Ubuntu 18.04 or later, and Windows (64-bit) 2016 or later.

  • The memory can be expanded by up to 32 GB at a time. The total memory for an instance can be expanded to at most 128 GB.

Procedure

  1. Log in to the KEC console. The Instance page appears by default.

  2. Find the General Purpose N2 instance that you want to upgrade and choose More > Resource Adjustment > Change Configuration in the Operation column.

  3. In the Change Configuration dialog box, change the configurations and click Hot Upgrade.

  4. In the Confirm Configuration Change dialog box, click OK to submit the order and pay.

After the configuration changes are complete, the new configurations immediately take effect.

Validate the system disk configuration

After you expand the system disk capacity, you must perform the following operation for the new configuration to take effect:

  • Restart or start the KEC instance.

Validate the data disk configuration

After you expand the data disk capacity, you must perform the following operations for the new configuration to take effect:

  1. Restart or start the KEC instance.
  2. Log in to the KEC instance and resize the file system.

For more information, see Expand the capacity of a local data disk.

On this page
Pure ModeNormal Mode

Pure Mode

Click to preview the document content in full screen
Feedback