Azure Function App Service

Azure Function App Service

 


Intro

A Function App lets you group functions as a logical unit for easier management, deployment and sharing of resources. Functions lets you execute your code in a serverless environment without having to first create a VM or publish a web application


Documentation

  •  

 


Tips and Tidbits

 

 


Create A Function App

 

 

  • When you create a function app in Azure, you must choose a hosting plan for your app.

  • There are three basic hosting plans available for Azure Functions: 

    • Consumption plan

      • Scale automatically and only pay for compute resources when your functions are running.

      • On the Consumption plan, instances of the Functions host are dynamically added and removed based on the number of incoming events.

    • Premium plan

      • Automatically scales based on demand using pre-warmed workers which run applications with no delay after being idle, runs on more powerful instances, and connects to virtual networks.

      • Your function apps run continuously, or nearly continuously.
        ✔ You have a high number of small executions and a high execution bill, but low GB seconds in the Consumption plan.
        ✔ You need more CPU or memory options than what is provided by the Consumption plan.
        ✔ Your code needs to run longer than the maximum execution time allowed on the Consumption plan.

    • Dedicated (App Service) plan.

      • Best for long-running scenarios where Durable Functions can't be used. Consider an App Service plan in the following situations:

        ✔ You have existing, underutilized VMs that are already running other App Service instances.
        ✔ Predictive scaling and costs are required