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.
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.
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.