"Always On" in Azure Function Apps running on an App Service Plan has any additional cost?

Priyanka Chaudhuri 105 Reputation points

Does enabling "Always On" on a Linux/ Windows Function App have additional cost when running on an App Service Plan?

I went through this links - https://learn.microsoft.com/en-us/azure/azure-functions/dedicated-plan#always-on

  1. I want to understand why upon receiving a HTTP request, the HTTP Trigger function (after idling out) still responds with a 404, and Azure does not "wake up" the function?
  2. If I turn on "Always On", would it add to the monthly charges of running the function app on the app service plan?
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
3,700 questions
{count} votes

1 answer

Sort by: Most helpful
  1. JananiRamesh-MSFT 15,236 Reputation points

    @Priyanka Chaudhuri Thanks for reaching out. Enabling “Always On” for a Function App running on an App Service Plan does not have an additional cost. The “Always On” feature keeps the app loaded even when there’s no traffic.

    It’s particularly useful for scenarios where you want to avoid the latency that comes with loading the app after idle periods.

    If your Function App is not up and running, it might respond with a 404 error. Turning on “Always On” could help in avoiding such issues as it ensures that your Function App is always loaded and ready to respond to traffic.

    please refer: https://github.com/Azure/azure-functions-host/issues/8021#issuecomment-1004303750

    As per the above reference if it is a http triggered app the http request itself works as the trigger to wake up the app if it had idled out. this will lead to delayed start.


    let me know incase of further queries, I would be happy to assist you.

    Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics