Cloud service · Azure · Updated

Azure Content Delivery Network - Azure Content Delivery Network is an edge caching service that distributes web content through globally distributed points of presence to reduce delivery latency and origin load.

In short

Azure Content Delivery Network caches HTTP and HTTPS content from Azure-hosted or publicly accessible origins, including storage accounts and web applications. Engineers use it to deliver static assets, downloads, and other cacheable responses while controlling cache behavior, custom domains, and diagnostics. Existing deployments require lifecycle planning: Azure CDN Standard from Microsoft (classic) retires on September 30, 2027, with Azure Front Door Standard or Premium as the migration destination.

Cloud Services Hub →

8 key features of Azure Content Delivery Network

01
Distributed edge caching

Caches eligible content at globally distributed edge locations to reduce repeated origin retrievals. The benefit depends on user distribution, cacheability, object popularity, and cache expiration settings.

02
Azure and custom HTTP origins

Existing endpoints can retrieve content from services such as Azure Blob Storage, Azure App Service, or publicly accessible HTTP servers. Configure the origin hostname, host header, and origin protocol to match the backend's requirements.

03
Cache expiration and query-string controls

Use origin caching headers and supported endpoint rules to control how long responses remain cached. Configure query-string handling carefully so requests that produce different content do not incorrectly share a cached response.

04
Cache invalidation

Purge cached paths when updated content must become available before the configured expiration. Purging is not instantaneous and can temporarily increase origin requests, so versioned asset filenames are usually preferable for routine releases.

05
Custom domains and HTTPS

Existing custom domains can provide branded HTTPS delivery, subject to the endpoint's certificate configuration and SKU restrictions. Microsoft classic SKUs stopped accepting new domain onboarding on August 15, 2025, so domain expansion requires migration planning.

06
Rules-based request and response handling

Supported rules engines can adjust caching behavior, redirects, and HTTP headers based on request conditions. Available conditions, actions, and limits vary by provider and SKU; validate rules against the actual deployed endpoint.

07
Content compression

Supported endpoint configurations can compress eligible text-based content to reduce transferred bytes. Test content types, response sizes, and client encoding negotiation rather than assuming every response will be compressed.

08
Metrics and resource logs

Azure Monitor integration provides operational metrics, while explicitly enabled diagnostic settings can export request logs to supported destinations. Use these signals to identify origin failures, traffic changes, and ineffective caching.

Where Azure Content Delivery Network is used

  1. 01
    Static website asset delivery

    Serve images, JavaScript, CSS, and fonts through an existing CDN endpoint while the application handles dynamic requests. Publish assets with content-hashed filenames and long cache lifetimes to reduce origin reads without delaying releases.

  2. 02
    Public documentation and downloads

    Distribute documentation files, installers, and other public downloads from a storage origin. Use immutable versioned paths and retain origin capacity for newly published files and cache misses.

  3. 03
    Reducing repeated application work

    Cache explicitly public, reusable responses that would otherwise require repeated application processing. Separate these routes from personalized content and test cache behavior when cookies, authorization headers, or query parameters are present.

  4. 04
    Image and media asset distribution

    Deliver pre-generated product images, thumbnails, and cacheable media files to geographically distributed users. If query parameters select image sizes or formats, ensure those parameters are represented correctly in cache behavior.

  5. 05
    Maintaining legacy delivery during migration

    Keep existing CDN endpoints operational while validating replacement Azure Front Door routes, certificates, and caching policies. Move traffic through a controlled DNS cutover before the applicable retirement deadline rather than expanding the classic deployment.

How Azure Content Delivery Network is priced

Usage-based outbound delivery

CDN delivery is generally billed by data transferred from edge locations to clients, with rates varying by provider, SKU, delivery geography, and usage tier. Estimate costs using the actual geographic distribution of client traffic rather than only the origin's Azure region.

SKU-dependent feature and request charges

Additional meters can apply to requests or capabilities such as rules processing, depending on the provider and pricing tier. Check the rate card for the existing profile instead of assuming that all classic CDN SKUs share the same charging structure.

Related origin and observability costs

Origin storage, read operations, application compute, applicable origin data transfer, and diagnostic ingestion or retention are billed separately from CDN delivery. Cache misses and post-purge refills can increase these costs; destination services such as Azure Front Door also have their own pricing models.

Services Azure Content Delivery Network works with

A common existing architecture places Azure CDN in front of Azure Blob Storage for public files and Azure App Service for selected cacheable application responses. Storage holds versioned images, scripts, and downloads, while the application continues to serve authenticated or personalized content without shared caching. Origin hostname, host header, HTTPS validation, and cache-control behavior must be tested together because a reachable backend is not necessarily a correctly configured origin.

Azure DNS supplies the records for established delivery hostnames, and supported customer-provided certificate configurations use Azure Key Vault. Certificate access and renewal require operational ownership; DNS records alone neither provision HTTPS nor bypass restrictions on new classic custom domains. Azure Monitor and Log Analytics provide the diagnostic path for investigating delivery errors, traffic changes, and cache behavior, with separate ingestion and retention costs.

For affected classic deployments, build the replacement delivery configuration in Azure Front Door Standard or Premium and validate it alongside the existing endpoint. Compare representative URLs, query-string behavior, response headers, redirects, and certificates before changing DNS. Preserve a controlled cutover procedure and complete migration before the applicable retirement deadline.

Azure Blob Storage

Use a blob service endpoint or a storage static website endpoint as the origin for public content. For example, publish versioned application bundles and product images to storage and serve them through an existing CDN custom domain. Choose the correct origin hostname for the hosting mode, and do not assume that a private container becomes accessible through CDN automatically.

App Service

Configure an App Service application as an origin for static assets or explicitly cacheable public responses. For example, cache a public documentation route while keeping account pages uncached. Set the origin host header to a hostname the application accepts and verify HTTPS connectivity, redirects, and cookie behavior.

Azure DNS

Azure DNS can host the DNS records that direct an existing custom hostname to its CDN endpoint. For example, maintain a CNAME for an established assets subdomain and update it during migration after validating the replacement endpoint. DNS configuration does not bypass the classic SKU restriction on onboarding new custom domains.

Azure Monitor

Use Azure Monitor metrics and diagnostic settings to observe the CDN and send supported resource logs to a Log Analytics workspace. For example, investigate a rise in delivery errors by comparing request logs with origin application failures. Enable the relevant log categories explicitly and configure retention to match troubleshooting and cost requirements.

Azure Key Vault

Supported customer-provided certificate configurations use certificates stored in Azure Key Vault for custom-domain HTTPS. For example, maintain the certificate for an already-onboarded assets domain in a vault and verify that CDN has the required access. Follow the SKU-specific requirements for certificate format, supported vault configuration, and renewal; this integration does not provide general request authentication.

Azure Front Door

Azure Front Door Standard or Premium is the migration destination for Azure CDN Standard from Microsoft (classic). For example, recreate an existing storage-backed delivery endpoint with equivalent caching behavior, validate its custom-domain certificate, and then cut over DNS. Run the services in parallel for validation rather than placing one CDN behind the other by default, and review differences in rules, security capabilities, and billing.

Azure Advisor

Azure CDN Standard from Microsoft (classic) profiles can receive Azure Advisor recommendations to migrate to Azure Front Door Standard or Premium. The recommendations identify the profiles that need attention.

Azure Policy

Azure CDN endpoint settings can be audited with Azure Policy. For example, a policy can flag classic endpoints that still allow unencrypted HTTP requests.

Azure portal

Azure CDN has dedicated pages in the Azure portal for configuring profiles, endpoints, origins, and custom domains. You can also purge cached files from an endpoint after publishing an update.

Azure Resource Manager

Azure CDN exposes profiles, endpoints, origins, and custom domains as Azure Resource Manager resource types. You can deploy a profile and its endpoints together in a template and use the same configuration across environments.

Alternatives to Azure Content Delivery Network in other clouds

AWS

Amazon CloudFrontAmazon CloudFront

Amazon CloudFront and Azure Content Delivery Network cache web content at global edge locations to reduce latency and origin load. CloudFront offers pay-as-you-go and flat-rate plans, while Azure CDN bills for outbound delivery with additional charges depending on the SKU; Azure CDN Standard from Microsoft (classic) retires on September 30, 2027.

Compare fact by fact
Azure Content Delivery NetworkAmazon CloudFront
Pricing modelUsage-based, with SKU-specific chargesPay-as-you-go or flat-rate plans
Origin connectivityPublic HTTP originsPrivate VPC origins supported

What is Azure Content Delivery Network

2 min read

Azure Content Delivery Network places cached copies of web content at distributed edge locations. Clients request content through a CDN endpoint or its associated custom domain rather than directly from the origin. When a suitable cached response is available, the edge serves it; otherwise, the service retrieves content from the configured origin and caches eligible responses according to the applicable caching policy. This reduces repeated origin requests and can improve delivery times for geographically distributed users.

The resource model organizes endpoints into CDN profiles. An endpoint defines how the service reaches an origin and handles incoming requests, while the profile determines the provider and pricing tier. Historically, Azure CDN offered multiple provider-backed SKUs, so capabilities and operational procedures are not interchangeable across all existing deployments. Confirm the exact SKU before changing rules, certificates, logging, or automation.

Lifecycle restrictions are important for architecture decisions. Beginning August 15, 2025, Azure CDN from Microsoft classic SKUs no longer support new profile creation or custom-domain onboarding. Switching existing domains from customer-provided certificates to managed certificates is also no longer supported under that announcement. Azure CDN Standard from Microsoft (classic) retires on September 30, 2027; migrate affected workloads to Azure Front Door Standard or Premium before that date. The separate retirement date for Azure CDN in China is December 1, 2025, with the retirement announcement requiring migration and resource deletion before November 15, 2025.

For existing endpoints, configure the origin hostname, origin host header, and HTTPS settings carefully. A web application may reject requests if the forwarded host header does not match its configured hostname, and origin TLS validation requires a suitable certificate. Azure Blob Storage is a common origin for public assets, while Azure App Service or another publicly reachable web server can supply application content. Do not assume that classic CDN endpoints provide private connectivity to an origin.

Cache correctness depends on response headers, time-to-live settings, rules, and query-string handling. Use versioned asset paths for long-lived JavaScript, style sheets, images, and downloads. Only ignore query strings when they cannot change the returned representation. Keep personalized or sensitive responses out of shared caches, and verify actual behavior with representative authenticated and anonymous requests. CDN caching is not an authentication mechanism.

Use cache purges when content must be invalidated before its normal expiration, but account for propagation time and increased origin traffic as caches refill. Enable resource logs explicitly and use Azure Monitor to investigate errors, traffic volume, and cache behavior. Maintain origin capacity for cold-cache traffic and cache misses rather than sizing exclusively for normal cache-hit rates.

For migration, inventory domains, certificates, origin settings, caching rules, redirects, and diagnostic destinations. Reproduce and test these behaviors in Azure Front Door Standard or Premium, validate representative URLs and response headers, and then perform a controlled DNS cutover. Azure Front Door is a separate service with different configuration and billing; migration is not simply a CDN profile SKU change.

Azure architecture icons are the property of Microsoft. BlowStack is not affiliated with or endorsed by Microsoft.

AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.