Skill 3.2.2
Configure and deploy function apps
Key Concepts
The Flex Consumption plan is recommended for new serverless apps: it runs on Linux, scales per function up to 1,000 instances, supports virtual network integration, and offers always ready instances to reduce cold starts. The Premium plan keeps warm instances, the Dedicated plan runs on an App Service plan, and functions can also run in Container Apps. The Consumption plan is legacy; Linux Consumption retires on 30 September 2028. Python function apps always run on Linux.
App settings become environment variables, including AzureWebJobsStorage for the host's storage account and APPLICATIONINSIGHTS_CONNECTION_STRING for monitoring; host.json configures host behaviour such as timeouts and extension settings. Code is published with func azure functionapp publish, with zip deployment, or from CI/CD pipelines; Flex Consumption uses one deploy to a storage container. Deployment slots, where the plan supports them, allow a swap with warm-up.