弹性伸缩组
ZStack Cloud offers auto-scaling capabilities that let you automatically add or remove VM instances from an auto scaling group (ASG) in response to load balancing of VM instances, your business load changes, and predefined scaling policies. With the auto scaling service, you can better leverage the Cloud resources, reduce the O&M costs, and ensure smooth business operations. Currently, the auto scaling service is applicable to KVM VM instances.
Scaling Mode
Currently, the Cloud supports the following two types of scaling mode:
- Auto Scaling
- Auto scaling includes elastic scale-out and elastic scale-in. For the elastic scale-out, when your businesses are growing, VM instances will be automatically added to ensure your business continuity. For the elastic scale-in, if your businesses decrease, VM instances will be automatically reduced.
- With the ZWatch monitoring alarm, the auto scaling mode can be triggered. You can select an endpoint type as needed, including email, DingTalk, HTTP application, short message service (SMS), Microsoft Teams, and system endpoint.
The auto scaling mode is shown in Auto Scaling.Figure 1. Auto Scaling
- Elastic Self-Health
- In the elastic self-health mode, an auto scaling group monitors the health status of the VM instances within the group, automatically removes the unhealthy VM instances, and automatically adds additional VM instances. In this regard, healthy VM instances within the group will be ensured to be automatically adjusted not lower than the minimum specified number of VM instances.
- Two types of health check are provided to trigger the elastic self-health, including load balancer health check and VM health check. If an auto scaling group configures the load balancing service, we recommend that you select the health check mechanism native to a load balancer.
The elastic self-health is shown in Elastic Self-Health.Figure 2. Elastic Self-Health