Auto Scaling triggers scale-out and scale-in events only in scaling groups that are in the Enable state. Disabling a scaling group stops Auto Scaling from triggering new scaling events in that group.
Usage notes
-
Before enabling a scaling group, verify that the scaling group configurations and instance configuration source meet your business requirements. This ensures scaling events are triggered as expected.
-
Before disabling a scaling group, choose a low-impact time, such as an off-peak period or a maintenance window.
-
Disabling a scaling group does not stop scaling events that are already in progress. New requests to trigger scaling events in the group are denied, and existing instances are not released.
Prerequisites
Before you begin, ensure that you have:
-
An Alibaba Cloud account with access to the Auto Scaling console
-
At least one scaling group
Enable or disable a scaling group
-
Log on to the Auto Scaling console.
-
Log on to the Auto Scaling console.
-
In the left-side navigation pane, click Scaling Groups.
-
In the top navigation bar, select a region.
-
Enable or disable a scaling group:
-
Enable: Find the scaling group, and then choose
> Enable in the Actions column. In the Disable Scaling Group message, click OK. The scaling group enters the Enable state. -
Disabled: Find the scaling group, and then choose
> Disabled in the Actions column. In the Disable Scaling Group message, click OK. The scaling group enters the Disabled state.
-
Enable or disable a scaling group using the API
To enable or disable a scaling group programmatically, use the following API operations:
| Operation | API reference |
|---|---|
| Enable a scaling group | EnableScalingGroup |
| Disable a scaling group | DisableScalingGroup |