Rango
Rango

Reputation: 2106

Azure AppService Autoscale feature

I enabled the scaleout setting for my Azure App Service.

enter image description here

However, when I go to the Autoscale setting, choose the App Service Plan, and see that the autocale is not enabled.

enter image description here

Please help me to explain what is the difference between these features, or what wrong with my configuration?

Upvotes: 0

Views: 78

Answers (1)

SiddheshDesai
SiddheshDesai

Reputation: 8157

You are not able to see the Rule in the Custom autoscale because you have used Automatic Preview Autoscale option which does not require you to manage the rule manually as it will be handled by your Web App automatically depending on the Load.

enter image description here

You can check if the Web app is autoscaled by checking the Instance count in the App Service Plan option in Overview tab:- Here- P1 indicates the Premium plan and 1 count indicates the instances that are scaled or used by the Web app:-

enter image description here

As you are using Premium tier the Memory and CPU size is already more, Thus the Website will autoscale automatically only when the desired threshold is met.

You can create the Auto-scale rule manually by selecting Rule Based option like below:-

I created one sample Rule for Standard Tier app just for demonstration:-

enter image description here

enter image description here

enter image description here

Now, When the traffic in my Web app increased, The autoscale ran successfully and the Instances were added according to my rule above:-

enter image description here

enter image description here

Upvotes: 1

Related Questions