Getting a Databricks static IP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2023 03:31 AM
Hello. I want to connect from my Databricks workspace to an external API to extract some data. The owner of the API asks for an IP to provide the token necessary for the extraction of data. Therefore I would need to set a static IP in Databricks that does not change over time. Which options do I have? What is the best way of handling the situation?
- Labels:
-
Connect
-
Databricks workspace
-
IP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2024 06:29 AM
Did you find a solution to this? Have the same issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2024 08:20 AM
Hello,
the easiest way (in Azure) is to deploy Workspace in VNET Injection mode and attach NAT Gateway to you VNET. NAT GW require Public IP.
This IP will be your static egress IP for all Cluster in for this Workspace.
Note: both NAT GW and IP Address comes with additional infrastructure cost.
There are alternatives like
- routing your outbound communication using UDR to Firewall and outbound from Firewall IP (if you don't have existing FW it will be costly)
- use Azure Load Balancer with Public IP (but it is harder to manage)
![](/skins/images/8C2A30E5B696B676846234E4B14F2C7B/responsive_peak/images/icon_anonymous_message.png)
![](/skins/images/8C2A30E5B696B676846234E4B14F2C7B/responsive_peak/images/icon_anonymous_message.png)