Peer Virtual Networks

Virtual network (VNet) peering allows the virtual network in which your Azure Databricks resource is running to peer with another Azure virtual network. Traffic between virtual machines in the peered virtual networks is routed through the Microsoft backbone infrastructure, much like traffic is routed between virtual machines in the same virtual network, through private IP addresses only. For an overview of Azure VNet peering, see Microsoft Azure Virtual network peering.

This article shows you how to peer an Azure Databricks VNet with an Azure VNet and provides references to information about how to connect an on-premises VNet to an Azure VNet.

For information about how to manage Azure VNet peering, see Create, change, or delete a virtual network peering. However, do not follow the steps in that article to create a VNet peering between an an Azure Databricks VNet and an Azure VNet; follow the instructions below.

Peer an Azure Databricks virtual network to a remote virtual network

Peering a Databricks virtual network to an Azure VNet involves two steps: add remote virtual network peering to Azure Databricks virtual network and add Azure Databricks virtual network peer to remote virtual network.

Step 1: Add remote virtual network peering to Azure Databricks virtual network

  1. In the Azure portal, click an Azure Databricks Service resource.

  2. In the Settings section of the sidebar, click the Virtual Network Peering tab.

  3. Click the + Add Peering button.

    Add peering button

  4. In the Name field, enter the name for the peering virtual network.

  5. Depending on the information you have about the remote virtual network, do one of the following:

    • You know the resource ID of the remote virtual network: a. Select the I know my Resource ID checkbox. b. In the Resource ID text box, paste in the remote virtual network resource ID.

      Add remote virtual network resource ID

    • You know the name of the remote virtual network: a. In the Subscription drop-down, select a subscription. b. In the Virtual network drop-down, select the remote virtual network.

      Select remote virtual network

  6. In the Configuration section, specify the configuration of the peering. See Create a peering for information about the configuration fields.

  7. In the Databricks Virtual Network Resource Id section, copy the resource ID.

  8. Click Add. The virtual network peering is deployed.

Step 2: Add Azure Databricks virtual network peer to remote virtual network

  1. In the Azure portal sidebar, click Virtual networks.

  2. Search for the virtual network resource to peer with the Databricks virtual network and click the resource name.

  3. In the Settings section of the sidebar, click the Peerings tab.

  4. Click the + Add button.

    Add peering

  5. In the Name field, enter a name for the peering virtual network.

  6. For the peering details, Virtual network deployment model must be Resource manager.

  7. Select the I know my resource ID checkbox.

  8. In the Resource ID text box, paste in the Databricks virtual network resource ID copied in Step 1.

    Add peering network ID

  9. In the Configuration section, specify the configuration of the peering. See Create a peering for information about the configuration fields.

  10. Click OK. The virtual network peering is deployed.

Connect an on-premises virtual network to an Azure virtual network

To connect an on-premises network to an Azure VNet, follow the steps in Connect an on-premises network to Azure using ExpressRoute.

To create a site-to-site VPN gateway connection from your on-premises network to an Azure VNet, follow the steps in Create a Site-to-Site connection in the Azure portal.