Modify a service instance

更新时间:
复制 MD 格式

After a service instance is created, you can change its configuration if the current parameters or parameter set no longer meet your needs.

Prerequisites

The service provider allows configuration changes for the service and has configured the required parameters.

Procedure

  1. Log on to the Compute Nest console.

  2. In the navigation pane on the left, click Service Instance.

  3. On the Service Instance page, find the service instance to modify, and then click its name or ID to open the details page.

  4. In the upper-right corner, click Change Configurations of Service Instance and set the new parameters in the dialog box that appears.

    1. On the Select Change Type page, select the type of configuration change to perform and click Next.

      The service provider predefines the available configuration change types. The options shown on the page are definitive.

      • Upgrade: If parameter set changes are supported, the sequence number of the target parameter set must be greater than that of the current parameter set. If parameter changes are supported, numeric parameters must be monotonically increasing. Custom parameter sets cannot be upgraded.

      • Downgrade: If parameter set changes are supported, the sequence number of the target parameter set must be less than that of the current parameter set. If parameter changes are supported, numeric parameters must be monotonically decreasing. Custom parameter sets cannot be downgraded.

      • Custom: This configuration change type does not limit parameter set or parameter value modifications. Custom parameter sets are also supported.

    2. On the Configure Parameters page, set the new parameters and click Next.

      Based on the current parameters of the service instance, Compute Nest filters the options to show only supported parameters or parameter sets.

      After you set the new parameters, you can view the resource fee information for the new configuration at the bottom of the page.

      Note

      Price previews for configuration changes are currently available only for ECS resources. This feature is not yet supported for other cloud products.

      For example, in the Configure Parameters step, you might set the TiDB Quantity to 4. If the instance type offers two options, such as Parameter Set 1 (ecs.g6e.2xlarge) and Parameter Set 2 (ecs.g6e.xlarge), select your target parameter set and then click Next.

    3. On the Preview Parameter Changes page, review the parameters and their values before and after the change.

      The page also displays information about the parameter set change and the pay-as-you-go fee. After you confirm that the information is correct, click OK.

  5. Click OK.

    A Status of Changing configuration indicates that the change is in progress.

Next steps

After the configuration change is complete, view the updated parameter values in the Configuration Information section of the service instance details page.

Before the change: The Quantity is 2, and the instance type is ecs.g6e.xlarge.

After the change: The Quantity is 4, and the instance type is ecs.g6e.2xlarge.