Skip to content

Latest commit

 

History

History

function-app-dedicated-plan

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
description page_type products urlFragment languages
This template provisions a function app on a dedicated hosting plan, meaning it will be run and billed just like any App Service site.
sample
azure
azure-resource-manager
function-app-dedicated-plan
bicep
json

Azure Function App Hosted on Dedicated Plan

This sample Azure Resource Manager template deploys an Azure Function App hosted on Dedicated plan and required resource including ZipDeploy extension to mount zip package for deployment.

Deploy to Azure

OS

This template has a parameter functionPlanOS to choose Windows or Linux OS. Windows is selected by default. If you choose Linux, then parameter linuxFxVersion will be required, so you can skip it for Windows.

Dedicated Plan

The Azure Function app provisioned in this sample uses an Azure Functions Dedicated plan.

  • Microsoft.Web/serverfarms: The Azure Functions Dedicated plan (a.k.a. App Service plan)

Azure Function App

The Function App uses the AzureWebJobsStorage app setting to connect to a Storage Account.

  • Microsoft.Web/sites: The function app instance.

ZipDeploy Extension

The Zip Deploy extension is added along with recommended app setting WEBSITE_RUN_FROM_PACKAGE=1 to mount the zip package for deployment. This is the recommended path for deployment, except for Linux Consumption Plan

  • Microsoft.Web/sites/extensions: The ZipDeploy extension.

Azure Storage account

The Storage account that the Function uses for operation and for file contents.

Application Insights

Application Insights is used to provide monitor the Azure Function.

  • Microsoft.Insights/components: The Application Insights instance used by the Azure Function for monitoring.

Tags: Microsoft.Storage/storageAccounts, microsoft.insights/components, Microsoft.Web/serverfarms, Microsoft.Web/sites, Microsoft.Web/sites/extensions