Skip to main content

Configuring Databricks and Azure Private Link

Available to certain Enterprise tiers

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.

  1. Navigate to your Azure Databricks workspace. The path format is: /subscriptions/<subscription_uuid>/resourceGroups/<resource_group_name>/providers/Microsoft.Databricks/workspaces/<workspace_name>.
  2. From the workspace overview, click JSON view.
  3. Copy the value in the resource_id field.
  4. 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)
  5. 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:

  1. Navigate to SettingsCreate new project → select Databricks.
  2. You will see two radio buttons: Public and Private. Select Private.
  3. Select the private endpoint from the dropdown (this will automatically populate the hostname/account field).
  4. Configure the remaining data platform details.
  5. Test your connection and save it.
0