cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Administration & Architecture
Explore discussions on Databricks administration, deployment strategies, and architectural best practices. Connect with administrators and architects to optimize your Databricks environment for performance, scalability, and security.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Get a static IP for my Databricks App

LMe
New Contributor

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

3 REPLIES 3

Walter_C
Databricks Employee
Databricks Employee

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.

 

vsd
New Contributor II

Is Secure Cluster Connectivity (SCC) setup is mandatory for this?

Walter_C
Databricks Employee
Databricks Employee

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 

 

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group