<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Serverless compute outbound IP whitelisting for external API calls in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/serverless-compute-outbound-ip-whitelisting-for-external-api/m-p/157790#M54618</link>
    <description>&lt;P class=""&gt;&lt;SPAN&gt;I’m trying to understand the networking implications of moving some logic to Databricks Serverless / SDP.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;My current setup is a notebook running as a job on classic compute, and this works because outbound traffic goes through a NAT Gateway, so we can expose a stable public IP that a customer can whitelist for their REST API.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;As I understand it, Databricks Serverless compute does not run inside my own VNET/VPC, so I can’t simply control outbound IPs in the same way or attach a NAT Gateway.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;In that case, I’m unsure how this kind of integration is supposed to be handled if I move the logic into SDP (for example using a custom PySpark data source I’ve built using serverless as the compute.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;The use case is still that I need to call a customer’s REST API that requires IP whitelisting.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;What is the recommended way to handle this? Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 28 May 2026 12:37:39 GMT</pubDate>
    <dc:creator>mnissen1337</dc:creator>
    <dc:date>2026-05-28T12:37:39Z</dc:date>
    <item>
      <title>Serverless compute outbound IP whitelisting for external API calls</title>
      <link>https://community.databricks.com/t5/data-engineering/serverless-compute-outbound-ip-whitelisting-for-external-api/m-p/157790#M54618</link>
      <description>&lt;P class=""&gt;&lt;SPAN&gt;I’m trying to understand the networking implications of moving some logic to Databricks Serverless / SDP.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;My current setup is a notebook running as a job on classic compute, and this works because outbound traffic goes through a NAT Gateway, so we can expose a stable public IP that a customer can whitelist for their REST API.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;As I understand it, Databricks Serverless compute does not run inside my own VNET/VPC, so I can’t simply control outbound IPs in the same way or attach a NAT Gateway.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;In that case, I’m unsure how this kind of integration is supposed to be handled if I move the logic into SDP (for example using a custom PySpark data source I’ve built using serverless as the compute.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;The use case is still that I need to call a customer’s REST API that requires IP whitelisting.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;What is the recommended way to handle this? Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2026 12:37:39 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/serverless-compute-outbound-ip-whitelisting-for-external-api/m-p/157790#M54618</guid>
      <dc:creator>mnissen1337</dc:creator>
      <dc:date>2026-05-28T12:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: Serverless compute outbound IP whitelisting for external API calls</title>
      <link>https://community.databricks.com/t5/data-engineering/serverless-compute-outbound-ip-whitelisting-for-external-api/m-p/157800#M54620</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/229258"&gt;@mnissen1337&lt;/a&gt;,&lt;/P&gt;
&lt;P class="wnfdntf _1ibi0s3f5 _1ibi0s3ce _1ibi0s3ea" data-pm-slice="1 3 []"&gt;Your understanding is basically right.&amp;nbsp;With classic compute, the workload runs in your own VNet/VPC, so using your own NAT Gateway to present a stable public egress IP is a standard pattern. With serverless, the compute runs in the Databricks-managed serverless compute plane instead, so you don’t manage egress the same way or attach your own NAT Gateway directly to the compute. Databricks documents that model here for &lt;A href="https://docs.databricks.com/aws/en/security/network/serverless-network-security" rel="noopener noreferrer nofollow" target="_blank"&gt;AWS serverless compute plane networking&lt;/A&gt; and &lt;A href="https://learn.microsoft.com/en-us/azure/databricks/security/network/serverless-network-security/" rel="noopener noreferrer nofollow" target="_blank"&gt;Azure serverless compute plane networking&lt;/A&gt;.&lt;/P&gt;
&lt;P class="wnfdntf _1ibi0s3f5 _1ibi0s3ce _1ibi0s3ea"&gt;So for a REST API that requires IP allowlisting, the usual serverless pattern is...&lt;/P&gt;
&lt;UL dir="auto"&gt;
&lt;LI dir="auto"&gt;
&lt;P class="wnfdntf _1ibi0s3f5 _1ibi0s3ce _1ibi0s3ea"&gt;If the API is publicly reachable, allowlist the Databricks-managed serverless outbound IPs for your workspace/region, rather than expecting a single NAT IP that you own. On AWS, this is described in &lt;A href="https://docs.databricks.com/aws/en/security/network/serverless-network-security/serverless-firewall-config" rel="noopener noreferrer nofollow" target="_blank"&gt;Serverless compute firewall configuration&lt;/A&gt;. Databricks notes that these outbound IPs are published and can change over time, so they should be treated as a managed allowlist rather than a permanently fixed single IP.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI dir="auto"&gt;
&lt;P class="wnfdntf _1ibi0s3f5 _1ibi0s3ce _1ibi0s3ea"&gt;If you really need traffic to come from a single controlled static IP, the cleaner pattern is usually to keep that specific integration on classic compute, or put a proxy/broker in your own network and have serverless reach that privately. Databricks documents the private-connectivity option for internal resources via &lt;A href="https://docs.databricks.com/aws/en/security/network/serverless-network-security/pl-to-internal-network" rel="noopener noreferrer nofollow" target="_blank"&gt;AWS PrivateLink to resources in your VPC&lt;/A&gt; and &lt;A href="https://learn.microsoft.com/en-us/azure/databricks/security/network/serverless-network-security/pl-to-internal-network" rel="noopener noreferrer nofollow" target="_blank"&gt;Azure Private Link to resources in your VNet&lt;/A&gt;.&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="wnfdntf _1ibi0s3f5 _1ibi0s3ce _1ibi0s3ea" data-pm-slice="1 1 []"&gt;So, basically... if the external API can accept the Databricks-managed serverless egress ranges, serverless can still work well. If the requirement is specifically "one static public IP that I control," that usually points to either classic compute or a private proxy pattern rather than direct egress from serverless.&lt;/P&gt;
&lt;P class="wnfdntf _1ibi0s3f5 _1ibi0s3ce _1ibi0s3ea" data-pm-slice="1 1 []"&gt;Hope this helps.&lt;/P&gt;
&lt;P class="p1"&gt;&lt;FONT size="2" color="#FF6600"&gt;&lt;STRONG&gt;&lt;I&gt;If this answer resolves your question, could you mark it as “Accept as Solution”? That helps other users quickly find the correct fix.&lt;/I&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;I&gt;&lt;/I&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2026 13:25:25 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/serverless-compute-outbound-ip-whitelisting-for-external-api/m-p/157800#M54620</guid>
      <dc:creator>Ashwin_DSA</dc:creator>
      <dc:date>2026-05-28T13:25:25Z</dc:date>
    </item>
  </channel>
</rss>

