tencent cloud

Auto Scaling

Product Introduction
Overview
Strengths
Scenarios
Service Limits
Access Management
Purchase Guide
Getting Started
Creating a Scaling Plan in 5 Minutes
Step 1:Creating a Launch Configuration
Step 2:Creating a Scaling Group
Step 3:Creating a Scaling Policy
Tutorial
Creating Web Services
Creating High-performance Computing Cluster
Creating Servers for Sending Requests
Configuring For High Availability Services
Launch Configuration
Launch Configuration Overview
Creating a Launch Configuration
Viewing Launch Configuration List
Modifying Launch Configurations
Exception Detection
Scaling Groups
Scaling Group Overview
Creating a Scaling Group
Viewing Scaling Group List
Modifying Scaling Groups
Modifying Bound Instances
Adding CLBs
Delete scaling group
Creating Notifications
Creating Scaling Activity Notifications
Specifying Notification Recipients
Expanding and Reducing Capacity
Auto Scaling Lifecycle Hook
Managing Scheduled Actions
Managing an Alarm-triggered Policy
Instance Health Check
Expanding Capacity Manually
Scale-in Process
Viewing Scaling Activities
Suspending and Resuming Scaling
Scale-in Removal Protection
Scaling Activity Cancelled
Scaling Activity Failed
Cooldown Period
Monitoring
Monitor Alarm Metrics
Running Status Check
Scheduled Task
Scheduled Task Execution Time Description
Troubleshooting
Scaling Group Doesn't Work
Scaling Activity Failed
Use Cases
Setting a Fixed Outbound IP Address for Scaling Groups
Deploying Elastic Web Application Service
Enabling Services Upon CVM Start-up
Customer Cases
iCarbonX
API Documentation
History
Introduction
API Category
Making API Requests
Scaling Group APIs
Scaling Group Instances APIs
Launch Configuration APIs
Scheduled Action APIs
Alarm Trigger Policy APIs
Notification APIs
Lifecycle Hook APIs
Instance Refresh APIs
Other APIs
Data Types
Error Codes
FAQs
Contact Us
Glossary

Creating a Scaling Group

PDF
Modo Foco
Tamanho da Fonte
Última atualização: 2025-02-11 10:38:16

Overview

This document describes how to create a scaling group in the Auto Scaling console.

Directions

Selecting a region

1. Log in to the Auto Scaling console and click Scaling group in the left sidebar.
2. At the top of the Scaling group page, select the region where a scaling group will be created. CVM instances and CLB instances must be in the same region as the one specified for launch configuration. For example, if the Guangzhou region is specified for the launch configuration, only CVM instances in Guangzhou will be automatically added to the scaling group. For a scaling group in Guangzhou, you cannot add CVM instances or bind CLB instances from other regions (such as Shanghai, Beijing, Hong Kong (China)).

Configuring the scaling group

1. On the Scaling group page, click Create.
2. In the pop-up window, complete the basic configuration of the scaling group as shown below:


Name: identifies the scaling group with a custom name, such as Website logic layer.
Min Capacity: defines the minimum number of instances in the scaling group.
Initial Capacity: defines the number of automatically created instances when the scaling group is created.
Max Capacity: defines the maximum number of instances in the scaling group.
Launch Configuration: specifies the launch configuration to scale out CVM instances.
Supported Network: specifies the network attribute of the scaled-out CVMs. Select a VPC in which CVM instances will be scaled out.
Support subnet: specifies the subnet in which the CVMs will be scaled out. You can select multiple subnets to locate the CVM instances automatically created for scale-out, implementing cross-subnet disaster recovery.
3. Click Next to complete the load balancer configuration as shown below:

You can select an existing CLB or create one. Instances created for scale-out will be mounted to the associated CLB automatically. If you need to configure multiple load balancers, please modify the scaling group after creation.
4. (Optional) Click Next: other configurations to complete configurations as shown below or directly click Completed to skip this step.


Removal policy: identifies which instances should be removed first when AS needs to remove instances from the scaling group for scale-in, instances with terminate protection enabled will not be selected:
Remove the oldest instances: removes the earliest added instances in the scaling group. We recommend you choose this option.
Remove the latest instances: removes the latest added instances in the scaling group.
Instance Creation Policy: specifies the policy to add instances in different availability zones of multiple subnets for scaling-out. Available options include:
Preferred Availability Zones (Subnets) First: the availability zones (subnets) will be selected sequentially from top to bottom of the configuration list till success. This mode is suitable for architectures with one primary availability zone and other secondary availability zones.
Multiple Availability Zones (Subnets) Distribution: during scale-out, the system will select availability zones (subnets) with relatively few instances in which to create new instances. This mode is suitable for architectures where instances need to be evenly distributed.
Tag Configuration: categorizes and manages resources with tags. For more information, see Tag.
5. Click Completed.

Subsequent Operations

The scaling group is now created. To implement auto scaling, you need to proceed with the following 3 operations:

Ajuda e Suporte

Esta página foi útil?

comentários