Azure CDN with Azure Front Door-part 07

Shalika Prasad
3 min readAug 10, 2020

Lets continue our seven part related to Deploy Your Azure Web Application tutorial.

CDN called Content Delivery Network which can deliver web content to users. Basically, It stores and manages cash content on edge servers and provide (POP)point-of-presence locations. This is very useful for better performance like latency issue. example,

  • watching videos — (movie in Netflix, YouTube videos)
  • streaming a videos
  • accessing images

If server is hosted in other region, and user is exist on other region, then we can see some latency. So, solving this problem, you can simply use Azure CDN.

You can many different user has different time latency to access same web content in server. If you use Azure CDN you can use CDN for Web App, Storage Accounts, Cloud Services or any custom origin.

If the user access web content from origin server at first time, then request go to origin server. Then, CDN server store cache the web content of that site in closed edge server to end user. Thus, if user again access the same content from origin server, then edge server supply need web content from cached web content. So, That is fast accessible method to web content to end-user. As well as, if some one do DDoS attack to our web site, we can prevent, because that attack depend on edge server, not origin server.

Now, We want connect our front door to our CDN. If you want to know more about Azure Front Door, please follow this link.

  • Firstly, you want to Add CDN simply, that is easy steps that you want to do.
  • After you want to add + Endpoint for your front door. That also easy to do.
  • Now, we see how to add origin. As we use front door link to access our web site, we want to select Custom origin as Origin type.
  • You want add your front-door public access host-name as Origin host-name and Origin host header.
  • After add host-name, you can access your web site through your CDN host-name.
  • Remember : If you change anything in origin host server, you want to purge your CDN. If not that change will not apply in CDN edge server.
  • After click purge button, you want to select “purger all” checkbox.

Next, we go to part 06 related to Deploy Your Azure Web Application tutorial.

Azure Application Insights — part 08

Conclusion

--

--