# Azure Front Door

Azure Front Door is a global HTTP(S) application delivery service that combines a content delivery network, application-layer load balancing, and edge security.

Cloud service · Azure. Updated 2026-11-25. Page: https://blowstack.com/tools/cloud-services-hub/azure-front-door

> Azure Front Door provides a public entry point for websites, APIs, and static content hosted in Azure or on other platforms. It routes requests across healthy origins, caches eligible responses, terminates TLS at the edge, and applies configurable routing and web application firewall policies.

## 10 key features of Azure Front Door

1. **Global application-layer routing**: Route requests by hostname and URL path to origin groups spanning regions or hosting platforms. Use origin priorities, weights, and latency settings to implement failover and traffic distribution.
2. **Health-based origin selection**: HTTP(S) health probes help Front Door select available origins. Provide a lightweight readiness endpoint and test failure behavior, including what happens when an entire origin group is unhealthy.
3. **Edge caching and compression**: Cache eligible responses near clients and compress supported response types to reduce origin load and transferred bytes. Configure query-string handling and cache lifetimes explicitly, especially for APIs and frequently updated assets.
4. **Custom domains and TLS**: Serve applications through custom domains using managed certificates or certificates stored in Azure Key Vault. Configure HTTPS to origins separately; Premium also supports mutual TLS client authentication with modes controlling certificate requirements and validation.
5. **Web application firewall**: Apply custom match and rate-limit rules, with managed rule sets and bot protection available on Premium. Premium supports WAF policy association at profile, domain, and route scopes, enabling shared baseline protection and targeted controls for sensitive paths.
6. **Private origin connectivity**: Premium can connect to supported origins through Private Link, reducing exposure of application backends. Approve the private endpoint connection and confirm origin-type and regional support before disabling public origin access.
7. **Declarative request and response rules**: Use rule sets for redirects, URL rewrites, header modifications, cache behavior, and origin-group overrides. For example, redirect HTTP clients to HTTPS and route an API path to a separate origin group.
8. **Programmable edge actions**: Execute lightweight JavaScript during client request and response processing. Use edge actions for scenarios such as A/B testing, dynamic origin selection, or request filtering, and evaluate execution limits before moving application logic to the edge.
9. **Native gRPC routing in preview**: Standard and Premium support native gRPC in public preview, including unary and streaming calls. Enable gRPC on the route and every origin in its origin group; HTTPS and HTTP/2 are required on both client and origin connections.
10. **Traffic and security observability**: Use metrics and diagnostic logs to investigate request failures, origin health, caching, and WAF decisions. WAF Insights brings WAF logs and metrics into interactive dashboards and correlates investigations with access logs using tracking references.

## Where Azure Front Door is used

1. **Multi-region web application entry point**: Expose a single application hostname while distributing requests across regional deployments. Configure health probes and origin priorities for active-passive recovery or distribute traffic across eligible active regions.
2. **Static asset and download delivery**: Cache images, scripts, stylesheets, and public downloads from storage or web origins. Use versioned URLs and appropriate cache lifetimes to reduce origin requests without delaying application updates.
3. **Centralized API ingress**: Route API paths to separate backends and apply consistent TLS and WAF controls. Disable caching for sensitive responses and retain application-level authorization even when using optional edge authentication capabilities.
4. **Public applications with private backends**: Use Premium with Private Link to expose a public edge endpoint while keeping supported application origins off the public internet. Confirm private connectivity works before removing public access.
5. **Multitenant application delivery**: Associate tenant domains or wildcard subdomains with a shared profile and route requests to the appropriate application deployment. Plan certificate handling, domain validation, and service limits as tenant counts grow.
6. **Incremental migrations and controlled releases**: Keep a stable public hostname while moving paths or traffic between legacy and replacement origins. Use weighted routing for controlled exposure, accounting for session affinity and the fact that weights are not exact per-user release assignments.

## How Azure Front Door is priced

- **Standard tier**: Standard uses a recurring profile base fee plus metered traffic and request charges. It suits deployments needing global delivery, routing, caching, and custom WAF rules without Premium-only capabilities; applicable WAF charges should be included in estimates.
- **Premium tier**: Premium has a higher recurring profile base fee and metered usage charges, with managed WAF capabilities and Private Link origin connectivity among its tier differentiators. Compare total costs against Standard plus required security controls rather than comparing base fees alone.
- **Usage-based delivery and related costs**: Charges depend on request volume, edge-to-client data transfer, and applicable edge-to-origin transfer, with rates varying by billing zone and tier. Origin compute, storage operations, log ingestion, and other connected services can add costs; use current pricing meters and representative traffic estimates rather than a single per-GB assumption.

## Services Azure Front Door works with

A common architecture uses Front Door as the public application endpoint, Azure DNS for domain records, and App Service or AKS for regional application origins. Configure separate origin groups when web pages, APIs, and static assets have different routing or availability requirements. API Management can sit behind the API route to enforce API-specific policies, while Blob Storage serves cacheable assets through a dedicated hostname or path.

Secure the origin connection independently from the client connection. Use HTTPS forwarding with matching hostnames and certificates, and use Key Vault when supplying your own custom-domain certificates. Premium Private Link can remove public exposure for supported origins; otherwise, combine origin network restrictions with validation of the expected Front Door instance. Do not treat possession of an origin URL or a forwarded header as sufficient protection.

Send diagnostics through Azure Monitor and correlate access, health-probe, and WAF activity during incident investigation. Test failover, DNS changes, certificate renewal, and cache invalidation as complete workflows. Manage Front Door and its dependent resources through infrastructure as code so routes, security policies, and origin settings remain consistent across environments.

- **[App Service](https://blowstack.com/tools/cloud-services-hub/app-service)**: Use App Service applications as origins and place regional instances in an origin group. For example, route a public application hostname to web apps in two regions with a dedicated readiness path for probes. Match the origin host header to an accepted application hostname, and restrict direct origin access using access restrictions or supported Premium Private Link connectivity.
- **[Azure Blob Storage](https://blowstack.com/tools/cloud-services-hub/azure-blob-storage)**: Use Blob Storage as an origin for public static assets or downloads, with Front Door caching eligible responses at the edge. For example, route an assets hostname to a storage account containing versioned JavaScript and image files. Premium can use Private Link for supported storage origin configurations; Front Door does not automatically grant clients authorization to private blobs.
- **[API Management](https://blowstack.com/tools/cloud-services-hub/api-management)**: Place Front Door ahead of API Management for global routing and edge WAF enforcement while API Management handles API policies and consumer-facing API controls. For example, send the /api/* path to an API Management gateway and other paths to a web application. Configure gateway hostname and TLS settings carefully, and cache API responses only when their authorization and cache semantics permit it.
- **[Azure Key Vault](https://blowstack.com/tools/cloud-services-hub/azure-key-vault)**: Store customer-managed custom-domain TLS certificates in Key Vault and grant Front Door's managed identity the required access. For example, use an enterprise-issued certificate for a branded application domain instead of a Front Door-managed certificate. Validate certificate format, permissions, and certificate-update behavior as part of the renewal process.
- **[Azure Monitor](https://blowstack.com/tools/cloud-services-hub/azure-monitor)**: Use Azure Monitor for Front Door metrics, alerts, and diagnostic settings, and send resource logs to a Log Analytics workspace when query-based analysis is required. For example, alert on an increased percentage of origin errors and investigate access logs alongside WAF logs. Configure diagnostic settings explicitly because resource-log collection is not automatic.
- **[Azure DNS](https://blowstack.com/tools/cloud-services-hub/azure-dns)**: Host public DNS records in Azure DNS to validate custom domains and direct clients to Front Door. For example, create the required validation TXT record and a CNAME for www.contoso.com pointing to the Front Door endpoint. Use an appropriate supported alias configuration for an apex domain, and retain validation records needed for ongoing domain or certificate management.
- **[Azure Kubernetes Service (AKS)](https://blowstack.com/tools/cloud-services-hub/azure-kubernetes-service-(aks))**: Use an ingress controller or gateway in AKS as the application origin, with Front Door handling global delivery and edge security. For example, route traffic across ingress endpoints in two regional clusters and probe a readiness path exposed by each deployment. Configure public-origin restrictions or a supported Premium Private Link Service architecture rather than assuming Front Door can route directly to arbitrary private cluster addresses.
- **[Azure Advisor](https://blowstack.com/tools/cloud-services-hub/azure-advisor)**: Azure Front Door Standard and Premium surface profile-specific recommendations in Azure Advisor so you can review suggested changes to your deployment.
- **[Azure App Configuration](https://blowstack.com/tools/cloud-services-hub/azure-app-configuration)**: Azure Front Door can deliver application settings and feature flags from an Azure App Configuration store through its global edge network. The preview integration lets you connect an existing Front Door profile or create one from the configuration store.
- **[Azure Application Gateway](https://blowstack.com/tools/cloud-services-hub/azure-application-gateway)**: Azure Front Door can send traffic to regional Application Gateways, handling global routing and failover while each gateway routes requests to backends in its virtual network. Front Door Premium can reach a supported gateway origin through Private Link.
- **[Azure Container Apps](https://blowstack.com/tools/cloud-services-hub/azure-container-apps)**: Azure Front Door can route requests to an Azure Container Apps origin and distribute traffic across apps in different regions. Front Door Premium can use Private Link to reach a supported Container Apps environment without exposing the origin to the public internet.
- **[Azure Content Delivery Network](https://blowstack.com/tools/cloud-services-hub/azure-content-delivery-network)**: Azure Front Door Standard or Premium is the destination for the built-in migration from Azure CDN Standard from Microsoft (classic). The migration carries supported endpoint and custom-domain settings into Front Door so you can move delivery without rebuilding the profile from scratch.
- **[Azure Firewall](https://blowstack.com/tools/cloud-services-hub/azure-firewall)**: Azure Front Door can send requests to an Azure Firewall public IP configured to forward them to an application gateway using destination NAT. Front Door adds the client IP to the X-Forwarded-For header before the request passes through the firewall.
- **[Azure Functions](https://blowstack.com/tools/cloud-services-hub/azure-functions)**: Azure Front Door can route requests to HTTP-triggered Azure Functions, for example by sending requests under `/api` to a function app. Front Door Premium can use Private Link to reach a function app on a hosting plan that supports private endpoints.
- **[Azure Load Balancer](https://blowstack.com/tools/cloud-services-hub/azure-load-balancer)**: Azure Front Door can use a public Azure Load Balancer as an origin for HTTP and HTTPS traffic. Front Door Premium can also reach an internal load balancer through a Private Link service, keeping the origin off the public internet.
- **[Azure Policy](https://blowstack.com/tools/cloud-services-hub/azure-policy)**: Azure Front Door resources can be evaluated against built-in Azure Policy definitions. For example, you can audit profiles for missing diagnostic settings or check whether endpoints are protected by a web application firewall.
- **[Azure portal](https://blowstack.com/tools/cloud-services-hub/azure-portal)**: Azure Front Door has a dedicated Azure portal experience for creating profiles and configuring origins, routes, custom domains, caching, and security policies. You can also use it to review traffic and security reports for a profile.
- **[Azure Private Link](https://blowstack.com/tools/cloud-services-hub/azure-private-link)**: Azure Front Door Premium uses Private Link to connect to supported origins over a private endpoint managed by Front Door. After the origin owner approves the connection, the origin can serve Front Door traffic without accepting public requests.
- **[Azure Resource Manager](https://blowstack.com/tools/cloud-services-hub/azure-resource-manager)**: Azure Front Door Standard and Premium profiles, endpoints, origin groups, routes, and security policies are Azure Resource Manager resource types. You can declare them in an ARM template to deploy the same routing and security configuration across environments.
- **[Azure role-based access control (Azure RBAC)](https://blowstack.com/tools/cloud-services-hub/azure-role-based-access-control-(azure-rbac))**: Azure Front Door supports built-in Azure RBAC roles that scope access to profiles, custom domains, or secrets. For example, you can let an operator manage custom domains without granting permission to change routes.
- **[Azure Service Health](https://blowstack.com/tools/cloud-services-hub/azure-service-health)**: Azure Front Door service incidents and advisories can appear in Azure Service Health for affected subscriptions. You can configure Service Health alerts to notify operators when Azure reports an issue affecting Front Door.
- **[Azure Traffic Manager](https://blowstack.com/tools/cloud-services-hub/azure-traffic-manager)**: Azure Front Door can be a monitored endpoint in an Azure Traffic Manager profile. A priority-based profile can direct clients to Front Door normally and return an alternate delivery endpoint in DNS if Front Door fails its health checks.
- **[Azure Virtual Network](https://blowstack.com/tools/cloud-services-hub/azure-virtual-network)**: Azure Front Door publishes the `AzureFrontDoor.Backend` service tag for network security group rules on origins in an Azure Virtual Network. For a public origin, you can restrict inbound traffic to that tag and validate the `X-Azure-FDID` header to accept requests only from your Front Door profile.
- **[Azure Web Application Firewall](https://blowstack.com/tools/cloud-services-hub/azure-web-application-firewall)**: Azure Front Door associates web application firewall policies with its endpoints so requests are inspected at the edge before they reach an origin. Both tiers support custom rules, while Premium also supports managed rule sets and bot protection.
- **[Event Hubs](https://blowstack.com/tools/cloud-services-hub/event-hubs)**: Azure Front Door can stream diagnostic logs to Event Hubs through a diagnostic setting. For example, a security pipeline can consume Front Door access and firewall logs as they arrive.
- **[Microsoft Defender for Cloud](https://blowstack.com/tools/cloud-services-hub/microsoft-defender-for-cloud)**: Azure Front Door is covered by a Defender for Cloud recommendation that checks whether web application firewall protection is enabled. Security teams can use the recommendation to identify deployments that need a WAF policy.
- **[Microsoft Entra External ID](https://blowstack.com/tools/cloud-services-hub/microsoft-entra-external-id)**: Azure Front Door can serve a branded sign-in hostname for a Microsoft Entra External ID external tenant. Front Door terminates HTTPS for the custom domain and routes authentication requests to the tenant's sign-in endpoint.
- **[Microsoft Entra ID (formerly Azure AD)](https://blowstack.com/tools/cloud-services-hub/microsoft-entra-id-(formerly-azure-ad))**: Azure Front Door Premium can validate Microsoft Entra ID JSON Web Tokens at the edge using a preview authentication policy. The policy can log validation results or block invalid requests before they reach the origin.
- **[Microsoft Entra ID B2C](https://blowstack.com/tools/cloud-services-hub/azure-active-directory-b2c)**: Azure Front Door can provide a custom domain for Microsoft Entra ID B2C user flows and custom policies. It routes requests from a branded hostname such as `login.contoso.com` to the tenant's B2C authentication endpoint.
- **[Microsoft Sentinel](https://blowstack.com/tools/cloud-services-hub/microsoft-sentinel)**: Azure Front Door web application firewall logs can feed the Azure Web Application Firewall solution in Microsoft Sentinel through a Log Analytics workspace. Security teams can use the logs to investigate blocked requests and correlate them with other security events.
- **[Static Web Apps](https://blowstack.com/tools/cloud-services-hub/static-web-apps)**: Azure Front Door powers the enterprise-grade edge feature in Static Web Apps. You can also configure a separate Front Door profile to route traffic to a static web app when you need to share a domain or edge policies across multiple origins.

## Alternatives to Azure Front Door in other clouds

### AWS

**[Amazon CloudFront](https://blowstack.com/tools/cloud-services-hub/amazon-cloudfront)**: Amazon CloudFront and Azure Front Door both deliver websites and APIs through global edge networks with caching, TLS, and web application firewall protection. CloudFront offers pay-as-you-go and flat-rate plans, while Front Door charges a recurring profile fee plus metered usage.

| | Azure Front Door | Amazon CloudFront |
| --- | --- | --- |
| Billing model | Profile fee + metered usage | Pay-as-you-go or flat-rate plans |
| Private origin connectivity | Private Link on Premium | VPC origins in private subnets |
| Multitenant setup | Shared profile + tenant domains | Shared config + distribution tenants |

Compared Nov 2026.

**[Elastic Load Balancing (ELB)](https://blowstack.com/tools/cloud-services-hub/elastic-load-balancing-(elb))**: AWS Elastic Load Balancing (ELB), through its Application Load Balancer (ALB), and Azure Front Door both route HTTP(S) requests to healthy backends. ELB also handles TCP and UDP through its Network Load Balancer (NLB), while Front Door focuses on global HTTP(S) delivery across regions and hosting platforms.

| | Azure Front Door | Elastic Load Balancing (ELB) |
| --- | --- | --- |
| Traffic distribution scope | Across regions and hosting platforms | Across AWS Availability Zones |

Compared Nov 2026.

## What is Azure Front Door

Azure Front Door sits between internet clients and application origins, providing global HTTP(S) routing and content delivery through Microsoft's edge network. It supports both static assets and dynamic application traffic. Unlike a regional load balancer, Front Door can distribute requests across applications in multiple Azure regions or across publicly reachable origins outside Azure. It is an application-layer reverse proxy, not a general-purpose TCP or UDP load balancer.

For new deployments, choose between Standard and Premium according to security and connectivity requirements. Configure a profile containing endpoints, custom domains, routes, origin groups, and origins. Routes associate incoming hostnames and URL paths with origin groups. Within an origin group, health, priority, latency, and weight influence origin selection. Use priority for primary-and-secondary designs and weights to distribute traffic among eligible origins; weights do not guarantee an exact percentage for small request volumes.

Design health probes to reflect application readiness without requiring authentication or performing expensive work. Configure the origin hostname, origin host header, and TLS certificate validation consistently, particularly for services that depend on host-based routing. Use HTTPS forwarding when traffic must remain encrypted between Front Door and the origin. TLS terminates at Front Door and a separate TLS connection protects the origin leg; this is not TLS passthrough.

Enable caching selectively for public, reusable responses such as images, scripts, and versioned downloads. Define query-string behavior and expiration rules deliberately, and avoid caching personalized or sensitive API responses. Cache purges support invalidation, but versioned asset URLs provide more predictable deployment behavior. Compression can reduce response size for supported content types, while dynamic requests still benefit from Front Door's connection handling and network routing.

Apply a web application firewall policy and evaluate detection logs before moving new rules into prevention mode. Standard supports custom WAF rules, while Premium adds managed rule sets and bot protection. Premium also supports Private Link connectivity to supported origins. For public origins, restrict direct access using service-specific network controls and validate the Front Door instance identifier where supported; a request header alone is not a network security boundary.

Operationally, enable diagnostic logs, monitor origin health and error rates, and test regional failure scenarios before production rollout. Manage configuration through infrastructure as code and allow for configuration propagation during changes. Edge actions provide lightweight JavaScript execution during request and response processing. Premium supports mutual TLS client authentication, while native gRPC on Standard and Premium and JWT validation through Premium Auth Policy are public-preview capabilities that require evaluation of their documented limitations before production adoption.
