Call Us! 1-800-383-5193
Call Us! 1-800-383-5193
Call Us! 1-800-383-5193

Need Help?

Emergency Response Time custom

Our experts have had an average response time of 12.45 minutes in December 2020 to fix urgent issues.

We will keep your servers stable, secure and fast at all times for one fixed price.

Azure CLI create CDN – How we create it

by | Dec 31, 2020

In Microsoft Azure CLI, we can easily create a CDN from the Azure Management Portal.

Here at Bobcares, we have seen several such Azure related queries as part of our Server Management Services for web hosts and online service providers.

Today, we’ll take a look at how to set up Azure multi-factor authentication.


Azure CLI Content Delivery Network(CDN)

Caching mainly helps in performance improvement. Windows Azure makes use of caching to increase the speed of cloud services. Content Delivery Network (CDN) puts stuff like blobs and other static content in a cache. The process involves placing the data at strategically chosen locations and caching it. As a result, it provides maximum bandwidth for its delivery to users.

Azure Content Delivery Network (CDN) allows us to reduce load times, save bandwidth, and speed responsiveness.

Create a CDN

1. First, we login to the Azure Management Portal.
2. Next, we click on ‘New’ at the bottom left corner.
3. After that, we select ‘APP Services’ then ‘CDN’.
4. Lastly, we click on ‘Quick Create’. The following screen will come up.

azure cli create cdn

As a result, three fields will pop up:

  • Subscription − There will be a list of subscriptions you have subscribed to and you can choose from one of them. In this demo, only one option was there in the subscription dropdown, which was ‘BizSpark’, the current subscription.
  • Origin Type − This dropdown will ask to select an origin type. The integrated service will have an option of Web Apps, Cloud Services, Storage, and Media Services.
  • Origin URL − This will show the URLs based on the chosen origin type in the dropdown.

5. We choose one of the options from each dropdown as needed and click ‘Create’. Finally, a CDN endpoint is created.

Now let’s take a look at how our Support Engineers create CDN in Azure.


Create CDN for Custom Origin Links

Earlier, we could only link Azure services CDN. But now we can link any website to it using this service.

When we create a CDN service, in the ‘Origin Type’ dropdown, there is an option ‘Custom Origin’. Here we can specify the link in the URL field.


Manage CDN

First, we click on the Name of the CDN we want to manage in the list displayed in CDN services.

  1. Next, we click on ‘manage CDN’.
  2. When we click on ‘manage CDN’ we will be taken to a new page.
  3. Here, we click on ‘Country Filtering’ from menu items at the top of the screen. Then we click on the ‘Add Country Filter’ button.
  4. After that, we specify the directory and select Allow/block.
  5. We select the country on the next screen.
  6. Then we click on ‘Cache Setting’ and scroll down to the bottom of the page.
  7. We select ‘Compression Enabled’ and click the ‘Update’ button. By default, compression is disabled.
  8. Next, we click on ‘Analytics’ in menu items at the top of the page. We can see a list of all the reports in the left panel.
  9. Additionally, we can download the report as an excel file by clicking on the excel icon at the top right corner.


Map a Custom Domain Name

Sometimes, we may want to use a custom domain name instead of a CDN endpoint that is autogenerated by the Azure service. Windows Azure has provided a new feature that allows mapping a custom domain name to the application’s CDN endpoint. Let’s see how we can do it in the Azure Portal.

  • First, we click on the ‘Manage Domain’ Button on the bottom horizontal menu.
  • Next, we enter the custom URL in the text box and it’s done.

[Need any further assistance with Azure queries? – We are here to help you.]



Today, we saw how our Support Engineers create Azure CLI CDN.


Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.


var google_conversion_label = "owonCMyG5nEQ0aD71QM";


Submit a Comment

Your email address will not be published. Required fields are marked *