CJCCIE Journals

Azure Networking Cheat Sheet: VNets, NSGs, Load Balancers and Hybrid Links

AzureCheat Sheets CCIE journals · November 27, 2026

The building blocks of an Azure network, with the on-premises and AWS names beside them.

If you know data centers or AWS

IdeaData centerAzureAWS
Private networkYour LANVirtual network (VNet)VPC
SegmentVLAN / subnetSubnetSubnet
Packet filterAccess listNetwork security group (NSG)Security group / network ACL
Static routeStatic routeUser-defined route (route table)Route table
Layer 4 balancerLoad balancerAzure Load BalancerNetwork Load Balancer
Layer 7 balancerApplication delivery controllerApplication GatewayApplication Load Balancer
Private circuitMPLS / leased lineExpressRouteDirect Connect
Site VPNIPsec tunnelVPN GatewaySite-to-site VPN
Join two networksRouted linkVNet peeringVPC peering
Hub for many networksCore / WAN edgeVirtual WANTransit gateway

Virtual networks and subnets

peeringpeeringVPN / ExpressRouteHub VNetfirewall + gatewaySpoke VNet 1application ASpoke VNet 2application BOn-premisesdata centerSpokes do not talk to each other directly. Traffic goes through the hub.
The usual enterprise layout
  • A VNet lives in one region and has one or more address ranges.
  • Subnets divide the VNet. Unlike AWS, an Azure subnet spans all availability zones in the region.
  • Azure reserves five addresses in every subnet: the first four and the last. A /29 gives you 3 usable addresses.
  • Some services need a subnet with an exact name, for example GatewaySubnet and AzureFirewallSubnet.
  • Subnets in the same VNet can reach each other by default. Use NSGs to restrict them.

Network security groups

Inbound: subnet first, then network interfacePacket arrivesSubnet NSGchecked firstNIC NSGchecked secondVMdeliveredRules are processed by priority. The lowest number wins. Outbound runs in the opposite order.
Both NSGs must allow the traffic
  • Attach to a subnet, a network interface, or both. Inbound traffic is checked at the subnet first, then the interface.
  • Stateful: allow the request and the reply is allowed automatically.
  • Rules have a priority from 100 to 4096. Lowest number wins, first match stops processing.
  • Rules can allow or deny.
Default ruleEffect
AllowVnetInBoundAnything inside the VNet and peered VNets is allowed
AllowAzureLoadBalancerInBoundHealth probes are allowed
DenyAllInBoundEverything else inbound is blocked
AllowInternetOutBoundOutbound to the internet is allowed

Routing

  • System routes exist by default: within the VNet, to peered VNets, and to the internet.
  • A user-defined route overrides them, typically to send traffic through a firewall (next hop: virtual appliance).
  • Routes learned by BGP from a gateway are added automatically. Route Server lets a network virtual appliance exchange BGP routes with the VNet.
  • Order of preference for the same prefix: user-defined, then BGP, then system. Longest prefix match always comes first.

Load balancing: which one?

ServiceLayerScopeUse for
Load Balancer4RegionalAny TCP or UDP, public or internal
Application Gateway7RegionalWeb apps: path and host routing, TLS termination, WAF
Front Door7GlobalWeb apps for users worldwide, with caching and WAF
Traffic ManagerDNSGlobalSteering users to a region by DNS

Connecting to your own network

OptionPathGood to know
Point-to-site VPNInternet, encryptedOne laptop to the VNet
Site-to-site VPNInternet, encryptedQuick to build. Often the backup path.
ExpressRoutePrivate circuit through a providerNot over the internet and not encrypted by default. Uses BGP.
Virtual WANMicrosoft-managed hubJoins many branches, VPNs and ExpressRoute circuits

Connecting VNets

  • Peering joins two VNets over the Microsoft backbone, in the same or different regions.
  • Peering is not transitive: if A peers with B and B with C, A cannot reach C through B without a routing device in B.
  • Hub and spoke: shared services and the firewall sit in a hub VNet, and each application gets a spoke peered to it.

Reaching Azure services privately

OptionWhat it does
Service endpointKeeps traffic to a service on the Azure backbone. The service still has a public address.
Private endpointGives the service a private address inside your subnet

Cannot connect? Check in this order

  1. NSG on the destination subnet and interface: is the port allowed from the source? (Network Watcher: IP flow verify)
  2. Effective routes on the source interface: where is the next hop? (Network Watcher: next hop)
  3. Is a user-defined route sending traffic to a firewall that is dropping it?
  4. Peering: is it connected on both sides, and is forwarded traffic allowed?
  5. For on-premises: is the gateway connection up and is the prefix advertised by BGP?
  6. The operating system firewall on the virtual machine.

Commands

CommandShows
az network vnet list -o tableVirtual networks
az network vnet subnet list -g RG --vnet-name VNET -o tableSubnets in a VNet
az network nsg rule list -g RG --nsg-name NSG -o tableRules in an NSG
az network nic show-effective-route-table -g RG -n NIC -o tableRoutes actually applied to an interface
az network nic list-effective-nsg -g RG -n NICNSG rules actually applied to an interface
az network vnet peering list -g RG --vnet-name VNET -o tablePeerings and their state

CCIE Journals cheat sheet. Free to print and share for study.

CJ

Written by CCIE journals

Network security engineer sharing hands-on notes from the journey to CCIE.

0 Comments

Post a Comment

Ready to level up your networking career?

Meet Your Instructor →

Welcome to my blog, dedicated to network and security engineering enthusiasts. Here, you can learn about various vendors and gain valuable insights and resources to excel in the field of network engineering!