question

AquilaSands-0027 avatar image
0 Votes"
AquilaSands-0027 asked ·

How to autoscale to available reserved instances instead of failing

I have a S1 tier web app in the UK South region with a custom autoscale out rule that increases the instance count by 5 which failed because the available reserved instances was 3.

Is there a way to scale to the number of available reserved instances instead of failing?

azure-webappsazure-webapps-scaling
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

SnehaAgrawal-MSFT avatar image
0 Votes"
SnehaAgrawal-MSFT answered ·

Thanks for asking question! Could you please confirm for which region and tier you are using?

Also, if you are using manual scale or Custom autoscale. Adding screen shot below for your reference. 7682-inked2020-04-24-19-41-19-snagautoscaledemo-scale-o.jpg




To elaborate on this manual scaling is reset by autoscale min and max as if you manually update the instance count to a value above or below the maximum, the autoscale engine automatically scales back to the minimum (if below) or the maximum (if above) means if you set the range between 3 and 6. If you have one running instance, the autoscale engine scales to three instances on its next run.
Manual scaling is temporary unless you reset the autoscale rules as well.


You may refer to below links for more details on this:

https://docs.microsoft.com/en-us/azure/azure-monitor/platform/autoscale-best-practices#autoscale-best-practices

https://docs.microsoft.com/en-us/azure/azure-monitor/platform/autoscale-get-started

https://docs.microsoft.com/en-gb/azure/azure-monitor/platform/autoscale-understanding-settings


· 3 ·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@AquilaSands-0027 Just checking if you have chance to see previous response.

0 Votes 0 ·

Hi, yes I updated the question with the additional info.

0 Votes 0 ·

Thanks for reply! You may want to investigate the Autoscaling best practices to see if this helps. Also recommend you to configure your autoscale logs to be sent to the log Analytics workspace by using Diagnostic Settings and troubleshoot using auto scale logs.

Let me know if issue persists.


0 Votes 0 ·