<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Why to use CDN &#8211; Sibeesh Passion</title>
	<atom:link href="https://mail.sibeeshpassion.com/tag/why-to-use-cdn/feed/" rel="self" type="application/rss+xml" />
	<link>https://mail.sibeeshpassion.com</link>
	<description>My passion towards life</description>
	<lastBuildDate>Tue, 11 Jun 2019 06:49:23 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>/wp-content/uploads/2017/04/Sibeesh_Passion_Logo_Small.png</url>
	<title>Why to use CDN &#8211; Sibeesh Passion</title>
	<link>https://mail.sibeeshpassion.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Azure Content Delivery Network (CDN) &#8211; A Walk Through</title>
		<link>https://mail.sibeeshpassion.com/azure-content-delivery-network-cdn-a-walk-through/</link>
					<comments>https://mail.sibeeshpassion.com/azure-content-delivery-network-cdn-a-walk-through/#disqus_thread</comments>
		
		<dc:creator><![CDATA[SibeeshVenu]]></dc:creator>
		<pubDate>Sun, 28 May 2017 04:47:13 +0000</pubDate>
				<category><![CDATA[Azure]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[Azure CDN]]></category>
		<category><![CDATA[Benefits Of CDN]]></category>
		<category><![CDATA[Increase Website Performance With Azure CDN]]></category>
		<category><![CDATA[Why to use CDN]]></category>
		<guid isPermaLink="false">http://sibeecst_passion.com/?p=12387</guid>

					<description><![CDATA[[toc] Introduction This post is going to walk through about Azure Content Delivery Network (CDN). Before we go deep into Azure CDN, it is recommended that you must know What is a CDN and What is the use of a CDN? So let&#8217;s go and try to answer those. What is a CDN In our day to day life, we all open websites many times, how fast you area getting responses from those sites? Some might be loading very fast, others may be slow, have you ever thought why there is such a huge delay in giving response? There are [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>[toc]</p>



<h3 class="wp-block-heading">Introduction</h3>



<p>This post is going to walk through about <a href="http://sibeeshpassion.com/category/Azure" target="_blank" rel="noopener noreferrer">Azure</a> Content Delivery Network (CDN). Before we go deep into Azure CDN, it is recommended that you must know What is a CDN and What is the use of a CDN? So let&#8217;s go and try to answer those.</p>



<h4 class="wp-block-heading">What is a CDN</h4>



<p>In our day to day life, we all open websites many times, how fast you area getting responses from those sites? Some might be loading very fast, others may be slow, have you ever thought why there is such a huge delay in giving response? There are a lot of possible reasons behind it, here we are going to discuss about one reason and a solution that we can do, that is CDN. With the help of a CDN, we can reduce the physical distance between the user and our website server, and we can cache our images and other contents, so that the contents can be serced quickly.</p>



<h4 class="wp-block-heading">What is a Azure CDN</h4>



<p>Azure CDN, caches all the static contents that you have in your website, in different locations. Using a Azure CDN, can reduce the number of riund trips for getting the required contents, hence we get better performance and user experience.</p>



<figure class="wp-block-image alignnone"><a href="http://sibeeshpassion.com/wp-content/uploads/2017/05/cdn-overview.png"><img fetchpriority="high" decoding="async" width="640" height="355" src="http://sibeeshpassion.com/wp-content/uploads/2017/05/cdn-overview.png" alt="cdn-overview" class="wp-image-12392" srcset="/wp-content/uploads/2017/05/cdn-overview.png 640w, /wp-content/uploads/2017/05/cdn-overview-300x166.png 300w, /wp-content/uploads/2017/05/cdn-overview-400x222.png 400w" sizes="(max-width: 640px) 100vw, 640px" /></a><figcaption>cdn-overview</figcaption></figure>



<p>Image Courtesy: Microsoft Docs</p>



<p>Advantages of having a Azure CDN are listed below.</p>



<ul class="wp-block-list"><li>Better performance for your apps and services</li><li>Global distributed network</li><li>Highly scalable infrastructure</li><li>Active redundancy and failover</li><li>High reliability</li><li>Robust security</li></ul>



<h3 class="wp-block-heading">Background</h3>



<p>I own a personal website(<a href="http://sibeeshpassion.com/" target="_blank" rel="noopener noreferrer">http://sibeeshpassion.com/</a>) and I wanted to make sure the end users of my site, get a better experience, creating a CDN is the first step towards it. And in this article I am just sharing how a Azure CDN can help in that. I hope you will like this.</p>



<h3 class="wp-block-heading">Creating a Azure CDN</h3>



<p>To create a CDN, you must login to <a href="https://portal.azure.com/" target="_blank" rel="noopener noreferrer">https://portal.azure.com/</a> and then click on the New icon.</p>



<figure class="wp-block-image alignnone"><a href="http://sibeeshpassion.com/wp-content/uploads/2017/05/Azure-Create-New-Resource.png"><img decoding="async" width="470" height="506" src="http://sibeeshpassion.com/wp-content/uploads/2017/05/Azure-Create-New-Resource.png" alt="Azure Create New Resource" class="wp-image-12393" srcset="/wp-content/uploads/2017/05/Azure-Create-New-Resource.png 470w, /wp-content/uploads/2017/05/Azure-Create-New-Resource-279x300.png 279w, /wp-content/uploads/2017/05/Azure-Create-New-Resource-400x431.png 400w" sizes="(max-width: 470px) 100vw, 470px" /></a><figcaption>Azure Create New Resource</figcaption></figure>



<p>Now, search for CDN.</p>



<figure class="wp-block-image alignnone"><a href="http://sibeeshpassion.com/wp-content/uploads/2017/05/Search-for-CDN-e1495867660307.png"><img decoding="async" width="634" height="261" src="http://sibeeshpassion.com/wp-content/uploads/2017/05/Search-for-CDN-e1495867660307.png" alt="Search for CDN" class="wp-image-12394" srcset="/wp-content/uploads/2017/05/Search-for-CDN-e1495867660307.png 634w, /wp-content/uploads/2017/05/Search-for-CDN-e1495867660307-300x124.png 300w, /wp-content/uploads/2017/05/Search-for-CDN-e1495867660307-400x165.png 400w" sizes="(max-width: 634px) 100vw, 634px" /></a><figcaption>Search for CDN</figcaption></figure>



<p>Our next step is to create the CDN profile, to do so, you must fill the form according to your preferences.</p>



<figure class="wp-block-image alignnone"><a href="http://sibeeshpassion.com/wp-content/uploads/2017/05/Create-CDN-Profile.png"><img decoding="async" width="172" height="357" src="http://sibeeshpassion.com/wp-content/uploads/2017/05/Create-CDN-Profile.png" alt="Create CDN Profile" class="wp-image-12395" srcset="/wp-content/uploads/2017/05/Create-CDN-Profile.png 172w, /wp-content/uploads/2017/05/Create-CDN-Profile-144x300.png 144w, /wp-content/uploads/2017/05/Create-CDN-Profile-289x600.png 289w" sizes="(max-width: 172px) 100vw, 172px" /></a><figcaption>Create CDN Profile</figcaption></figure>



<p>Please be sure that you are checking your price tier and, as per your needs, you can select one. Here I am selecting S1 Standard Verizon.</p>



<figure class="wp-block-image alignnone"><a href="http://sibeeshpassion.com/wp-content/uploads/2017/05/Choose-the-Pricing-Tier-e1495868644842.png"><img decoding="async" width="306" height="357" src="http://sibeeshpassion.com/wp-content/uploads/2017/05/Choose-the-Pricing-Tier-e1495868644842.png" alt="Choose the Pricing Tier" class="wp-image-12396" srcset="/wp-content/uploads/2017/05/Choose-the-Pricing-Tier-e1495868644842.png 306w, /wp-content/uploads/2017/05/Choose-the-Pricing-Tier-e1495868644842-257x300.png 257w, /wp-content/uploads/2017/05/Choose-the-Pricing-Tier-e1495868644842-400x466.png 400w, /wp-content/uploads/2017/05/Choose-the-Pricing-Tier-e1495868644842-515x600.png 515w" sizes="(max-width: 306px) 100vw, 306px" /></a><figcaption>Choose the Pricing Tier</figcaption></figure>



<p>As we have created our CDN Profile, now it is time to create an End Point. Navigate to your CDN profile and click on the End Point.</p>



<figure class="wp-block-image alignnone"><a href="http://sibeeshpassion.com/wp-content/uploads/2017/05/Endpoint-Option-in-CDN-e1495868879477.png"><img decoding="async" width="634" height="182" src="http://sibeeshpassion.com/wp-content/uploads/2017/05/Endpoint-Option-in-CDN-e1495868879477.png" alt="Endpoint Option in CDN" class="wp-image-12397" srcset="/wp-content/uploads/2017/05/Endpoint-Option-in-CDN-e1495868879477.png 634w, /wp-content/uploads/2017/05/Endpoint-Option-in-CDN-e1495868879477-300x86.png 300w, /wp-content/uploads/2017/05/Endpoint-Option-in-CDN-e1495868879477-400x115.png 400w" sizes="(max-width: 634px) 100vw, 634px" /></a><figcaption>Endpoint Option in CDN</figcaption></figure>



<p>You must add the required data in the upcoming Add and end point form. Here, the name is the name of your CDN end point, that will be created as <em>.azureedge.net</em>.</p>



<p>Once you are finished, you can see that your CDN end point is in running.</p>



<figure class="wp-block-image alignnone"><a href="http://sibeeshpassion.com/wp-content/uploads/2017/05/CDN-Endpoint-Running-e1495869358444.png"><img decoding="async" width="634" height="118" src="http://sibeeshpassion.com/wp-content/uploads/2017/05/CDN-Endpoint-Running-e1495869358444.png" alt="CDN Endpoint Running" class="wp-image-12398" srcset="/wp-content/uploads/2017/05/CDN-Endpoint-Running-e1495869358444.png 634w, /wp-content/uploads/2017/05/CDN-Endpoint-Running-e1495869358444-300x56.png 300w, /wp-content/uploads/2017/05/CDN-Endpoint-Running-e1495869358444-400x74.png 400w" sizes="(max-width: 634px) 100vw, 634px" /></a><figcaption>CDN Endpoint Running</figcaption></figure>



<h3 class="wp-block-heading">Creating a Custom Domain</h3>



<p>We have successfully created an Azure CDN, but is that really over? For some people it is, but for others it is not. Let&#8217;s see why? We have an option to add a custom domain for our CDN, that&#8217;s cool right? If you noticed well, we have created a CDN as <a href="https://cdn-sp.azureedge.net" target="_blank" rel="noopener noreferrer">https://cdn-sp.azureedge.net</a> but it would be great we can get one as <a href="https://cdn.sibeeshpassion.com" target="_blank" rel="noopener noreferrer">https://cdn.sibeeshpassion.com</a> right?. So here in this step, we are going to see how we can get a custom domain for our CDN.</p>



<p>To start with, login to your Azure Portal and browse for the CDN profile we have just created and click on the end point to which you want to map your custom domain.</p>



<figure class="wp-block-image alignnone"><a href="http://sibeeshpassion.com/wp-content/uploads/2017/05/Custom-Domain-Option-in-CDN-e1495870062544.png"><img decoding="async" width="634" height="77" src="http://sibeeshpassion.com/wp-content/uploads/2017/05/Custom-Domain-Option-in-CDN-e1495870062544.png" alt="Custom Domain Option in CDN" class="wp-image-12399" srcset="/wp-content/uploads/2017/05/Custom-Domain-Option-in-CDN-e1495870062544.png 634w, /wp-content/uploads/2017/05/Custom-Domain-Option-in-CDN-e1495870062544-300x36.png 300w, /wp-content/uploads/2017/05/Custom-Domain-Option-in-CDN-e1495870062544-400x49.png 400w" sizes="(max-width: 634px) 100vw, 634px" /></a><figcaption>Custom Domain Option in CDN</figcaption></figure>



<p>Now login to your Domain Registrar&#8217;s website and navigate to DNS records (If you could not find DNS records, search for Domain Name or Name Server Management). Here I am using BigRocks, and the screenshots may be different for other service providers.</p>



<figure class="wp-block-image alignnone"><a href="http://sibeeshpassion.com/wp-content/uploads/2017/05/Manage-DNS-in-BigRock-e1495870314831.png"><img decoding="async" width="634" height="274" src="http://sibeeshpassion.com/wp-content/uploads/2017/05/Manage-DNS-in-BigRock-e1495870314831.png" alt="Manage DNS in BigRock" class="wp-image-12400" srcset="/wp-content/uploads/2017/05/Manage-DNS-in-BigRock-e1495870314831.png 634w, /wp-content/uploads/2017/05/Manage-DNS-in-BigRock-e1495870314831-300x130.png 300w, /wp-content/uploads/2017/05/Manage-DNS-in-BigRock-e1495870314831-400x173.png 400w" sizes="(max-width: 634px) 100vw, 634px" /></a><figcaption>Manage DNS in BigRock</figcaption></figure>



<p>Navigate to the CNAME creation page, please check in advanced settings if you could not find it in default settings page. And fill the required fields.</p>



<figure class="wp-block-image alignnone"><a href="http://sibeeshpassion.com/wp-content/uploads/2017/05/CNAME-Creation-in-DNS-Window-e1495870474351.png"><img decoding="async" width="634" height="266" src="http://sibeeshpassion.com/wp-content/uploads/2017/05/CNAME-Creation-in-DNS-Window-e1495870474351.png" alt="CNAME Creation in DNS Window" class="wp-image-12401" srcset="/wp-content/uploads/2017/05/CNAME-Creation-in-DNS-Window-e1495870474351.png 634w, /wp-content/uploads/2017/05/CNAME-Creation-in-DNS-Window-e1495870474351-300x126.png 300w, /wp-content/uploads/2017/05/CNAME-Creation-in-DNS-Window-e1495870474351-400x168.png 400w" sizes="(max-width: 634px) 100vw, 634px" /></a><figcaption>CNAME Creation in DNS Window</figcaption></figure>



<p>Now, go back to azure portal, and give the custom domain name, we created in the DNS management settings(cdn.sibeeshpassion.com), in the Add a custom domain form.</p>



<figure class="wp-block-image alignnone"><a href="http://sibeeshpassion.com/wp-content/uploads/2017/05/Adding-Custom-Hostname.png"><img decoding="async" width="164" height="357" src="http://sibeeshpassion.com/wp-content/uploads/2017/05/Adding-Custom-Hostname.png" alt="Adding Custom Hostname" class="wp-image-12402" srcset="/wp-content/uploads/2017/05/Adding-Custom-Hostname.png 164w, /wp-content/uploads/2017/05/Adding-Custom-Hostname-138x300.png 138w, /wp-content/uploads/2017/05/Adding-Custom-Hostname-275x600.png 275w" sizes="(max-width: 164px) 100vw, 164px" /></a><figcaption>Adding Custom Hostname</figcaption></figure>



<p>Click Add. If everything goes fine, you should be able to enable the custom domain and the process will get started. The process includes the following tasks.</p>



<ul class="wp-block-list"><li> Submitting request </li><li> Domain validation </li><li> Certificate provisioning </li><li> Complete </li></ul>



<p>The domain validation will be automatically done if you had added a CNAME in your host provider DNS configuration which points to your CDN host name. If not, you will get a mail (The mail id in the WHOIS database), please wait for it.</p>



<p>In the certificate provisioning task, you can either have your own certificate in the Azure Key Valut and use it, or an auto generated one from Azure. The process may take up to 6 hours, yes it is quite a lot of time. </p>



<p>If everything goes well, the process will be completed, and you can see it in your custom domain overview. </p>



<figure class="wp-block-image"><img decoding="async" width="649" height="75" src="https://sibeeshpassion.com/wp-content/uploads/2019/06/Certificate-Deployed-Azure-CDN.png" alt="" class="wp-image-13736" srcset="/wp-content/uploads/2019/06/Certificate-Deployed-Azure-CDN.png 649w, /wp-content/uploads/2019/06/Certificate-Deployed-Azure-CDN-300x35.png 300w, /wp-content/uploads/2019/06/Certificate-Deployed-Azure-CDN-425x49.png 425w" sizes="(max-width: 649px) 100vw, 649px" /><figcaption>Certificate Deployed</figcaption></figure>



<p>You can see the complete status when you click on your custom domain.</p>



<figure class="wp-block-image"><img decoding="async" width="650" height="683" src="https://sibeeshpassion.com/wp-content/uploads/2019/06/Azure-CDN-Custom-Doman-Overview.png" alt="" class="wp-image-13737" srcset="/wp-content/uploads/2019/06/Azure-CDN-Custom-Doman-Overview.png 650w, /wp-content/uploads/2019/06/Azure-CDN-Custom-Doman-Overview-286x300.png 286w, /wp-content/uploads/2019/06/Azure-CDN-Custom-Doman-Overview-425x447.png 425w" sizes="(max-width: 650px) 100vw, 650px" /><figcaption>Azure CDN Custom Domian Overview</figcaption></figure>



<figure class="wp-block-image alignnone"><a href="http://sibeeshpassion.com/wp-content/uploads/2017/05/Success-Notification-Custom-Domain-CDN.png"><img decoding="async" width="525" height="225" src="http://sibeeshpassion.com/wp-content/uploads/2017/05/Success-Notification-Custom-Domain-CDN.png" alt="Success Notification Custom Domain CDN" class="wp-image-12403" srcset="/wp-content/uploads/2017/05/Success-Notification-Custom-Domain-CDN.png 525w, /wp-content/uploads/2017/05/Success-Notification-Custom-Domain-CDN-300x129.png 300w, /wp-content/uploads/2017/05/Success-Notification-Custom-Domain-CDN-400x171.png 400w" sizes="(max-width: 525px) 100vw, 525px" /></a><figcaption>Success Notification Custom Domain CDN</figcaption></figure>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow"><p>Please be noted that, the verification process may take few minutes or hours. If you are sure that the CNAME configuration is correct, please wait some more time and check if you are getting any error.</p></blockquote>



<h3 class="wp-block-heading">Update to Premium</h3>



<p>I recently changed my Azure CDN to premium, which offers wide variety of services. You can compare the features <a href="https://docs.microsoft.com/en-us/azure/cdn/cdn-features">here</a>. The premium gives you a separate portal to manage your CDN,  https://cdn.windowsazure.com. You can see some of the features in the preceding image.</p>



<figure class="wp-block-image"><img decoding="async" width="255" height="516" src="https://sibeeshpassion.com/wp-content/uploads/2019/06/Azure-CDN-Premium-Features.png" alt="" class="wp-image-13738" srcset="/wp-content/uploads/2019/06/Azure-CDN-Premium-Features.png 255w, /wp-content/uploads/2019/06/Azure-CDN-Premium-Features-148x300.png 148w" sizes="(max-width: 255px) 100vw, 255px" /><figcaption>Azure CDN Premium Features</figcaption></figure>



<p>That&#8217;s all for today, I will come with another article which explore Azure CDN more. Till then, bye.</p>



<h3 class="wp-block-heading">Conclusion</h3>



<p>Did I miss anything that you may think which is needed? Could you find this post as useful? I hope you liked this article. Please share me your valuable suggestions and feedback.</p>



<h3 class="wp-block-heading">Your turn. What do you think?</h3>



<p>A blog isn’t a blog without comments, but do try to stay on topic. If you have a question unrelated to this post, you’re better off posting it on C# Corner, Code Project, Stack Overflow, Asp.Net Forum instead of commenting here. Tweet or email me a link to your question there and I’ll definitely try to help if I can.</p>



<p>Kindest Regards<br>Sibeesh Venu</p>
]]></content:encoded>
					
					<wfw:commentRss>https://mail.sibeeshpassion.com/azure-content-delivery-network-cdn-a-walk-through/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
