This topic describes the common terms and operations in Auto Scaling.
|Auto Scaling||Auto Scaling is a service that automatically scales Elastic Compute Service (ECS) instances. You can configure the settings based on your business needs. When business loads increase, Auto Scaling automatically adds ECS instances to ensure computing power. When business loads decrease, Auto Scaling automatically removes ECS instances to reduce costs.||What is Auto Scaling?|
|scaling group||A scaling group is a group of ECS instances that are dynamically scaled based on the configured scenario. You can specify the minimum and maximum numbers of ECS instances in a scaling group, and associate Server Load Balancer (SLB) and ApsaraDB RDS instances with the scaling group.||Overview|
|ECS instance||An ECS instance is a virtual server that includes basic computing components such as CPU, memory, operating system, bandwidth, and disks. ECS eliminates the need to invest in IT hardware up front and allows you to scale computing resources on demand. This makes ECS more convenient and efficient than physical servers.||What is ECS?|
|Server Load Balancer instance or SLB instance||Server Load Balancer (SLB) is a service that distributes network traffic on demand to a group of backend servers to increase the throughput of your applications. You can use SLB to prevent service interruptions caused by single points of failure (SPOFs) and improve the availability of applications.||What is SLB?|
|RDS instance||RDS is a stable and reliable online database service that supports elastic scaling. It supports mainstream database engines and offers a full range of database solutions, such as disaster recovery, backup, restoration, monitoring, and migration.||What is ApsaraDB RDS?|
|scaling mode||A scaling mode corresponds to operations for adding or removing ECS instances. Scaling modes include scheduled mode, dynamic mode, fixed quantity mode, custom mode, health mode, and multi-mode.||Scaling modes|
|instance configuration source||Auto Scaling uses the instance configuration source that you selected to create ECS instances. Instance configuration sources of scaling groups include scaling configurations and launch templates.||Overview of instance configuration sources|
|scaling configuration||A scaling configuration is a source of instance configuration information and includes the configuration information of ECS instances.||Create a scaling configuration|
|scaling task||Scaling tasks are classified into scheduled tasks and event-triggered tasks. A scheduled task can be used to scale ECS instances at the specified time. An event-triggered task can be used to dynamically scale ECS instances based on the specified monitoring metrics.|
|scaling activity||A scaling activity records the changes of the number of ECS instances in a scaling group, the boundary values of the scaling group, and the expected number of ECS instances. Scaling activities are triggered when scaling rules are executed, the boundary values of a scaling group are modified, or the expected number of instances are modified.||View the details of a scaling activity|
|expected number of instances||After the Expected Number of Instances feature is enabled, Auto Scaling automatically
keeps the number of ECS instances at the expected value without the need for manual
Note You can enable this feature only when you create a scaling group. You can modify the expected number of instances for a scaling group that has the feature enabled.
|Expected number of instances|
|parallel scaling activity||A scaling activity triggered by using one of the following methods is a parallel scaling
A parallel scaling activity can be executed if the ongoing scaling activities are also parallel ones.
Note Parallel scaling activities and non-parallel scaling activities are differentiated only after the Expected Number of Instances feature is enabled. Otherwise, no other scaling activities can be executed while a scaling activity is in progress.
|Expected number of instances|
|non-parallel scaling activity||A scaling activity that is not a parallel activity is a non-parallel scaling activity.
No other scaling activities can be triggered if a non-parallel scaling activity is
Note Parallel scaling activities and non-parallel scaling activities are differentiated only after the Expected Number of Instances feature is enabled. If the Expected Number of Instances feature is not enabled, no other scaling activities can be executed while a scaling activity is in progress.
|Expected number of instances|
|stable instance||A stable instance refers to an ECS instance that is in the In Service, Protected, or Standby state in a scaling group.||ECS instance lifecycle|
|scaling process||A scaling process refers to a process that you can manually suspend and resume, including the scale-out process, scale-in process, health check, scheduled task, and event-triggered task. Scaling processes help you control scaling groups at the process level.|
|lifecycle of an ECS instance in a scaling group||The lifecycle of an ECS instance in a scaling group refers to the process from the
time when the instance is created to the time when it is released. The lifecycle management
mode of an ECS instance depends on how the instance is created.
||ECS instance lifecycle|
|lifecycle hook||A lifecycle hook is used to put ECS instances that are being added to or removed from a scaling group into the wait state. After the ECS instances are put into the wait state, you can perform custom operations on them. For example, after an ECS instance is created, you can use a lifecycle hook to put the instance into the wait state. You can perform tests on the instance to ensure its service availability. Then, Auto Scaling adds the instance as an backend server to an associated SLB instance.||Create a lifecycle hook|
|cooldown time||The cooldown time refers to a period during which Auto Scaling cannot execute new scaling activities after one scaling activity is complete in a scaling group. Within the cooldown time, Auto Scaling rejects all scaling activity requests triggered by event-triggered tasks from CloudMonitor. This prevents scaling activities from being triggered frequently due to metric value fluctuations.||Cooldown time|
|vertical scaling||Vertical scaling is a service that can change instance types (vCPUs and memory) of pay-as-you-go instances. When your business requirements increase, vertical scaling upgrades instance types to ensure computing power. When your business requirements decrease, vertical scaling downgrades instance types to reduce costs. The system monitors changes in business requirements on a regular basis or by using CloudMonitor metrics and automatically triggers vertical scaling tasks to meet your diversified business requirements.||Overview|
|Create a scaling group||Create a scaling group that is used to manage ECS instances used for the same scenario.||Create a scaling group|
|Create a scaling configuration||Create a scaling configuration that is used to specify the configuration information of automatically created ECS instances.||Create a scaling configuration|
|Create a scaling rule||Create a scaling rule that is used to add or remove ECS instances when scaling activities are triggered, or to intelligently set the boundary values of a scaling group.||Create a scaling rule|
|Create a scheduled job||Create a scheduled task that is used to scale ECS instances at the specified time.||Create a scheduled task|
|Create an event-triggered task||Create an event-triggered task that is used to dynamically scale ECS instances based on specified monitoring metrics.||Event-triggered task overview|
|Execute a scaling rule||Execute an existing scaling rule. You can execute a scaling rule manually, or by using a scheduled task or event-triggered task.||Execute a scaling rule|
|Add existing ECS instances to a scaling group||Manually add existing ECS instances to a scaling group.
Note Subscription instances can be added to a scaling group, but their lifecycle cannot be managed by the scaling group.
|Manually add an ECS instance to a scaling group|
|Perform rolling update||Update the configurations of ECS instances in a scaling group in batches. You can update the images of, execute scripts on, or install Operation Orchestration Service (OOS) packages on ECS instances in the In Service state in a scaling group.||Rolling update|
|Perform an image update task||Select an ECS instance and replace the image of the specified scaling configuration
with that of the ECS instance. Then, ECS instances are created based on the new image.
Note If you want to update the images of existing ECS instances in a scaling group, use the rolling update feature.
|Replace images in multiple scaling configurations at a time|
|Suspend a scaling process||Suspend a scaling process. This allows you to perform some operations. For example, before you stop an ECS instance, you must suspend the health check process to make sure that the instance is not removed from the scaling group because the instance fails the health check.||Suspend a scaling process|
|Resume a scaling process||Resume a suspended scaling process. This allows Auto Scaling to continue to perform some operations based on its functional logic. For example, after the health check process is resumed, Auto Scaling continues to perform health checks on ECS instances in the scaling group and removes unhealthy instances in a timely manner.||Resume a scaling process|
|Delete and remove an instance||Remove an ECS instance from a scaling group and then release it.||Manually remove or delete an ECS instance|
|Remove an instance||Remove an ECS instance from a scaling group, but do not release it.||Manually remove or delete an ECS instance|
|Create a vertical scaling task||Create a vertical scaling task that is used to change the instance type (vCPUs and memory) of an ECS instance in real time or at the scheduled time.||Create a vertical scaling task|
|Cancel or delete a vertical scaling task||Cancel a vertical scaling task that is pending for execution or delete a vertical scaling task that has been canceled or executed.||Cancel or delete a vertical scaling task|