Azure Functions using custom containers on consumption plan

toucan 21 Reputation points
2020-09-16T12:44:11.18+00:00

Hi,
Is there any up-to-date information on running Azure Functions using custom containers on the consumption (not premium) plan.

The tutorial on running Azure Functions using custom containers still states that these can be only run using the premium plan but it's from March.

I understood from a short Google search that a feature to run custom containers on the consumption plan was proposed or planned or in preview. Is there any definitive information on whether it will be available anytime soon?

Thanks

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,909 questions
0 comments No comments
{count} votes

Accepted answer
  1. krish-gh 2,331 Reputation points Moderator
    2020-09-16T17:09:40.313+00:00

    @toucan , A little correction to your understanding. "Custom" container can also run on App Service Plan along with Premium.
    But it's is not available in Consumption plan yet and the statement in the document you are referring still holds true. Also, currently there is no plan to add this support in consumption plan.

    But we would like to know more about your need to use custom container. Is there any dependency or something missing in Function Host which is needed by your app that made you to go for "Custom" container?

    UPDATE: Thanks for explaining your scenario for the need of custom container. One cost effective solution to this can be use Logic App and Azure Container Instances together. It will be like:

    1. Deploy your container in Azure Container Instances.
    2. Use Logic App ACI connector to start your container group when needed and then stop once done. For details on the connector, refer this.
    3. The above action can be scheduled using a recurrence trigger in Logic App.

    Since Logic App charges you for the action run (pay-as-you-use), it will bill only when your schedule runs per day. And for container instance, you will be only billed during when you run your container since every time you are stopping once done.

    1 person found this answer helpful.

2 additional answers

Sort by: Most helpful
  1. Lucas Rossi Speranza 1 Reputation point
    2022-11-13T15:59:59.837+00:00

    Azure Container Apps now allows you to create something that resembles a lot a serverless function app running in consumption plan, both in billing and functionality.

    0 comments No comments

  2. Ramya Oruganti 5 Reputation points Microsoft Employee
    2024-02-28T08:17:06.5766667+00:00

    Yes you deploy Azure Functions in a consumption plan using Azure Functions on Azure Container Apps. Refer link here https://learn.microsoft.com/en-us/azure/azure-functions/functions-deploy-container-apps?tabs=acr%2Cbash&pivots=programming-language-python

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.