liveBook · Manning

Azure Application Gateway

As explained in Microsoft Azure in Action

Azure Application Gateway is an Azure application delivery service that provides Layer 7 load balancing and routes web traffic to backend resources based on HTTP request properties such as host or path.

Azure Application Gateway distributes web traffic across backend virtual machines by inspecting the requested web address. It is the Layer 7 choice when routing should follow application URLs rather than only network protocols. section 3.3.4

Route traffic by path

Imagine llamadrama.com serving both images and video. Requests for /image can go to a VM managing images, while requests for /video go to a VM processing video. The gateway acts like a web-aware traffic director: it sends each request where that application function lives. section 3.3.4

Choose Application Gateway when:

  • Traffic must be routed according to the requested web address. section 3.3.4
  • Multiple virtual machines need to share inbound application traffic for better performance and availability. section 3.8
  • Protocol-only balancing is not enough. Azure Load Balancer supports TCP and UDP traffic with higher performance and lower latency, but does not provide URL-based routing. section 3.3.4
Figure 3.24 Choose one of two load balancing options, if required.

Compare Azure Application Gateway and Azure Load Balancer when deciding how a VM or VM group should receive traffic. section 3.3.4

How Microsoft Azure in Action covers it

How deep it goes
Defines URL-based routing and contrasts protocol balancing, but defers creation and detailed configuration to later treatment.
Examples
Uses llamadrama.com paths to send image requests and video requests to different virtual machines.
What it assumes
Assumes familiarity with virtual machines, inbound traffic, and distributing workloads across multiple VMs.
What you can do after
Evaluate whether URL-aware routing or protocol-based balancing better fits a multi-VM application.
How it connects
Connects application delivery with virtual machines, VM scale sets, and Azure Load Balancer.

Also explained in

Compare how 2 books explain Azure Application Gateway →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Microsoft Azure in Action. The section links point to the parts of the book it draws on.