Configuring Databricks and Azure Private Link
This feature is available on the following dbt Enterprise tiers:
- Enterprise+
- Virtual Private
To learn more about these tiers, contact us at sales@getdbt.com.
The following steps 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 (AWS, Azure, and GCP). 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 to services hosted on Azure, and dbt hosted on Azure can’t connect to services hosted on GCP.
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_idfield. -
Add the required information to the following template and submit your Azure Private Link request to dbt Support:
dbt Labs will work on your behalf to complete the private connection setup. Please allow 3-5 business days for this process to complete. Support will contact you when the endpoint is available.
-
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
dbtnamed option and select Approve.DNS impact when approving the first private endpointApproving the first private endpoint connection for an Azure Databricks workspace modifies the workspace's DNS resolution. Azure inserts a
privatelink.azuredatabricks.netDNSArecord that redirects the workspace URL to the private IP address instead of the public endpoint.Any clients — including other dbt platform projects, tools, or users — that connect to this workspace over the public internet may lose connectivity after this change. Coordinate this change with all teams that use the workspace before approving. For more information, see Azure services DNS zone configuration.
Create connection in dbt
Once you've completed the setup in the Databricks environment, you can 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 automatically populates the hostname/account field).
- Configure the remaining data platform details.
- Test your connection and save it.
Was this page helpful?
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.