Scale your application
Zuletzt aktualisiert am
SCA offers two scaling modes. You can switch between them at any time. During public preview, an application runs at most 10 instances.
| Mode | Instances | Best for |
|---|---|---|
| Manual | A fixed number | Steady traffic, or when every request must be fast |
| Autoscaling | Between a minimum of 0 and a set maximum | Variable or event-driven traffic |
Use manual scaling
Section titled “Use manual scaling”-
Open the application and edit Scaling.
-
Select Manual.

-
Set the number of instances.
Use autoscaling
Section titled “Use autoscaling”With autoscaling, SCA adjusts the number of instances up or down based on the conditions you define. This page covers scaling on HTTP traffic. To scale on other events, see Scale on queues, databases, and schedules.
-
Open the application and edit Scaling.
-
Select Autoscaling.

-
Set the minimum and maximum number of instances.
-
Click on Add rule
-
Choose what the rule measures:
- Concurrent requests: how many requests one instance handles at the same time. Suits most web applications and APIs.
- Requests per second: how many requests one instance receives each second. Suits short, uniform requests.

-
Set the target value per instance. When traffic goes above the target, instances are added, up to the maximum.
-
Save.
For example, with Concurrent requests set to 50 and 200 requests in progress, the application runs 4 instances.
Scale to zero
Section titled “Scale to zero”Set the minimum to 0 and the application scales down to zero instances when it receives no traffic. Its status changes to Idle. The next request starts an instance and is answered once the instance is ready, so that first response takes longer than usual.

While an application is idle, no instances run and no compute is charged.
To scale on something other than HTTP traffic, such as a queue or a schedule, see Scale on queues, databases, and schedules.