All Products
Search
Document Center

Compute Nest:Create a service for which the configuration change feature is enabled and change the configurations of a service instance

Last Updated:Jun 06, 2025

When you create a service as a service provider, you can enable the configuration change feature for the service. After your customer creates a service instance based on the service, if the configuration of the service instance or the parameter set does not meet the current business requirements, your customer can change the configurations of the service instance to meet the business requirements. This topic describes how to use the configuration change feature.

Billing

You are not charged for using Compute Nest. However, you are charged for the cloud resources such as Server Load Balancer (SLB) instances and Elastic Compute Service (ECS) instances that are used to deploy services. For more information, see Billing.

Create a service

The following example shows how to create a service for which a parameter set is configured and the upgrade feature is enabled.

  1. Log on to the Compute Nest console.

  2. In the left-side navigation pane, click My Services. On the Created Services tab of the My Services page, click Create Service.

  3. On the Create Service page, configure the service parameters.

    Note

    When you define a service template, you can configure the following settings in the template to change the instance type or update resources during the configuration change:

    • If you want to change the instance type, you must set the UpdatePolicy property of the ALIYUN::ECS::InstanceGroup resource to ForAllInstances in the template.

    • If you want to update the ALIYUN::ECS::RunCommand resource, you must set the Syns property to true in the template. The ALIYUN::ECS::RunCommand resource that you want to update is re-executed during the configuration change.

    1. Turn on Service Instance Configuration Change.打开开关

    2. In the Modify Configurations section, click Add Operation.

    3. In the Add Operation dialog box, configure the parameters.

      1. Select a template from the Select Template drop-down list.

        By default, Template 1 is selected in the Compute Nest console.

      2. In the Operation Name field, enter the operation name. Example: Resize system disk.

      3. In the Operation Description field, enter a description for the operation.

      4. Set the Operation Type parameter to one of the following values.

        • Upgrade:

          • If you want to upgrade a service instance by using a parameter set, the serial number of the parameter set must be greater than that of the current parameter set associated with the service instance.

            For example, you configured three parameter sets for a service: Parameter set 1, Parameter set 2, and Parameter set 3, and Parameter set 2 is associated with a service instance. To upgrade the service instance by using a parameter set, you must use Parameter set 3 instead of Parameter set 1.

          • If you want to upgrade a service instance by modifying parameters, you must specify values for the parameters of the numeric type in a monotonically increasing sequence. You cannot set the parameters of the boolean type from true to false. If the AllowedValues attribute is specified for the parameters, you must set the parameters to the allowed values in a monotonically increasing sequence.

          • You cannot upgrade a service instance by using a custom parameter set.

        • Downgrade:

          • If you want to downgrade a service instance by using a parameter set, the serial number of the parameter set must be smaller than that of the current parameter set associated with the service instance.

          • If you want to upgrade a service instance by modifying parameters, you must specify values for the parameters of the numeric type in a monotonically decreasing sequence. You cannot set the parameters of the boolean type from false to true. If the AllowedValues attribute is specified for the parameters, you must set the parameters to the allowed values in a monotonically decreasing sequence.

          • You cannot downgrade a service instance by using a custom parameter set.

        • Custom: You can change the configurations of a service instance by using a custom parameter set. No limits are imposed on parameter sets and parameters.

      5. Configure the Method parameter.

        If you want to set the Method parameter to Change Plan, you must configure a parameter set when you create the service. Otherwise, you cannot set the Method parameter to Change Plan.

      6. In the Select Parameters section, select the parameters that you want to modify.

        You can set this parameter only if you set the Method parameter to Change Parameter. Compute Nest has filtered out the parameters that cannot be modified in the template. Only the parameters that can be modified are displayed in this section.

      添加变更操作

  4. Click Create Service.

Create a service instance and change its configurations

This section describes how to create a service instance and change the configurations of the service instance as a customer.

  1. Create a service instance. For more information, see Create a private service instance.

    After the service instance is created, you can view the configurations of the service instance in the Configurations section of the Service Instance Details page.配置信息

  2. Change the configurations of the service instance.

    1. In the upper-right corner of the Service Instance Details page, click Change Service Instance Configuration.

    2. In the Change Service Instance Configuration dialog box, select an operation type and click Next.

    3. In the Configure Parameters step, configure the parameters for the configuration change. Click Next.

    4. In the Preview Parameter Changes step, check the parameter set and parameter values after the configuration change.

    5. Click OK.

  3. View the changed configurations in the Configurations section on the Service Instance Details page.

    If the parameter values in the Configurations section change, the configurations of the service instance are changed.