NAT Gateway for Managed VNet IR

Amrale, Siddhesh 20 Reputation points
2025-02-10T22:46:31.83+00:00

How can I make Azure Managed VNet IR to make requests through a static public I.P?

I want to pull data from 'xyz.com/books' api. This API provider doesn't allow requests from everyone. They only allow requests from IPs which are whitelisted. I have created a pipeline in data factory and I am trying to pull data from this API. To get this data I want to give this 3rd party API provider some public ip that they can whitelist. I don't want to manage VMs. So, I prefer not to use it. I prefer whatever requests this Azure provided IR does goes through a single whitelisted public ip (which I will give to 3rd party). So, I can get the data

I don't want to create and manage VM's and neither I want to whitelist entire microsoft range of public ips.

Any Solutions ?

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,291 questions
Azure NAT Gateway
Azure NAT Gateway
NAT Gateway is a fully managed service that securely routes internet traffic from a private virtual network with enterprise-grade performance and low latency.
51 questions
{count} votes

Accepted answer
  1. AnnuKumari-MSFT 34,266 Reputation points Microsoft Employee
    2025-02-13T16:58:42.5266667+00:00

    Hi Amrale, Siddhesh,

    I understand that NAT Gateway essentially allows you to do Network Address Translation for any Virtual Networks or Subnets in your Azure Infrastructure. You can deploy the NAT Gateway, then configure it with a Public IP Address or a Public IP Prefix, and link it to your Subnet. However, even with a NAT Gateway, you cannot link Azure Integration Runtimes to a Public IP Address.

    Try the below workaround :

    1. Deploy Azure VM
      • Create one Azure VM per Data Factory (for three environments).
      • Place each VM in a subnet with restrictive Network Security Group (NSG) rules to limit internet access.
    2. Configure NAT Gateway
      • Deploy a NAT Gateway with a single public IP address (instead of a public IP address prefix).
      • Link the subnet to the NAT Gateway.
    3. Set Up Integration Runtime
      • Install the self hosted Integration Runtime package on the VM.
      • Create the Integration Runtime in the ADF portal.
      • Use the generated authentication key to link the Integration Runtime software on the VM with the Integration Runtime in ADF.
    4. Verify Public IP Address
      • Run an API query from an ADF pipeline (e.g., using IPify) to check the public IP address.
      • Open a webpage on the VM and visit a public IP lookup site to confirm the NAT Gateway-assigned IP address.
      Note: You need all your ADF Pipelines to run on the Shared Integration Runtime you deploy in order for this to work.

    Kindly check the following article to get more details on the implementation: https://medium.com/@petrutbelingher/exposing-azure-data-factory-through-controllable-ip-addresses-eac20eb07adb

    Unfortunately, you cant get one static public IP address without creating VM and hosting IR there.

    Hope it helps. Kindly accept the answer by clicking on Accept answer button . Thankyou


0 additional answers

Sort by: Most helpful

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.