Virtual Network Peering

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 topic shows you how to peer an Azure Databricks VNet with an Azure VNet and provides references to information about how to connect an on-premise 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 topic to create a VNet peering between an Azure Databricks VNet and an Azure VNet; follow the instructions below.

Peer a Databricks virtual network to a remote virtual network

Peering a Databricks virtual network to an Azure VNet involves two steps:

Step 1: Add remote virtual network peering to 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.

    ../../../_images/azure-virtual-network-peering1.png
  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:

      1. Select the I know my Resource ID checkbox.

      2. In the Resource ID text box, paste in the remote virtual network resource ID.

        ../../../_images/azure-add-peering1a.png
    • You know the name of the remote virtual network:

      1. In the Subscription drop-down, select a subscription.

      2. In the Virtual network drop-down, select the remote virtual network.

        ../../../_images/azure-add-peering1b.png
  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 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.

    ../../../_images/azure-virtual-network-peering2.png
  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.

    ../../../_images/azure-add-peering2.png
  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.