Azure Front Door

 

🌐 What is Azure Front Door?

Azure Front Door is a global entry point service for web applications. It sits at the edge of Microsoft’s global network and acts as a smart traffic router + security layer + acceleration layer for internet-facing apps.

Think of it as:

“A global reverse proxy that sends each user to the fastest and healthiest backend.”


🧭 Where it sits in architecture 

Users (Internet)

      │

      ▼

Azure Front Door (Global Edge Layer)

      │

      ▼

Microsoft Global Backbone Network

      │

      ▼

Azure Regions (East US / Europe / Asia)

      │

      ▼

App Gateway / AKS / VMs / APIs / Databases



⚙️ What Azure Front Door actually does

1. 🌍 Global Traffic Routing

It routes users to the best region based on:

  • Lowest latency
  • Health of backend
  • Geo proximity
  • Weighted rules (traffic splitting)
  • Priority failover

Example:

  • User in India → Southeast Asia
  • User in Germany → West Europe
  • User in USA → East US

2. πŸ” Web Application Firewall (WAF)

Front Door can block attacks at the edge:

  • SQL injection
  • XSS attacks
  • Bot traffic
  • Malicious IPs
  • OWASP rules

πŸ‘‰ This happens before traffic reaches your region


3. ⚡ CDN-like acceleration

It improves performance by:

  • Using Microsoft edge POPs
  • Keeping traffic on private backbone
  • Reducing internet hops

Static content can be cached at edge.


4. πŸ”’ SSL/TLS termination

Front Door:

  • Handles HTTPS certificates
  • Encrypts/decrypts traffic at edge
  • Offloads SSL from backend servers

5. 🧠 Health Probing

It continuously checks:

  • Is East US alive?
  • Is West Europe healthy?

If a region fails:

Fail East US

→ instantly reroute to West Europe


6. 🚦 Layer 7 Load Balancing

Unlike Azure Load Balancer (L4), Front Door works at:

πŸ‘‰ HTTP / HTTPS level

It can route based on:

  • URL path (/api, /images)
  • Headers
  • Cookies
  • Device type
  • Geo location


🧱 Front Door vs other Azure services

ServiceTypeScope
Front DoorGlobal L7Internet entry point
Application GatewayRegional L7Inside one region
Azure Load BalancerL4 (TCP/UDP)Internal/External VNet traffic

Comments

Popular posts from this blog

Azure - Load Balancers

Architecture - Page -1