<?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 Unable to read data from API due to Private IP Restriction in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/unable-to-read-data-from-api-due-to-private-ip-restriction/m-p/64744#M6882</link>
    <description>&lt;P&gt;I have data in my API Endpoint but am unable to read it using Databricks. My data is limited to my private IP address and can only be accessed over a VPN connection. I can't read data into Databricks as a result of this. I can obtain the data in VS Code by using the same code, which runs locally and establishes a VPN connection when accessing data. I can't access the data even with a VPN connection because Databricks is a cloud service. I'm getting a connection timeout error. I'm currently using Databricks Free tier; is there a way for me to resolve this problem?&lt;/P&gt;</description>
    <pubDate>Wed, 27 Mar 2024 07:24:02 GMT</pubDate>
    <dc:creator>AravindNani</dc:creator>
    <dc:date>2024-03-27T07:24:02Z</dc:date>
    <item>
      <title>Unable to read data from API due to Private IP Restriction</title>
      <link>https://community.databricks.com/t5/get-started-discussions/unable-to-read-data-from-api-due-to-private-ip-restriction/m-p/64744#M6882</link>
      <description>&lt;P&gt;I have data in my API Endpoint but am unable to read it using Databricks. My data is limited to my private IP address and can only be accessed over a VPN connection. I can't read data into Databricks as a result of this. I can obtain the data in VS Code by using the same code, which runs locally and establishes a VPN connection when accessing data. I can't access the data even with a VPN connection because Databricks is a cloud service. I'm getting a connection timeout error. I'm currently using Databricks Free tier; is there a way for me to resolve this problem?&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2024 07:24:02 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/unable-to-read-data-from-api-due-to-private-ip-restriction/m-p/64744#M6882</guid>
      <dc:creator>AravindNani</dc:creator>
      <dc:date>2024-03-27T07:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to read data from API due to Private IP Restriction</title>
      <link>https://community.databricks.com/t5/get-started-discussions/unable-to-read-data-from-api-due-to-private-ip-restriction/m-p/64750#M6884</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN class=""&gt;&lt;A class="" href="https://community.databricks.com/t5/user/viewprofilepage/user-id/102893" target="_self"&gt;&lt;SPAN class=""&gt;AravindNani&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;This is more of infrastructure questions, you have to make sure that:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;1) Your databricks Workspace is provisioned in VNET Injection mode&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;2) Your VNET is either peered to "HUB" network where you have S2S VPN Connection to API or you have to configure VPN tunnel on VNET where you provisioned databricks.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;3) Use normal cluster (not serverless)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Test your connection by running command in notebook&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;%sh nc -zv &amp;lt;your_API_Endpoint_IP&amp;gt; &amp;lt;port&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;If you want to use api friendly name (FQDN) you will have to deal with DNS resolution.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;There is article that explain it:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/security/network/classic/on-prem-network" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/azure/databricks/security/network/classic/on-prem-network&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;----&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;There are few alternative for that :&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;you have to setup Static Egrees public IP from Databrick (e.g. NatGW) and whitelist it on your API side&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;if your API is cloud base, you can try to setup private link or service connection.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2024 08:00:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/unable-to-read-data-from-api-due-to-private-ip-restriction/m-p/64750#M6884</guid>
      <dc:creator>Wojciech_BUK</dc:creator>
      <dc:date>2024-03-27T08:00:06Z</dc:date>
    </item>
  </channel>
</rss>

