RousselTMLEARNING

Cloud computing

Azure networking: VNet, NSG, peering, load balancing and hybrid connectivity

Design networking on Azure: virtual networks and subnets, network security groups (NSG), peering and hub-and-spoke topology, Azure Firewall, Private Endpoint, Load Balancer, Application Gateway, Front Door, DNS, VPN Gateway and ExpressRoute.

1. VNet and NSG #

The private network and its filtering.

Basics #

A VNet is a private network in a region, split into subnets. NSGs filter traffic with prioritized rules (allow or deny, stateful) and are attached to a subnet or a network interface. Application security groups let you write rules per role (web, database) rather than per address.

az network vnet create -g rg-reseau -n vnet-app --address-prefixes 10.1.0.0/16 --subnet-name web --subnet-prefixes 10.1.1.0/24
az network nsg create -g rg-reseau -n nsg-web
az network nsg rule create -g rg-reseau --nsg-name nsg-web -n https --priority 100 --access Allow --protocol Tcp --destination-port-ranges 443
az network vnet subnet update -g rg-reseau --vnet-name vnet-app -n web --network-security-group nsg-web

2. Connecting and protecting #

Peering, hub and spoke, Private Endpoint.

Architecture #

Hub and spoke
Azure Virtual WAN automates this topology at scale.
NeedService
Connecting two VNetsPeering (low latency, non-transitive)
Private access to a PaaS servicePrivate Endpoint (private address in the VNet)
Centralized filteringAzure Firewall
Administrator access without a public IPAzure Bastion
Connecting the company siteVPN Gateway (encrypted Internet) or ExpressRoute (private link)

3. Exposing an application #

Load balancing and delivery.

Choosing #

ServiceLevelUsage
Load BalancerLayer 4 (TCP/UDP), regionalBalancing VMs
Application GatewayLayer 7, regional, WAFWeb applications, path-based routing
Front DoorLayer 7, global, WAF, CDNGlobal applications, failover between regions
Traffic ManagerDNS, globalRouting by priority, performance or geography

Advice #

Good practice: Combine Front Door (global) with Application Gateway or regional PaaS services behind Private Link so that nothing is exposed directly on the Internet.

Related articles

Observability on Azure: Azure Monitor, Log Analytics, Application Insights, managed Prometheus and Grafana

A complete overview of observability on Azure: Azure Monitor (metrics, logs and Log Analytics, KQL), Applicat…

Understanding Azure: regions, resource hierarchy, tools and pricing

Microsoft Azure basics: geographies, regions, region pairs and availability zones, the hierarchy of managemen…

Microsoft Entra ID, RBAC and Azure Policy: identities, permissions and governance

Manage identities and access on Azure: Microsoft Entra ID (users, groups, MFA, conditional access), managed i…

Keep learning

Support us

♥ SUPPORT US

Support RousselTM Learning

Courses, articles, labs and certificates stay free with no intrusive ads. A voluntary contribution, of any amount you choose, pays for hosting, lab environments and new content.

Contribute with PayPal Any amount · card or PayPal accountLearn more
QR code PayPal
Or scan this QR code with your phone

Thank you, every contribution counts!