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
Comments
Post a Comment