How to autoscale to available reserved instances instead of failing

Aquila Sands 1 Reputation point
2020-04-24T08:11:50.687+00:00

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 App Services
Azure App Services
A feature of Azure App Service used to create and deploy scalable, mission-critical web apps.
4,321 questions
No comments
{count} votes

1 answer

Sort by: Most helpful
  1. SnehaAgrawal-MSFT 11,256 Reputation points Microsoft Employee
    2020-04-24T14:34:31.387+00:00

    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://learn.microsoft.com/en-us/azure/azure-monitor/platform/autoscale-best-practices#autoscale-best-practices

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

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