This topic describes how to modify a scaling configuration. You can modify the parameters of a scaling configuration after it is created.

Background information

After the scaling configuration is modified, Auto Scaling creates ECS instances based on the new settings of the scaling configuration. However, ECS instances that are created based on the original settings of the scaling configuration are not affected.


  1. Log on to the Auto Scaling console.
  2. In the left-side navigation pane, click Scaling Groups.
  3. In the top navigation bar, select a region.
  4. Find the scaling group and use one of the following methods to open the details page of the scaling group:
    • Click the ID of the scaling group in the Scaling Group Name/ID column.
    • Click Details in the Actions column.
  5. In the upper part of the page, click the Configuration Source tab.
  6. In the upper-left corner of the Instance Configuration Source page, click the Scaling Configurations tab.
  7. Find the scaling configuration that you want to modify and click Edit in the Actions column.
  8. In the Basic Configurations step, configure the parameters and click Next: System Configurations.
    The following table describes the parameters.
    Parameter Description Reference
    Billing Method The following billing methods are supported in a scaling configuration:
    • Pay-As-You-Go: provisions and releases resources on demand. You pay for the resources that you used, and do not need to purchase a large number of resources in advance.
    • Preemptible Instance: The market price of a preemptible instance fluctuates based on changes to the supply and demand of its instance type. Compared with pay-as-you-go instances, preemptible instances offer discounts but may be automatically reclaimed. You can use preemptible instances to reduce costs.
    Instance Type Different instance types can meet the requirements of different scenarios. You can select multiple instance types in a scaling configuration. If resources of an instance type are insufficient, Auto Scaling automatically uses another instance type to create ECS instances. This increases the success rate of creating instances.

    If you select a burstable instance type, you can set the default performance mode. For more information about burstable instances, see Overview.

    Instance families
    Image An image provides the data required to create ECS instances, such as the system and application environments, and related software configurations. Image overview
    Storage Select a system disk or one or more data disks for ECS instances to store data. Block Storage overview
    Public IP Address Assign IPv4 addresses to ECS instances for access to the Internet. If you select Assign Public IP Address, you must configure the billing method for network usage.
    Security Group A security group is a virtual firewall that controls network access of ECS instances.
  9. In the System Configurations (Optional) step, configure the parameters and click Next: Preview.
    The following table describes the parameters.
    Parameter Description Reference
    Tags Tags are used to identify resources. You can use tags to classify ECS instances and related resources for easy management and search.
    Resource Group Resource groups are used to categorize your resources based on usage, permissions, and regions. This way, you can manage the resources in a hierarchical manner based on users and projects. Resource groups
    Logon Credentials The supported logon credentials are subject to the operating system type.
    • Linux: You can select an SSH key pair when you create a scaling configuration, or configure logon credentials after ECS instances are created.
    • Windows: You can configure logon credentials only after ECS instances are created.
    Instance Name Specifies the name for ECS instances that are created based on the current scaling configuration. If you do not specify this parameter, a default name is used. None
    RAM Role Instance RAM roles allow you to attach a role to ECS instances. You can use temporary tokens issued by Security Token Service (STS) to call API operations of other Alibaba Cloud services. This ensures the security of your AccessKey pair and helps you implement fine-grained permission control and management by using RAM.
    Note You can select instance RAM roles only for scaling configurations in the VPC-type scaling group.
    User Data User data is used to customize the startup behavior of an ECS instance or pass data to the ECS instance, such as automatically obtaining software resource packages, activating services, and displaying logs. You must prepare a custom script in advance and pass data in the script by using the User Data feature.
    Note You can specify user data only for scaling configurations in the VPC-type scaling group.
  10. Check you configurations, enter a name for the scaling configuration, and then click Modify.