This topic describes the common operations in the Auto Scaling console.
Create scaling groups
The first time you use Auto Scaling, you can perform the operations described in the following table.
Item | User guide | API reference | Description |
Scaling group | You can create scaling groups to manage Elastic Compute Service (ECS) instances or elastic container instances based on your business requirements. | ||
Scaling configuration | If you do not specify the instance configuration source when you create a scaling group, you must create a scaling configuration. A scaling group can contain ECS instances or elastic container instances. | ||
Scaling rule | You can create scaling rules to control the number of ECS instances or elastic container instances in scaling groups. You can also use scaling rules to adjust the minimum and maximum numbers of instances in scaling groups. | ||
Lifecycle hook | When Auto Scaling triggers lifecycle hooks in scaling groups, the ECS instances or elastic container instances that are involved in scale-outs or scale-ins enter the Pending Add or Pending Remove state. You can perform custom operations on the instances until the lifecycle hooks time out. | ||
Scheduled task | You can create scheduled tasks to specify a time period for automatic scale-outs or scale-ins. | ||
Event-triggered task | You can create event-triggered tasks to enable metric-based dynamic scale-outs or scale-ins. |
View scaling groups
If you want to query the details of scaling groups, instances, scaling rules, event-triggered tasks, and scaling activities, you can perform the operations described in the following table.
Item | User guide | API reference | Description |
Scaling group | You can query the basic configurations of existing scaling groups. | ||
Instance list | You can query information about instances in a scaling group. | ||
Scaling rule | N/A | You can check whether the prediction based on a predictive scaling rule meets your expectations so that you can determine whether to make adjustments. | |
Event-triggered task | You can view the basic information, trigger rules, and monitoring information of an event-triggered task. Then, you can understand the configurations of the event-triggered task and the data trends of metrics. | ||
Scaling activity | If a scaling activity is triggered by a scheduled or event-triggered task, you can view the details of the scaling activity to check its execution result. | ||
Scaling group monitoring | N/A |
|
Manage scaling groups
If you want to manage scaling groups, instances, scaling configurations, scaling rules, scheduled tasks, and event-triggered tasks, you can perform the operations described in the following table.
Item | User guide | API reference | Description |
Scaling group |
| ||
Instance list |
| ||
Scaling configuration | N/A |
| |
Scaling rule | You can execute scaling rules for manual or automatic scaling. | ||
Scheduled task | N/A |
| |
Event-triggered task |
|
Modify scaling groups
If you want to modify scaling groups, scaling configurations, scaling rules, lifecycle hooks, scheduled tasks, and event-triggered tasks, you can perform the operations described in the following table.
Item | User guide | API reference | Description |
Scaling group | If your scaling group cannot meet your business requirements, you can modify the parameter settings of the scaling group. | ||
Scaling configuration |
| ||
Scaling rule | If your scaling rule cannot meet your business requirements, you can modify the parameter settings of the scaling rule. | ||
Lifecycle hook | If your lifecycle hook cannot meet your business requirements, you can modify the parameter settings of the lifecycle hook. | ||
Scheduled task | If your scheduled task cannot meet your business requirements, you can modify the parameter settings of the scheduled task. | ||
Event-triggered task | If your event-triggered task cannot meet your business requirements, you can modify the parameter settings of the event-triggered task. You can modify the trigger rules for event-triggered tasks. You can also add multiple trigger rules or delete all existing trigger rules. |
Delete scaling groups
If you no longer require your scaling groups, instances, scaling configurations, scaling rules, lifecycle hooks, scheduled tasks, and event-triggered tasks, you can perform the operations described in the following table.
Item | User guide | API reference | Description |
Scaling group | When you delete scaling groups, the scaling configurations and scaling rules in the scaling groups are also deleted. You can delete scaling groups that you no longer require to free up the scaling group quota. | ||
Instance list | You can manually delete instances or remove instances that you no longer require from scaling groups. | ||
Scaling configuration | You can delete scaling configurations that you no longer require to free up the scaling configuration quota. | ||
Scaling rule | You can delete scaling rules that you no longer require to free up the scaling rule quota. | ||
Lifecycle hook | You can delete lifecycle hooks that you no longer require to free up the lifecycle hook quota. | ||
Scheduled task | You can delete scheduled tasks that you no longer require to free up the scheduled task quota. | ||
Event-triggered task | You can delete event-triggered tasks that you no longer require to free up the event-triggered task quota. |