question

AmarnathManchala-5911 avatar image
0 Votes"
AmarnathManchala-5911 asked learn2skills commented

How many function app instances can be cretaed in one instance of the app service plan

Hi All,

I would like to understand how many instances of the function app host instances can be created before app service plan scales out.

We have one Azure function app with app service plan in (Premium) Multiple Azure functions are there in the Azure function app.

In the Autoscale we defined based on the no of HTTP request add one instance of the app service instance.

We would like to know how many concurrent instances can be run before the app service plan scales out.


azure-webappsazure-functions
· 2
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.

To follow-up, Please let us know if you have further query on this.
Please don’t forget to Accept the answer

0 Votes 0 ·

To follow-up, Please let us know if you have further query on this.
Please don’t forget to Accept the answer

0 Votes 0 ·
learn2skills avatar image
0 Votes"
learn2skills answered learn2skills edited

Hi @AmarnathManchala-5911
Thank You for posting in Q & A.

Scale Out is depending on your pricing tier, if it is Premium V2 pricing tier Max Scale out is 30 instances.
There are two workflows for scaling, scale up and scale out.
Scale out: Increase the number of VM instances that run your app. You can scale out to as many as 30 instances, depending on your pricing tier. App Service Environments in Isolated tier further increases your scale-out count to 100 instances.

The scale settings take only seconds to apply and affect all apps in your App Service plan. They don't require you to change your code or redeploy your application.

Scale up: Get more CPU, memory, disk space, and extra features like dedicated virtual machines (VMs), custom domains and certificates, staging slots, autoscaling, and more. You scale up by changing the pricing tier of the App Service plan that your app belongs to

how to set up your Autoscale settings for your resource in the Microsoft Azure portal.

80041-capture-p.jpg


If the Answer is helpful, please click Accept Answer and up-vote, this can be beneficial to other community members.



capture-p.jpg (108.2 KiB)
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.

PramodValavala-MSFT avatar image
0 Votes"
PramodValavala-MSFT answered

@AmarnathManchala-5911 While there is no particular limit to the number of apps in the same app service plan, note that they would be sharing the same resources of a single instance.

A Scale Out Setting is required to increase the number of instances and in your case, which would happen only when lots of HTTP Requests are coming in. To ensure more instances are added when compute resources are above a threshold, you would want to set a rule for the same.


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.