Get a static IP for my Databricks App
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2024 03:11 AM
Hello,
I'm trying to find how to set-up a static IP for a Azure Databricks App.
I tried to set-up a NAT gateway to have a static IP for the workspace, but it doesn't change anything, I still can't access my OpenAI ressource even if I authorize the NaT gateway static IP.
If anyone can help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2024 07:04 AM
You should follow process:
- Create a VNet Injected Workspace: Ensure your Azure Databricks workspace is VNet injected with no public IPs. This setup is also known as Secure Cluster Connectivity (SCC) enabled workspace.
-
Deploy a NAT Gateway:
- Deploy a NAT gateway in your Azure Virtual Network. The NAT gateway will provide a static public IP address for outbound traffic from your Databricks clusters.
- The NAT gateway should be associated with the public subnet of your VNet. There is no need to add the NAT gateway to the private subnet.
-
Configure the NAT Gateway:
- Ensure that the NAT gateway is properly configured to handle outbound traffic from your Databricks clusters. This involves setting up the routing tables to direct outbound traffic from the private subnets through the NAT gateway.
-
Whitelist the NAT Gateway IP:
- Add the static IP address of the NAT gateway to the firewall rules of your target resource, such as your OpenAI resource. This will allow the outbound traffic from your Databricks clusters to be recognized and accepted by the target resource.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2024 09:39 PM
Is Secure Cluster Connectivity (SCC) setup is mandatory for this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2024 06:36 AM
I found the following guide which might be what you are actually looking to achieve https://docs.databricks.com/en/archive/admin-guide/nat-gateway-proxying.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2025 10:21 AM
Hi, I’m following up here as I have the same issue. Did the solution provided in the replies help resolve this for you?

