You can also scale up by choosing a different App Service plan. For more information, see Scale instance count manually or automatically. You can also enable autoscale, though autoscale will be slower than the elastic scale of the Premium plan. Using an App Service plan, you can manually scale out by adding more VM instances. On a Consumption plan, the platform activates function apps automatically.Įven with Always On enabled, the execution timeout for individual functions is controlled by the functionTimeout setting in the host.json project file. The Always on setting is available only on an App Service plan. On an App Service plan, the functions runtime goes idle after a few minutes of inactivity, so only HTTP triggers will "wake up" your functions.
If you run on an App Service plan, you should enable the Always on setting so that your function app runs correctly. To learn more, see the App Service pricing page. You are billed only for the plan, regardless of how many function apps or web apps run in the plan. This differs from Azure Functions Consumption plan or Premium plan hosting, which have consumption-based cost components. You pay for function apps in an App Service Plan as you would for other App Service resources. You want to provide a custom image on which to run your functions.You have existing, underutilized VMs that are already running other App Service instances.For details about how the App Service plan works, see the Azure App Service plans in-depth overview.Ĭonsider an App Service plan in the following situations: These plans include Basic, Standard, Premium, and Isolated SKUs. One or more function apps can be configured to run on the same computing resources (App Service plan) as other App Service apps, such as web apps. These compute resources are analogous to the server farm in conventional hosting. For other hosting options, see the hosting plan article.Īn App Service plan defines a set of compute resources for an app to run. This article is about hosting your function app in an App Service plan, including in an App Service Environment (ASE).