In this post, I’ll guide you through Azure CDN and how you can leverage it in practice.

What is an Azure Content Delivery Network?

The Azure Content Delivery Network (CDN) is a geographically distributed compute cluster that works together to deliver internet content quickly. A CDN allows for the speedy distribution of materials necessary for Internet content loading, such as HTML pages, images, videos, etc. A correct configured Azure CDN service may also help websites defend against common malicious attacks such as Distributed Denial of Service Attacks (DDoS).

Prerequisites

  • An active Azure Subscription

Pre-deployed Azure Resources

 

Steps to create an Azure CDN profile

1. Sign in to the Azure Portal

2. Search for “CDN” and click the Create button.

3.  On the CDN profile page, on the tab Basics fill in the required values as the image below,

 

SettingValue
SubscriptionSelect a valid Azure subscription
Resource groupCreate or Select an existing resource group
NameType a name for the CDN profile
RegionSelect Global
Pricing tier*Select Standard Microsoft
Endpoint settings
Create a new CDN endpointmark the tickbox
CDN endpoint nameType a unique endpoint name
Origin typeSelect Custom origin
Origin hostnameType the origin hostname. For demo purposes, I use the Azure VM Public IP.

Comparisons between Azure CDN product features

4. The endpoint has propagated, and the status has changed to “running” in the Endpoints list a few minutes ago.

In the table below, you can see the propagation time for each CDN product.

Azure CDN productsPropagation time
Standard AkamaiOne minute
Standard MicrosoftTen minutes
Standard VerizonThirty minutes
Premium VerizonThirty minutes

Test the CDN profile

The video below shows how the Azure CDN profile works as expected.

Useful Links

Share This