Network topology and connectivity¶
Microsoft's design area: Network topology and connectivity.
What this area is¶
How virtual networks connect to each other, to the internet, and to on-premises, and who is allowed to change that. The platform team owns the hub. Application teams consume a spoke that vending attached for them.
What an enterprise does¶
A hub-and-spoke or Virtual WAN, not a mix invented per application.
In hub-and-spoke the hub holds Azure Firewall or another appliance, DNS, and the VPN or ExpressRoute gateway. Each spoke peers to the hub. Peering does not chain. A route table on the spoke sends 0.0.0.0/0 and the other spoke ranges to the firewall's private IP. allowForwardedTraffic is true on the peerings. Corp spokes have no public IPs and no inbound internet. Online spokes publish through a controlled ingress (Application Gateway, Front Door, or a public IP in a DMZ subnet) and still send outbound through the firewall.
Private DNS zones for Private Link are linked to the hub and to each spoke, or resolved through a DNS private resolver in the hub. Auto-registration is off on Private Link zones.
Virtual WAN replaces the virtual-network hub with a managed hub when the estate is multi-region or branch-heavy. ADR 002 explains why this lab does not start there.
What this lab implements¶
flowchart LR
subgraph hubnet["Hub 10.0.0.0/16 · rg-connectivity-aue-001"]
shared["snet-shared 10.0.1.0/24"]
dns["Private DNS zone"]
end
subgraph corpnet["Corp spoke 10.1.0.0/16 · rg-corp-aue-001"]
app["snet-app 10.1.1.0/24"]
data["snet-data 10.1.2.0/24"]
end
subgraph onlinenet["Online spoke 10.2.0.0/16 · rg-online-aue-001"]
web["snet-web 10.2.1.0/24"]
end
corpnet <-->|"peering, not transitive"| hubnet
onlinenet <-->|"peering, not transitive"| hubnet
| Subnet | NSG posture |
|---|---|
Hub snet-shared |
Allow inbound from 10.1.0.0/16 and 10.2.0.0/16. Deny inbound internet |
Corp snet-app |
Allow inbound from the hub and from the corp address space. Deny inbound internet. Outbound internet allowed |
Corp snet-data |
Allow inbound only from 10.1.1.0/24. Deny inbound internet. Deny outbound internet |
Online snet-web |
Allow TCP 443 from Internet. Deny other internet inbound. Outbound internet allowed |
There is no public IP anywhere in the default deployment, so the online 443 rule describes the posture and does not expose a service.
One private DNS zone, privatelink.blob.core.windows.net, is linked to all three virtual networks with auto-registration off. There are no records and no private endpoints. The zone is the example.
Optional subnets are created only with the matching expensive flag: AzureFirewallSubnet 10.0.0.0/26, GatewaySubnet 10.0.2.0/27, AzureBastionSubnet 10.0.3.0/26. Those names are reserved by Azure. They do not get an NSG. The firewall subnet rejects one.
allowForwardedTraffic is false unless deployAzureFirewall is true. Turning the firewall on still does not add route tables or firewall rules. Spoke-to-spoke traffic remains impossible until those exist. The module comments say this on purpose.
The vending module can add a sandbox spoke in 10.3.0.0/16 when deploySpoke is true. The default parameter file leaves it false so the example does not overlap or surprise the hub.
What this lab simplifies¶
- No firewall, so no transitive routing and no forced tunnelling. Corp app subnets may egress to the internet (
allowCorpInternetEgress = true) because otherwise a future VM would have no outbound path and this lab refuses to pay for NAT Gateway or firewall to provide one. Set the parameter to false if you want to see the NSG deny. Enterprise corp spokes do not get this escape hatch. - No ExpressRoute, no VPN, no Bastion, no DDoS plan. Modules exist. See the cost model.
- No Virtual WAN.
- No DNS private resolver (about USD 180 per endpoint per month).
- Diagnostic settings on the virtual networks enable the
VMProtectionAlertslog category only. That category is quiet unless DDoS is on. Flow logs are a different resource and are not created.