cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Connect to remote SQL Server (add databricks cluster IP to the whitelist)

IN
New Contributor II

Hi, 

I would need to connect from a notebook on workspaces to a remote SQL server instance. This server is protected by a firewall, thus I would need to add an IP address to the whitelist. Ideally, if it would be possible to setup/allocate static IP address for cluster/workspace so we wouldn't need to change it. 

Can this be setup on databricks platform, or should I look for this on the GCP?

 

Thanks!

1 REPLY 1

szymon_dybczak
Contributor III

Hi @IN ,

In Azure, you can deploy Workspace in VNET Injection mode and attach NAT Gateway to your VNET.

NAT GW require Public IP.  This IP will be your static egress IP for all Cluster in for this Workspace.

I've never worked with GCP,  but I think you can do similar thing. So you can configure a customer-managed VPC, and then configure egress to use Google Cloud NAT. And that NAT you can configure with static IP address.

 

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