Function App - single outbound IP address

Jaroslav Klima 21 Reputation points
2022-10-14T07:19:50.097+00:00

Please, what are the options for a Function App resource connected to a premium App Service plan to have only one outbound IP address. I need to use whitelists and I can't put the 40x outbound IP address there. Now I use a NAT gateway for this functionality, but it costs me 50% of the entire Azure cost. Are there some other options? Thank you very much for you help!

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,911 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,934 questions
0 comments No comments
{count} votes

Accepted answer
  1. Pierre-Luc Giguere 1,076 Reputation points
    2022-10-14T12:24:38.76+00:00

    Hi Jaroslav,

    Welcome to Q&A.

    There are 2 options (as of today at least):

    • Use premium or dedicated with NAT gateway (like you are doing)
    • Use App service Environment which is the Isolated tier of App service plan

    Source: https://learn.microsoft.com/en-us/azure/azure-functions/ip-addresses?tabs=portal#dedicated-ip-addresses

    Another option would be to whitelist the IPs of the region. A set of JSON is available:

    https://learn.microsoft.com/en-us/azure/azure-functions/ip-addresses?tabs=portal#data-center-outbound-ip-addresses

    Hope that helps.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Jaroslav Klima 21 Reputation points
    2022-10-15T15:43:56.787+00:00

    Thank you very much for your help, Isolated tier is better way for me then NAT gateway.

    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.