Hub-Spoke Topology in Azure Virtual WAN

The hub-spoke topology is a networking pattern that can be implemented in Azure Virtual WAN. It is designed to provide a centralized, scalable, and secure network architecture for your cloud resources. This topology uses a central Virtual Hub (the "hub") to connect various spokes (Virtual Networks) and on-premises sites.

Conceptual Diagram

Azure Virtual WAN Hub-Spoke Topology Diagram

Diagram illustrating the Hub-Spoke architecture with Virtual WAN.

Key Components

Benefits of Hub-Spoke with Virtual WAN

Implementing Hub-Spoke

Setting up a hub-spoke topology with Azure Virtual WAN involves several steps:

  1. Create a Virtual WAN resource: This is the top-level resource that manages your Virtual WAN deployment.
  2. Create a Virtual Hub: Deploy a Virtual Hub within your Virtual WAN. This hub will serve as the central transit point.
  3. Deploy Hub Network Services: Configure routing, VPN gateways, or ExpressRoute gateways within the Virtual Hub as needed.
  4. Connect Spoke VNets: Establish VNet connections from your spoke VNets to the Virtual Hub. This allows spokes to communicate with each other and with the hub.
  5. Connect On-Premises Sites: Configure Site-to-Site VPN or ExpressRoute circuits to connect your on-premises networks to the Virtual Hub.
  6. Configure Routing: Define route tables and associations to control how traffic flows between different network segments.

Example Configuration Snippet (Conceptual)

To connect a spoke VNet named SpokeVNet1 to a Virtual Hub:


# Using Azure CLI (conceptual example)
az network vwan vnet-connection create \
  --name MyVNetConnection \
  --resource-group MyResourceGroup \
  --vwan-hub MyVirtualHub \
  --vnet SpokeVNet1 \
  --hub-routing-gravity Global \
  --enable-internet-security false
                

Considerations

The hub-spoke topology, powered by Azure Virtual WAN, offers a robust and flexible solution for modern cloud networking. By centralizing connectivity, it simplifies management, enhances security, and ensures efficient communication across your Azure environment and hybrid cloud infrastructure.