question

DavidRavnsborg-2137 avatar image
0 Votes"
DavidRavnsborg-2137 asked DavidRavnsborg-2137 commented

Azure App Service minimum instance

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-applicationsazure-webapps-scaling
5 |1600 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

TakahitoIwasa avatar image
1 Vote"
TakahitoIwasa answered DavidRavnsborg-2137 commented

Hi, @DavidRavnsborg-2137

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://docs.microsoft.com/ja-jp/azure/container-apps/scale-app

· 1
5 |1600 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.

That's exactly what I was looking for, thank you! Here is the English version of the doc (for other English-speaking users who may also see this answer): https://docs.microsoft.com/en-us/azure/container-apps/scale-app

Do you, or anyone else, know if you can also integrate Container Apps into a Power Automate workflow, the same way you can for Azure App Service?

EDIT: I see a Power Automate connector for Azure Container Instances: https://powerautomate.microsoft.com/en-ca/connectors/details/shared_aci/azure-container-instance/
However, it appears that Azure Container Apps are different from Azure Container Instances:
https://docs.microsoft.com/en-us/azure/container-instances/container-instances-overview
https://docs.microsoft.com/en-us/azure/container-apps/overview

0 Votes 0 ·