Content Distribution Network Service of CloudFront



What is CDN service ??

 It is web service that speeds up distribution of static and dynamic data.
n  Dynamic data includes .html , .css , .js and Image files.
n  CloudFront plays vital role to deliver content through worldwide network of data centers which is known as edge location.
n  It reduces latency and increase throughput.
 
 

Scenario:-  Robert, Milap  , Afzal and Yacouba are working in adobe MNC group under one common project. They belong to USA, India, Australia and South Africa respectively. Robert uploaded important image and videos on company web portal. But other employees face browsing related issues when they play video. So, how to resolve this issue as a network architecture??

 

Let’s check.

 

During observation following points noticed ---

 

  • Ø  There is no content distribution type network has been established here.
  • Ø  Robert has already uploaded data at London based server.
  • Ø  While other users try to download data, packet routed through different location and try to reach at London based server.
Ø  It increases number of hops to traverse packet which result into increase latency. Hence, at user end browsing issue occurs.
 
 
                       Figure-1 Without CloudFront CDN edge location user request 
 
 
 
 
 

                   Figure-2  Traceroute log of Without CloudFront CDN edge location user 

 

To resolve this issue, CloudFront Edge location content-based routing used.

  • Ø  In this different zone wise, content-based edge routing need to be configured.
  • Ø  So, when different zone user tries to download file now packet traverse to edge location rather than London based web server.
  • Ø  As a result, number of hops reduced because already snapshot copy of data is stored at edge location of CloudFront of different zone.
  • Ø  It reduces latency and increases throughput hence; user end performance has been improved.

 

 

               Figure-3 With CloudFront CDN edge location user request 
 
 

            Figure-4  Traceroute log With CloudFront CDN edge location user request

 

Now focus on How to configure CDN service ? 

 

Step -1 : Create Distribution 

 

 


 Step -2 : Default Cache behavior
 

 

 

Step-3 Association can be added as per CloudFront and Lambda wise as per viewer and origin request and response.

 

Step-4 Web application Firewall setting can be configured to block IP or vulnerabilities.

 

Step-5 As per zone wise we can select class and need to add items which require to distribute.

 

 

Step-6 click on create distribution.

 

Note : As per content and data wise this service is chargeable at origin end. 

 

 

 


Comments

Popular posts from this blog

Configuring NNI Interface Policies and Container Integration in Nokia SR and Juniper AG Networks

Step-by-Step Guide: Password Recovery for Nokia Routers

Designing a Secure Multi-VPC Architecture with AWS Transit Gateway and IGW