Azure App Service minimum instance

David Ravnsborg 21 Reputation points
2022-05-09T19:49:31.543+00:00

Hello,

I was wondering about the minimum number of instances I can select when using auto-scaling with Azure App Service. I have previously used Google Cloud Platform, and became quite familiar with both Google Kubernetes Engine and Google App Engine. The latter allows you to scale down to 0 instances when the app/service is not in use, which is great for apps/services with intermittent loads. It was also very fast to go from 0 to 1 instance, when a request is made to the app/service.

I have poked around the Azure docs, but I haven't found a way to do something similar with Azure as of yet. Can I have an Azure App Service - or other managed service - scale down to 0 instances when there is no traffic (i.e. all of our clients are located in North America, and so there will be little to no interaction with our app at night, meaning it would be ideal for the apps/services to go dormant at night unless a request comes in to their URL where a small start-up time for the container/instance would be acceptable).

Thanks!

Azure Managed Applications
Azure Managed Applications
An Azure service that enables managed service providers, independent software vendors, and enterprise IT teams to deliver turnkey solutions through the Azure Marketplace or service catalog.
148 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,910 questions
0 comments No comments
{count} votes

Accepted answer
  1. Takahito Iwasa 4,851 Reputation points MVP
    2022-05-09T22:09:22.403+00:00

    Hi, @David Ravnsborg

    For App Service, it seems that you need to specify a minimum of 1 or more.

    For managed services other than App Service, you can specify a minimum of 0 using Azure Container Apps.
    https://learn.microsoft.com/ja-jp/azure/container-apps/scale-app

    2 people found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.