Choose Standard S1 plan to use this feature. Now available in lower plans
Set the scaling type of your app service.
Click ‘Scale out’ option
Option Available
- Manual is by default, Once Instance by default
- Rule-based autoscaling.
- We can set how many instances we want, to have for this app service.
- Increase no of instance to 2 . we can raise this number so that if we expect a load that is applied to our app service,
- App Service may be autoscaled to handle load spikes, therefore you may begin with single instance and the autoscaling function can immediately add instances to the App Service when the traffic on the website will abruptly rise. Then, when all returns to normal, then these occurrences will be eliminated.
- The autoscale is based on various metrics,
Set Auto Scaling
- Check Rule based and click Configure
Configure Auto Scaling as with Rules
- Click Add Rule to scale out
Custom Auto scale conditions with Rule
Set scale out rule is based either on the CPU percentage or on the HTTP queue length, meaning there are many requests that are waiting in queue and can't be served because the server is busy. So when one of these condition is met, then the autoscaling will add another instance to the App Service.
Can add multiple condition and Save