Configuring Databricks and Azure Private Link
The private connection feature is available on the following dbt Enterprise tiers:
- Business Critical
- Virtual Private
To learn more about these tiers, contact us at sales@getdbt.com.
The following steps will walk you through the setup of a Databricks Azure Private Link endpoint in the dbt multi-tenant environment.
Private connection endpoints can't connect across cloud providers. For a private connection to work, both dbt and the server (like Databricks) must be hosted on the same cloud provider. For example, dbt hosted on AWS cannot connect via PrivateLink to services hosted on Azure, and dbt hosted on Azure can’t connect via Private Link to services hosted on AWS.
Configure Azure Private Link
- Navigate to your Azure Databricks workspace.
The path format is:
/subscriptions/<subscription_uuid>/resourceGroups/<resource_group_name>/providers/Microsoft.Databricks/workspaces/<workspace_name>
. - From the workspace overview, click JSON view.
- Copy the value in the
resource_id
field. - Add the required information to the following template and submit your Azure Private Link request to dbt Support:
Subject: New Azure Multi-Tenant Private Link Request
- Type: Databricks
- Databricks instance name:
- Azure Databricks Workspace URL (e.g. adb-################.##.azuredatabricks.net)
- Databricks Azure resource ID:
- <Constant name="cloud" /> multi-tenant environment: EMEA
- Azure region: Region that hosts your Databricks workspace (like, WestEurope, NorthEurope) - Once our Support team confirms the resources are available in the Azure portal, navigate to the Azure Databricks Workspace and browse to Networking > Private Endpoint Connections. Then, highlight the
dbt
named option and select Approve.
Create connection in dbt
Once you've completed the setup in the Databricks environment, you will be able to configure a private endpoint in dbt:
- Navigate to Settings → Create new project → select Databricks.
- You will see two radio buttons: Public and Private. Select Private.
- Select the private endpoint from the dropdown (this will automatically populate the hostname/account field).
- Configure the remaining data platform details.
- Test your connection and save it.