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

Amar-Azure-Practice 656 Reputation points
2021-03-21T17:40:16.413+00:00

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 Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,196 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,798 questions
{count} votes

2 answers

Sort by: Most helpful
  1. SUNOJ KUMAR YELURU 13,921 Reputation points MVP
    2021-03-22T04:00:21.36+00:00

    Hi @Amar-Azure-Practice
    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.

    0 comments No comments

  2. Pramod Valavala 20,511 Reputation points Microsoft Employee
    2021-03-22T11:53:46.52+00:00

    @Amar-Azure-Practice 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.

    0 comments No comments