Azure Front Door

ExplainedNetworkingAzure Portal, Hands OnBy Cloud Hands On

A global front entrance for websites: fast delivery from the edge, plus a web application firewall.

Azure Front Door sits in front of your websites and APIs at Microsoft's edge locations around the world. Visitors connect to the nearest location, and Front Door forwards the request over Microsoft's own network to your app (the origin), wherever it runs.

Along the way it can cache files close to visitors (it includes a content delivery network), send traffic to the healthiest or nearest copy of your app, and block attacks with a web application firewall (WAF).

Cost. The Standard tier has a base fee of about 35 USD a month plus traffic; Premium (with the managed firewall rules and private links) is about 330 USD a month. Too much for practice.

Use it when

How it works

Endpoint
The address visitors use, such as shop-abc123.z01.azurefd.net, to which you point your own domain.
Routes
Rules that match a domain and path, such as /images/*, and send matching requests to an origin group.
Origin group
The apps that can answer, for example a web app in UK South and another in West Europe. Health probes check each one.
Rules engine
Changes requests and responses on the way through: redirects, headers, caching rules.
WAF policy
Firewall rules attached to the endpoint, such as Microsoft's managed rule set against common web attacks.

Options

Standard
Content delivery, routing, custom domains with free managed certificates, and custom WAF rules.
Premium
Everything in Standard, plus Microsoft's managed WAF rule sets, bot protection and Private Link to origins that aren't public.

Example. SS Kaiser's shop runs in UK South and West Europe. Front Door sends each customer to the nearest healthy copy, serves product photos from its cache, and its WAF blocks attack traffic before it reaches either region.

Don't confuse it with

Application Gateway
Also a load balancer with a WAF, but it lives in one region inside your virtual network. Front Door is global and sits at the edge.
Traffic Manager
Steers users to an endpoint using DNS only. It doesn't carry the traffic, cache, or filter it.
Azure Load Balancer
Works with any TCP or UDP traffic inside a region. It doesn't understand web requests at all.

Words to know

Edge location
One of Microsoft's sites around the world where Front Door meets visitors.
Origin
Where the real app runs, such as a web app or storage account.
Health probe
A regular check that an origin is answering.
WAF
Web application firewall: rules that block common web attacks.

Where to look

  1. Home
  2. Front Door and CDN profiles
  3. + Create

Practise it

Read it in the guide, next to the tasks and labs.

Open in Azure Portal, Hands On

Keep going