Azure Functions without Premier Tier

R Peaks 20 Reputation points
2023-08-01T15:17:47.5066667+00:00

How can I use Functions and private endpoints. We do not want to use premier tier due to cost constraints

Is there any alternative workaround

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,856 questions
{count} votes

Accepted answer
  1. MayankBargali-MSFT 70,126 Reputation points
    2023-08-02T05:05:07.9066667+00:00

    @R Peaks Thanks for reaching out.

    Assuming that you want to communicate with your function app and other azure resource limiting the inbound traffic without using the premium tier and want to see if private endpoint works with any other tier.

    Azure Private Endpoint is a network interface that connects you privately and securely to a service powered by Azure Private Link. Private Endpoint uses a private IP address from your virtual network, effectively bringing the service into your virtual network. You can use Private Endpoint for your functions hosted in the Premium and App Service plans. However, if you do not want to use the Premium tier due to cost constraints, you can use service endpoints to ensure inbound traffic to your API app comes only from the subnet used by your front-end web app.

    Service endpoints help to secure the API app, but you could still have data exfiltration from your front-end app to other apps in the app service. When you use private endpoints, you don't have the possibility of data exfiltration.

    Here are some considerations to help you decide which method to use

    • When you use service endpoints, you only need to secure traffic to your API app to the integration subnet.
    • When you use private endpoints, you have two subnets at play, which adds complexity. Also, the private endpoint is a top-level resource and adds management overhead.

    In case if you have any other requirement then please share more details so I can assist you. You can refer to this document for more details.

    If you have any other queries, then please let me know.

    2 people found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Ben Gimblett 4,245 Reputation points Microsoft Employee
    2023-08-01T15:37:56.84+00:00

    Hey @R Peaks what is your use case? If you can provide more info we can try and offer some alternatives

    The short answer is the private endpoint feature is not supported on the consumption plan.

    That being said; if you use an App service plan to host your function then the basic tier supports private endpoints https://learn.microsoft.com/en-us/azure/app-service/networking/private-endpoint

    But, there are some differences to the way the plans work and the pricing for the basic plan is highly likely to end up more than a function running in consumption (however this very much depends on the usage profile).
    In general App service isn't a good hosting choice for event driven functions that need to scale for "bursty" loads (if the function here isn't event driven, or it is and it's a predictable scale then that's easier).

    For more info on hosting options see https://learn.microsoft.com/en-us/azure/azure-functions/functions-scale#overview-of-plans

    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.