- Documentation
Code Pipeline
User guide
AI application
Scaling
Scaling
This article introduces how to scale the number of replicas for AI applications.
Background information
The AI application provides two methods: manual scaling and automatic scaling:
- When scaling an application is an urgent requirement, for example, during a sudden traffic surge, you can select the manual scaling method.
- When application scaling is a non-urgent requirement, such as periodic traffic peaks, you can select the automatic scaling method.
Prerequisites
- The AI application has been created and deployed, and the application must be deployed on a Volcengine Kubernetes Engine (VKE) cluster. For specific operations, refer to create and deploy AI application.
Procedure
- Log in to the current application
- Select AI application from the left navigation bar.
- On the AI application page, select the target AI application, click the application card, and enter the basic information tab for the current application.
Manual scaling
warning
If you configure both an automatic scaling policy and manual scaling, the results of manual scaling may be overridden by automatic scaling, so manual scaling may not take effect.
- On the Basic Information tab of the current AI application, click Manual Scaling in the upper right corner.
- In the pop-up dialog box, set the target number of instances.
- Click confirm to start scaling the application.
Auto scaling
tip
Each application only supports adding one scaling policy.
- Switch to the Elastic Scaling tab of the current application, and click Configure Elastic Scaling.
- In the pop-up Elastic scaling configuration panel, configure the relevant information as required.
- After configuration is complete, click confirm.
- After configuring and enabling the auto scaling policy, you can verify whether the auto scaling policy works as expected by observing the number of instances in environment > instance list.
Related Operations
After the application's auto scaling policy configuration is complete, you can view the details of the configured policy on the Elastic Scaling page. Enable, disable, edit, or delete automatic scaling policies as needed
Last updated: 2025.09.10 16:17:53