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.
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.
- Next, we click on ‘manage CDN’.
- When we click on ‘manage CDN’ we will be taken to a new page.
- Here, we click on ‘Country Filtering’ from menu items at the top of the screen. Then we click on the ‘Add Country Filter’ button.
- After that, we specify the directory and select Allow/block.
- We select the country on the next screen.
- Then we click on ‘Cache Setting’ and scroll down to the bottom of the page.
- We select ‘Compression Enabled’ and click the ‘Update’ button. By default, compression is disabled.
- 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.
- 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.]
Conclusion
Today, we saw how our Support Engineers create Azure CLI CDN.
0 Comments