2. Overview
● Define the term CDN
● Introduce CloudFront
● Illustrate how CloudFront
operates
● Review common Use
Cases for CloudFront
● Walk through case
Study
● Quiz
3. What is a CDN
A content delivery network(CDN) is a system of
distributed servers(network) that deliver webpages and
other web content to a user based on the geographic
location of the user.
7. ● Amazon CloudFront can be used to deliver your entire website,
○ including dynamic,
○ static,
○ streaming and interactive content
using a global network of Edge locations.
● CloudFront is optimized to work with other Amazon Web Services,
○ Amazon Simple Storage Service(Amazon S3),
○ Amazon Elastic Compute Cloud (Amazon EC2),
○ Amazon Elastic Load Balancing and
○ Amazon Route53.
● Amazon CloudFront also work seamlessly with any non-AWS origin
server, which store the original, definitive version of your files.
What is a CDN
8. CloudFront- Key Terminology
Edge Location: This is the location where the content will be cached. This is
separated to an AWS region and availability zones.
Origin: This is the origin of all the files that the CDN will distribute. This can be
either an S3 bucket, an EC2 instance, an Elastic Load balancer or Route53.
Distribution: This is the name given the CDN which consists of a collection of
edge locations.
● Web Distribution: Typically used for website.
● RTMP: Used for media streaming.
9. Amazon CloudFront uses a global network of 116 Points of Presence (105 Edge
Locations and 11 Regional Edge Caches) in 56 cities across 24 countries.
15. Where can CloudFront help you?
● Static Content Use Cases:
○ Media Delivery (Video & Audio)
○ Software Download
○ Web Site Assets (Images, CSS, JS)
● Dynamic Content Use Cases:
○ News
○ Social media
○ Weather
○ Advertising
● Live Streaming
○ Sporting Events
○ Company Meetings
18. How we are using CloudFront for
optimized content delivery on Tokr
CloudFront @
19. About the
Tokr is the application which helps end users to
find the nearest weed dispensaries around their
area and allows them to claim deals if any. It
also allows the dispensaries to be registered
with the application so as to showcase their
products and help the audience to reach them
based on their personal preferences.
Technologies used:
- Angular JS
- Django Rest Framework
- AWS Infrastructure
21. Problem with old architecture
- Fails in Load testing when a number of users access the app simultaneously
- Single point of Failure
- SSL costing
- Slow response time
23. Success stories with new architecture
- With the help of load balancer, load on the EC2 instances is equally divided
- With the help of Cloudfront, speed of the website has been improved by 40%
approximately
- 99.99% uptime since relaunch (100% after Launch day)
- Business impact: Lower hosting cost, improved consumer experience