Last updated: 2019-12-14 14:08:31PDF
Welcome to use Tencent Cloud Auto Scaling (AS)!
Auto Scaling (AS) can automatically adjust computing resources according to users' business needs and policies. AS can properly increase or decrease CVM instances and complete the configuration based on the scheduled, periodic or monitoring policies specified by users. It can automatically increase CVM instances to ensure smooth and healthy business operations when business demands are soaring, and reduce CVM instances to save resources and costs when business demands are decreasing.
Users can perform such operations such as managing scaling groups and setting scaling configurations. For information on supported operations, please refer to API Overview.
Before using these APIs, please make sure that you have a thorough understanding of AS Product Overview and calling methods.
To allow you to get familiar with auto scaling services more quickly, we provide the definitions of some commonly used terms in the following table:
|Term||Full Name||Full Name||Description|
|AS||Auto Scaling||Auto Scaling||A management service that can automatically adjust computing resources based on users' business needs and policies.|
|scalingGroup||Scaling Group||Scaling Group||A collection of CVM instances that follow the same rule and apply to the same scenario.|
|scalingConfiguration||Scaling Configuration||Scaling Configuration||The scaling configuration is a template for automatically creating a CVM.|
|scalingScheduledTask||Scaling Scheduled Task||Scaling Scheduled Task||Perform AS activities as scheduled.|
|scalingPolicy||Scaling Alarm Policy||Scaling Alarm Policy||Automatically perform AS activities based on cloud monitoring metrics.|
|cooldown||Cooldown Period||Cooldown Period||A period of time when the corresponding scaling group is locked after a scaling activity is completed.|
2. API Quick Start
To use AS API, you need to complete at least the following three steps:
- Create scaling configuration
You can use API Create Scaling Configuration to create scaling configuration. It defines the configuration of a CVM instance automatically created through auto scaling.
- Create a scaling group
You can use API Create a Scaling Group to create a scaling group. You can specify the number of instances in the scaling group, select a scale-down policy to remove CVM instances, and select whether to add the scaling group to cloud load balance, etc.
- Create a scaling policy
After creating a scaling group, you need to specify a scaling policy for the group, i.e., a policy to increase or decrease CVM instances according to your actual needs. You can use API Create an Alarm Policy to create an alarm trigger policy to perform scaling activities based on cloud monitoring metrics (such as CPU utilization, and memory usage). You can also use API Create a Scheduled Task to create a scheduled task that can be used to perform scaling activities as scheduled, and you can also set to execute the scheduled task periodically.
3. Service Limits
Currently, all users may use auto scaling service in any scenarios.