Designing network solutions

AZ-305 Azure Solutions ArchitectInfrastructureAbout 25 minutesBy Cloud Hands On

Connect Azure to the internet and to on-premises, then design for performance, security and the right load balancer.

In this lesson you'll learn

1. Connecting to the internet

Refresher: inbound and outbound

Inbound traffic comes from users on the internet to your apps. Outbound traffic goes from your resources to the internet, for example to download updates.

  • Inbound web traffic: Azure Front Door (global) or Application Gateway (regional), both with WAF. Avoid public IPs on individual VMs.
  • Outbound traffic: NAT gateway for predictable, scalable outbound IPs, or Azure Firewall when outbound traffic must be filtered and logged.
  • Admin access: Azure Bastion instead of public RDP or SSH.

2. Connecting to on-premises

OptionCharacteristicsChoose when
Site-to-site VPNEncrypted over the internet, quick to set up, lower costModerate bandwidth, internet-grade latency is fine
ExpressRoutePrivate connection through a provider, predictable latency, high bandwidthLarge data volumes, consistent performance, compliance
ExpressRoute + VPNVPN as a backup pathResilience at lower cost than a second circuit
Virtual WANManaged hub that connects many branches, VNets, VPN and ExpressRoute with transitive routingMany sites and VNets, global networks
ExpressRoute isn't encrypted by default. If data must be encrypted in transit over the circuit, add a VPN over private peering or MACsec on ExpressRoute Direct.

3. Performance and security

GoalRecommend
Lowest latency between VMsAccelerated networking and proximity placement groups
Faster delivery of static content worldwideAzure Front Door caching
Faster on-premises to VM traffic over ExpressRouteExpressRoute FastPath
Segment traffic between subnets and tiersNSGs with application security groups
Central inspection and FQDN filtering, hub and spokeAzure Firewall (Premium for TLS inspection and IDPS)
Keep PaaS traffic off the internetPrivate endpoints (Private Link)
Protect against volumetric attacksAzure DDoS Protection

4. Load balancing and routing

A decision tree. If the app is global and uses HTTP, choose Azure Front Door. Global and any protocol: Traffic Manager or the cross-region load balancer. Regional and HTTP: Application Gateway. Regional and any protocol: Azure Load Balancer. Global? yesno HTTP(S)? HTTP(S)? Front Dooryes Traffic Managerno App Gatewayyes Load Balancerno
Two questions pick the service: is it global or regional, and is the traffic HTTP(S) or any protocol? Many designs combine them, for example Front Door in front of Application Gateway.

Example

A retailer runs its storefront in two regions, with 40 stores connected to Azure and a central security team that must inspect all outbound traffic. The architect recommends Front Door with WAF for the storefront, and Virtual WAN with site-to-site VPN for the stores and ExpressRoute for head office. Azure Firewall Premium sits in the hub, and the databases use private endpoints.

Exam traps to remember

  • Traffic Manager works through DNS. It never sees the traffic itself, so it can't offer WAF or caching.
  • ExpressRoute traffic is private, but not encrypted unless you add encryption.
  • NAT gateway gives fixed outbound IPs but doesn't filter traffic. Azure Firewall does.

Test yourself: 3 check questions and exam-style practice questions on this topic are in the AZ-305 Azure Solutions Architect app.

Practise in the app

Keep going