Manage scaling configurations
After you create a scaling configuration, you can manage it as needed. For example, you can apply a scaling configuration to a scaling group. If a configuration no longer meets your needs, you can modify or delete it. You can also export and import scaling configurations to create them more efficiently.
Apply a scaling configuration
You can apply a scaling configuration to make it active for a scaling group. When applied, Auto Scaling uses this configuration as a template to automatically create ECS or ECI instances during a scale-out.
A scaling group can have up to 70 scaling configurations, but only one can be in the Active state at a time. When you apply a new scaling configuration, the previously active one becomes Pending.
Navigate to the management page for scaling configurations.
Sign in to the Auto Scaling console.
In the left-side navigation pane, click Scaling Groups.
In the top navigation bar, select a region.
Find the scaling group that you want to manage and click View Details in the Actions column.
At the top of the page, click the Scaling Configurations tab.
Find the scaling configuration that you want to apply and click Apply in the Actions column.
In the dialog box that appears, click OK to apply the scaling configuration.
Modify scaling configuration
If a scaling configuration no longer meets your needs, you can modify it.
After you modify a scaling configuration, new instances launched from it use the updated settings. This change does not affect existing instances in the scaling group.
Navigate to the management page for scaling configurations.
Sign in to the Auto Scaling console.
In the left-side navigation pane, click Scaling Groups.
In the top navigation bar, select a region.
Find the scaling group that you want to manage and click View Details in the Actions column.
At the top of the page, click the Scaling Configurations tab.
Find the scaling configuration that you want to modify and click Edit in the Actions column to go to the Modify Scaling Configuration page. Follow the steps below to modify the scaling configuration.
ECS group
On the Modify Scaling Configuration page, modify the basic information, instance type, image, and cloud disk settings.
For parameter details, see Configuration parameters.
After you make the changes, click Edit. In the Preview Scaling Configuration dialog box, confirm the configuration.
After confirming the changes, click Modify to save them.
ECI group
On the Modify Scaling Configuration page, modify the basic configuration and other settings.
For parameter details, see Configuration parameters.
After you make the changes, click Confirm Configuration to review your settings.
After you confirm the configuration is correct, click Modify to save the changes.
(Optional) Apply the scaling configuration.
If you modified an inactive scaling configuration, you can apply it immediately or at a later time. For more information, see Apply a scaling configuration.
Delete scaling configuration
You can delete unnecessary scaling configurations to simplify management and avoid consuming your quota.
You can delete a scaling configuration only if it is in the Pending state and no ECS or ECI instances launched from it exist in the scaling group.
Navigate to the management page for scaling configurations.
Sign in to the Auto Scaling console.
In the left-side navigation pane, click Scaling Groups.
In the top navigation bar, select a region.
Find the scaling group that you want to manage and click View Details in the Actions column.
At the top of the page, click the Scaling Configurations tab.
Find the scaling configuration that you want to delete and click Delete in the Actions column.
In the Delete Scaling Configuration dialog box, click OK.
Export or import scaling configurations
This operation applies only to ECS scaling groups. You can export a configuration for local backup or import it into another scaling group to reuse its settings, which improves efficiency.
Before importing a scaling configuration, have the configuration file ready. Ensure the source and destination scaling groups share the same network type and, if applicable, the same Virtual Private Cloud (VPC).
Navigate to the management page for scaling configurations.
Sign in to the Auto Scaling console.
In the left-side navigation pane, click Scaling Groups.
In the top navigation bar, select a region.
Find the scaling group that you want to manage and click View Details in the Actions column.
At the top of the page, click the Scaling Configurations tab.
Export or import a scaling configuration.
Export
Click Export.
The exported file is in .json format. Example: configuration-2024-01-29-a0c6ffb8-a3ac-4097-b145-92a722b1****.json.
Import
Click Import Scaling Configurations.
In the Select File section, click Select File.. to browse for and select the .json file that you want to import.
ImportantYou can import a maximum of 10 scaling configurations at a time. This import operation does not overwrite existing configurations. Ensure the source and current scaling groups use the same network settings, including network type, VPC, and VSwitch. Otherwise, the imported scaling configuration may fail to launch ECS instances.
In the Preview section, select the scaling configurations that you want to import.
NoteIf you cannot select the scaling configurations in the Preview section, check the network settings of the scaling group from which the configurations were exported. The network type or VPC of the source scaling group may not match that of the current one.
(Optional) To prevent name conflicts with existing scaling configurations in the scaling group, select the Add a suffix for imported scaling configurations checkbox.
Click Import. After the import is successful, a dialog box appears. Click OK to close the dialog box.
(Optional) After you import scaling configurations, you can apply one of them. For more information, see Apply a scaling configuration.
References
You can call an API operation to verify a scaling configuration before applying it. For more information, see the following topics:
You can call an API operation to delete a scaling configuration. For more information, see the following topics:
If a scaling configuration no longer meets your needs, you can call an API operation to modify it. For more information, see the following topics:
You can call an API operation to modify the active scaling configuration of a scaling group. For more information, see ModifyScalingGroup - Modify a scaling group.