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

Expanding Capacity Manually

PDF
Focus Mode
Font Size
Last updated: 2024-01-08 17:53:29
Beside adding and removing instances automatically, AS also allows you to add and remove instances manually.

Adding existing CVM instances to a scaling group

You can add existing CVM instances to a scaling group manually.

Prerequisites

The instance is in the running status.
The instance is in the same region as the scaling group.
The instance and the scaling group must be in the same basic network or VPC.

Notes

AS will add the number of instances to be added to the desired capacity of the group. For example, if the current desired capacity of your scaling group is 5, and you add 3 instances manually, the desired capacity of your scaling group will become 5 + 3 = 8. If the sum of the number of instances to be added and the desired capacity exceeds the maximum capacity of the group, the request will fail.
If the scaling group is associated with one or more load balancers, manually added instances will be automatically associated with these load balancers.
The scaling group will remove automatically created CVMs first during scale-in. If there are no more automatically-created CVMs, then the manually added CVMs will be removed.
For manually added instances, when they are removed from the scaling group, they will be unbound with the CLB and will not be terminated.

Manually adding instances in console

1. Log in to the Scaling Group Console, and click the ID of the scaling group to which you want to add an instance.
2. Go to the scaling group details page. Select Associate Instances -> Add an Instance. This is shown in the following figure:


3. In the dialog box, check the corresponding instance, and click OK. This is shown in the following figure:

Modifying the desired capacity to scale out quickly

Scenarios

For the following scenario, we recommended to use launch configuration as instructed in Scale-out with Launch Configuration. You can complete CLB forwarding rules, CVM configurations and business deployment in advance, and then you can modify the parameters of the scaling group to rapidly complete scale out.
It’s hard to predict your business traffic, but you do not want to leave the scaling decisions entirely to the system. If the business fluctuations are predictable, see Managing scheduled actions.
Your computing needs are based on projects, and the CVMs to be used every time are similar. For example, this may involve collection of social conditions and public opinions, sequencing of genes, or prediction of weather.

Scale-out with Launch Configuration

Execute the following steps to configure a CVM template as the launch configuration, and to configure the corresponding scaling group.
1. Create a custom image. For more information, see Creating a custom image.
Note:
Instances added later for scale-out will be configured using this image.
Suggested steps to create a custom image: You can deploy your services on an existing CVM or a new CVM, set the services to be launched on the boot of the operating system, and create a custom image.
2. For information about creating a launch configuration based on this custom image, see Creating a launch configuration.
3. Create a scaling group. During the creation process, select the created launch configuration. Enter the minimum capacity, maximum capacity, and initial capacity of the cluster as required by your business.
4. After you complete the preceding steps, when the business needs to scale out, you can modify the scaling group configurations to raise the minimum capacity, the maximum capacity, and the desired capacity, and the AS will rapidly perform scaling.

Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback