You are currently viewing Azure Content Deliver Network – Create Profile

Azure Content Deliver Network – Create Profile

In this post, let’s see how to create the Azure CDN profile and how to add the endpoints.

This is almost similar to what we have done in the previous post, where we created the storage account and enabled CDN from there. The only difference is, the storage account would be associated with already existing CDN profile

What is CDN Profile ?

An Azure CDN profile is a logical container for the CDN endpoints. The pricing is tier is also associated with the CDN profile. So, all endpoints that are part of a CDN profile would come under same pricing bucket.

A CDN endpoint has an origin, from where the data is read and cached at POPs.

The time it takes for the endpoint to propagate depends on the pricing tier selected when you created the profile. Standard Akamai usually completes within one minute, Standard Microsoft in 10 minutes, and Standard Verizon and Premium Verizon in up to 90 minutes.

New CDN Profile

To create a new CDN Profile, search CDN Profile in top menu search box and then select CDN Profile from the search results. It would open the list showing all existing profiles. Then click on Add to create new profile

It would open a panel like below. Provide inputs as shown below and then click on Create button.

Azure Portal: Create CDN Profile

Storage Account

For this demo, we will use a storage account as Origin. So, let’s create the storage account democdnsa which would further be used as origin.

Please refer this blog post to create the storage account.

New CDN Endpoint

Now, we have an existing CDN profile and an existing storage account. Let’s try to create an endpoint which has storage account origin.

Now, open the existing CDN profile. This would open the new panel showing overview of the CDN profile. Click on + Endpoint button. This would open the panel on right side. Provide below inputs on the new panel:

  • Name, name of the endpoint
  • Origin type, select Storage here as we want to use Storage account as origin
  • Origin Hostname, select the appropriate storage account

Keep rest of the inputs to their defaults and then click on Add.

Azure Portal: Add endpoint in CDN profile

Now, if you navigate to storage account and open Azure CDN, you would be able to see the new endpoint there.

The public blobs from the storage account would be accessible via this endpoint, http://{endpoint-name}.azureedge.net/{container}/{blob-name}.

I hope you found this information useful. Let me know your thoughts.

Leave a Reply