SlideShare a Scribd company logo
1 of 36
Content Delivery
Using
Amazon CloudFront
Shared by: @sandeepkaur @amandeepsingh
Overview
● Define the term CDN
● Introduce CloudFront
● Illustrate how CloudFront
operates
● Review common Use
Cases for CloudFront
● Walk through case
Study
● Quiz
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.
What is a CDN
What is a CDN
What is a CDN
● 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
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.
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.
Amazon CloudFront Pricing
Amazon CloudFront Pricing
Amazon CloudFront Pricing
AWS no longer charging for AWS data transfer out to Amazon CloudFront.
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
● Multiple Cache Behaviors
● Multiple Origin Servers
● Minimum Expiration
Period
● Query String Parameters
Dynamic Content
How we are using CloudFront for
optimized content delivery on Tokr
CloudFront @
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
Old Architecture
Web
Clients
Mobile
Clients
EC2 Instance
AWS S3
Bucket
RDS
MySql
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
Architecture
AWS
CloudFront
Web
Clients
Mobile
Clients
AWS S3
Bucket
Elastic Load
balancer
EC2 App
instance
EC2 App
instance
RDS
MySql
trytokr.s3.amazonaws.com
Tokr-Ohio-EBD-xxxxxxxxxxxx.elb.us-east.com
https://www.trytokr.com
Origins
AWS Certificate Manager
Automatic SSL certificate
deployment and renewal
Static Resources
Dynamic Resources
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
CloudFront Distribution
CloudFront Origin
CloudFront Origin
CloudFront Cache Behaviours
CloudFront Cache Behaviours
CloudFront Origin
CloudFront Cache Behaviours
Any Question?
What types of content does Amazon CloudFront support?
How does Amazon CloudFront speed up my entire website?
Does Amazon CloudFront work with non-AWS origin servers?
Thank you.

More Related Content

What's hot

Stream processing at Hotstar
Stream processing at HotstarStream processing at Hotstar
Stream processing at HotstarKafkaZone
 
Content Delivery Networks
Content Delivery NetworksContent Delivery Networks
Content Delivery NetworksKshitij Agarwal
 
AWS Bulgaria: Re:invent 2017 Recap
AWS Bulgaria: Re:invent 2017 RecapAWS Bulgaria: Re:invent 2017 Recap
AWS Bulgaria: Re:invent 2017 RecapIvaylo Bratoev
 
A Cheapskates Guide to AWS
A Cheapskates Guide to AWSA Cheapskates Guide to AWS
A Cheapskates Guide to AWSMichael Soh
 
ABCs of AWS: S3
ABCs of AWS: S3ABCs of AWS: S3
ABCs of AWS: S3Mark Cohen
 
Amazon Web Services lection 2
Amazon Web Services lection 2Amazon Web Services lection 2
Amazon Web Services lection 2Binary Studio
 
AWS S3 masterclass
AWS S3 masterclassAWS S3 masterclass
AWS S3 masterclassVikas Arora
 
Migrating Data Pipeline from MongoDB to Cassandra
Migrating Data Pipeline from MongoDB to CassandraMigrating Data Pipeline from MongoDB to Cassandra
Migrating Data Pipeline from MongoDB to CassandraDemi Ben-Ari
 
Cloud Storage in Azure, AWS and Google Cloud
Cloud  Storage in Azure, AWS and Google CloudCloud  Storage in Azure, AWS and Google Cloud
Cloud Storage in Azure, AWS and Google CloudThurupathan Vijayakumar
 
Zentrales logging mit dem Elastic Stack
Zentrales logging mit dem Elastic StackZentrales logging mit dem Elastic Stack
Zentrales logging mit dem Elastic StackSimonSchneider24
 
Compare Cloud Services: AWS vs Azure vs Google vs IBM
Compare Cloud Services: AWS vs Azure vs Google vs IBMCompare Cloud Services: AWS vs Azure vs Google vs IBM
Compare Cloud Services: AWS vs Azure vs Google vs IBMRightScale
 
Cloud Powered WordPress for Everyone
Cloud Powered WordPress for EveryoneCloud Powered WordPress for Everyone
Cloud Powered WordPress for EveryoneXiao Yu
 
AWS S3 | Tutorial For Beginners | AWS S3 Bucket Tutorial | AWS Tutorial For B...
AWS S3 | Tutorial For Beginners | AWS S3 Bucket Tutorial | AWS Tutorial For B...AWS S3 | Tutorial For Beginners | AWS S3 Bucket Tutorial | AWS Tutorial For B...
AWS S3 | Tutorial For Beginners | AWS S3 Bucket Tutorial | AWS Tutorial For B...Simplilearn
 
Amazon ec2 s3 dynamo db
Amazon ec2 s3 dynamo dbAmazon ec2 s3 dynamo db
Amazon ec2 s3 dynamo dbPankaj Thakur
 
Dev party 2014 - AWS & JS
Dev party 2014 - AWS & JSDev party 2014 - AWS & JS
Dev party 2014 - AWS & JSCorley S.r.l.
 
AWS Cloud Formation
AWS Cloud FormationAWS Cloud Formation
AWS Cloud FormationMahesh Raj
 

What's hot (20)

Stream processing at Hotstar
Stream processing at HotstarStream processing at Hotstar
Stream processing at Hotstar
 
Going Serverless
Going Serverless Going Serverless
Going Serverless
 
Content Delivery Networks
Content Delivery NetworksContent Delivery Networks
Content Delivery Networks
 
AWS Bulgaria: Re:invent 2017 Recap
AWS Bulgaria: Re:invent 2017 RecapAWS Bulgaria: Re:invent 2017 Recap
AWS Bulgaria: Re:invent 2017 Recap
 
A Cheapskates Guide to AWS
A Cheapskates Guide to AWSA Cheapskates Guide to AWS
A Cheapskates Guide to AWS
 
ABCs of AWS: S3
ABCs of AWS: S3ABCs of AWS: S3
ABCs of AWS: S3
 
Aws s3 security
Aws s3 securityAws s3 security
Aws s3 security
 
Amazon Web Services lection 2
Amazon Web Services lection 2Amazon Web Services lection 2
Amazon Web Services lection 2
 
Cloud compt
Cloud comptCloud compt
Cloud compt
 
AWS S3 masterclass
AWS S3 masterclassAWS S3 masterclass
AWS S3 masterclass
 
Migrating Data Pipeline from MongoDB to Cassandra
Migrating Data Pipeline from MongoDB to CassandraMigrating Data Pipeline from MongoDB to Cassandra
Migrating Data Pipeline from MongoDB to Cassandra
 
Cloud Storage in Azure, AWS and Google Cloud
Cloud  Storage in Azure, AWS and Google CloudCloud  Storage in Azure, AWS and Google Cloud
Cloud Storage in Azure, AWS and Google Cloud
 
Zentrales logging mit dem Elastic Stack
Zentrales logging mit dem Elastic StackZentrales logging mit dem Elastic Stack
Zentrales logging mit dem Elastic Stack
 
Compare Cloud Services: AWS vs Azure vs Google vs IBM
Compare Cloud Services: AWS vs Azure vs Google vs IBMCompare Cloud Services: AWS vs Azure vs Google vs IBM
Compare Cloud Services: AWS vs Azure vs Google vs IBM
 
Cloud Powered WordPress for Everyone
Cloud Powered WordPress for EveryoneCloud Powered WordPress for Everyone
Cloud Powered WordPress for Everyone
 
AWS S3 | Tutorial For Beginners | AWS S3 Bucket Tutorial | AWS Tutorial For B...
AWS S3 | Tutorial For Beginners | AWS S3 Bucket Tutorial | AWS Tutorial For B...AWS S3 | Tutorial For Beginners | AWS S3 Bucket Tutorial | AWS Tutorial For B...
AWS S3 | Tutorial For Beginners | AWS S3 Bucket Tutorial | AWS Tutorial For B...
 
Amazon ec2 s3 dynamo db
Amazon ec2 s3 dynamo dbAmazon ec2 s3 dynamo db
Amazon ec2 s3 dynamo db
 
AWS Storage Gateway
AWS Storage GatewayAWS Storage Gateway
AWS Storage Gateway
 
Dev party 2014 - AWS & JS
Dev party 2014 - AWS & JSDev party 2014 - AWS & JS
Dev party 2014 - AWS & JS
 
AWS Cloud Formation
AWS Cloud FormationAWS Cloud Formation
AWS Cloud Formation
 

Similar to Content Delivery Using Amazon CloudFront

AWS Cloudfront Fundamentals
AWS Cloudfront FundamentalsAWS Cloudfront Fundamentals
AWS Cloudfront FundamentalsPiyush Agrawal
 
AWS_Basics_By_Aadarsh_Sharan
AWS_Basics_By_Aadarsh_SharanAWS_Basics_By_Aadarsh_Sharan
AWS_Basics_By_Aadarsh_SharanAadarsh Sharan
 
Scaling to millions of users with Amazon CloudFront - April 2017 AWS Online T...
Scaling to millions of users with Amazon CloudFront - April 2017 AWS Online T...Scaling to millions of users with Amazon CloudFront - April 2017 AWS Online T...
Scaling to millions of users with Amazon CloudFront - April 2017 AWS Online T...Amazon Web Services
 
AWS webinar - optimize your aws data transfer out for cost and performance.
AWS webinar - optimize your aws data transfer out for cost and performance.AWS webinar - optimize your aws data transfer out for cost and performance.
AWS webinar - optimize your aws data transfer out for cost and performance.Nazar Spak
 
在雲端開發架構支援大規模流量的行動/網頁應用程式
在雲端開發架構支援大規模流量的行動/網頁應用程式在雲端開發架構支援大規模流量的行動/網頁應用程式
在雲端開發架構支援大規模流量的行動/網頁應用程式Amazon Web Services
 
Cloud CDN Hosting
Cloud CDN HostingCloud CDN Hosting
Cloud CDN HostingComputeHost
 
CloudFront 소개 및 데모 – 이수형 수석 (Solutions Architect), 아마존웹서비스코리아
CloudFront 소개 및 데모 – 이수형 수석 (Solutions Architect), 아마존웹서비스코리아CloudFront 소개 및 데모 – 이수형 수석 (Solutions Architect), 아마존웹서비스코리아
CloudFront 소개 및 데모 – 이수형 수석 (Solutions Architect), 아마존웹서비스코리아Amazon Web Services Korea
 
Running your First Application on AWS
Running your First Application on AWS Running your First Application on AWS
Running your First Application on AWS Amazon Web Services
 
CloudCamp Athens presentation: Introduction to cloud computing
CloudCamp Athens presentation: Introduction to cloud computingCloudCamp Athens presentation: Introduction to cloud computing
CloudCamp Athens presentation: Introduction to cloud computingFotis Stamatelopoulos
 
Content Delivery Using Amazon CloudFront - AWS Presentation - John Mancuso
Content Delivery Using Amazon CloudFront - AWS Presentation - John MancusoContent Delivery Using Amazon CloudFront - AWS Presentation - John Mancuso
Content Delivery Using Amazon CloudFront - AWS Presentation - John MancusoAmazon Web Services
 
Running your First Application on AWS
Running your First Application on AWSRunning your First Application on AWS
Running your First Application on AWSAmazon Web Services
 
re:Invent 2018 re:Cap for Toronto AWS User Group
re:Invent 2018 re:Cap for Toronto AWS User Groupre:Invent 2018 re:Cap for Toronto AWS User Group
re:Invent 2018 re:Cap for Toronto AWS User GroupDaniel Zivkovic
 
Get Started & Migrate Your Data to AWS (English Session)
Get Started & Migrate Your Data to AWS (English Session)Get Started & Migrate Your Data to AWS (English Session)
Get Started & Migrate Your Data to AWS (English Session)Amazon Web Services
 
ACDKOCHI19 - Journey from a traditional on-prem Datacenter to AWS: Challenges...
ACDKOCHI19 - Journey from a traditional on-prem Datacenter to AWS: Challenges...ACDKOCHI19 - Journey from a traditional on-prem Datacenter to AWS: Challenges...
ACDKOCHI19 - Journey from a traditional on-prem Datacenter to AWS: Challenges...AWS User Group Kochi
 

Similar to Content Delivery Using Amazon CloudFront (20)

AWS Cloudfront Fundamentals
AWS Cloudfront FundamentalsAWS Cloudfront Fundamentals
AWS Cloudfront Fundamentals
 
AWS_Basics_By_Aadarsh_Sharan
AWS_Basics_By_Aadarsh_SharanAWS_Basics_By_Aadarsh_Sharan
AWS_Basics_By_Aadarsh_Sharan
 
Amazon CloudFront Complete with Blazeclan's Media Solution Stack
Amazon CloudFront Complete with Blazeclan's Media Solution StackAmazon CloudFront Complete with Blazeclan's Media Solution Stack
Amazon CloudFront Complete with Blazeclan's Media Solution Stack
 
Scaling to millions of users with Amazon CloudFront - April 2017 AWS Online T...
Scaling to millions of users with Amazon CloudFront - April 2017 AWS Online T...Scaling to millions of users with Amazon CloudFront - April 2017 AWS Online T...
Scaling to millions of users with Amazon CloudFront - April 2017 AWS Online T...
 
Unit 4 PART 1.pdf
Unit 4 PART 1.pdfUnit 4 PART 1.pdf
Unit 4 PART 1.pdf
 
AWS webinar - optimize your aws data transfer out for cost and performance.
AWS webinar - optimize your aws data transfer out for cost and performance.AWS webinar - optimize your aws data transfer out for cost and performance.
AWS webinar - optimize your aws data transfer out for cost and performance.
 
在雲端開發架構支援大規模流量的行動/網頁應用程式
在雲端開發架構支援大規模流量的行動/網頁應用程式在雲端開發架構支援大規模流量的行動/網頁應用程式
在雲端開發架構支援大規模流量的行動/網頁應用程式
 
Cloud CDN Hosting
Cloud CDN HostingCloud CDN Hosting
Cloud CDN Hosting
 
CloudFront 소개 및 데모 – 이수형 수석 (Solutions Architect), 아마존웹서비스코리아
CloudFront 소개 및 데모 – 이수형 수석 (Solutions Architect), 아마존웹서비스코리아CloudFront 소개 및 데모 – 이수형 수석 (Solutions Architect), 아마존웹서비스코리아
CloudFront 소개 및 데모 – 이수형 수석 (Solutions Architect), 아마존웹서비스코리아
 
Running your First Application on AWS
Running your First Application on AWS Running your First Application on AWS
Running your First Application on AWS
 
CloudCamp Athens presentation: Introduction to cloud computing
CloudCamp Athens presentation: Introduction to cloud computingCloudCamp Athens presentation: Introduction to cloud computing
CloudCamp Athens presentation: Introduction to cloud computing
 
Content Delivery Using Amazon CloudFront - AWS Presentation - John Mancuso
Content Delivery Using Amazon CloudFront - AWS Presentation - John MancusoContent Delivery Using Amazon CloudFront - AWS Presentation - John Mancuso
Content Delivery Using Amazon CloudFront - AWS Presentation - John Mancuso
 
Amazon CloudFront
Amazon CloudFrontAmazon CloudFront
Amazon CloudFront
 
Running your First Application on AWS
Running your First Application on AWSRunning your First Application on AWS
Running your First Application on AWS
 
re:Invent 2018 re:Cap for Toronto AWS User Group
re:Invent 2018 re:Cap for Toronto AWS User Groupre:Invent 2018 re:Cap for Toronto AWS User Group
re:Invent 2018 re:Cap for Toronto AWS User Group
 
Get Started & Migrate Your Data to AWS (English Session)
Get Started & Migrate Your Data to AWS (English Session)Get Started & Migrate Your Data to AWS (English Session)
Get Started & Migrate Your Data to AWS (English Session)
 
cc.pptx
cc.pptxcc.pptx
cc.pptx
 
Intro to cloud.pdf
Intro to cloud.pdfIntro to cloud.pdf
Intro to cloud.pdf
 
ACDKOCHI19 - Journey from a traditional on-prem Datacenter to AWS: Challenges...
ACDKOCHI19 - Journey from a traditional on-prem Datacenter to AWS: Challenges...ACDKOCHI19 - Journey from a traditional on-prem Datacenter to AWS: Challenges...
ACDKOCHI19 - Journey from a traditional on-prem Datacenter to AWS: Challenges...
 
Cloud Computing Amazon
Cloud Computing AmazonCloud Computing Amazon
Cloud Computing Amazon
 

More from Amandeep Singh

More from Amandeep Singh (6)

Introduction to docker
Introduction to dockerIntroduction to docker
Introduction to docker
 
Simple ci cd with strider cd
Simple ci cd with strider cdSimple ci cd with strider cd
Simple ci cd with strider cd
 
Ssh tunnel
Ssh tunnelSsh tunnel
Ssh tunnel
 
Headless Architecture
Headless ArchitectureHeadless Architecture
Headless Architecture
 
Progressive Web Application
Progressive Web ApplicationProgressive Web Application
Progressive Web Application
 
Software architectures
Software architecturesSoftware architectures
Software architectures
 

Recently uploaded

TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....rightmanforbloodline
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAnitaRaj43
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
Design and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data ScienceDesign and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data SciencePaolo Missier
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityWSO2
 
Event-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream ProcessingEvent-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream ProcessingScyllaDB
 
ChatGPT and Beyond - Elevating DevOps Productivity
ChatGPT and Beyond - Elevating DevOps ProductivityChatGPT and Beyond - Elevating DevOps Productivity
ChatGPT and Beyond - Elevating DevOps ProductivityVictorSzoltysek
 
API Governance and Monetization - The evolution of API governance
API Governance and Monetization -  The evolution of API governanceAPI Governance and Monetization -  The evolution of API governance
API Governance and Monetization - The evolution of API governanceWSO2
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
JavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate GuideJavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate GuidePixlogix Infotech
 
Modernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using BallerinaModernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using BallerinaWSO2
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
ERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage IntacctERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage IntacctBrainSell Technologies
 
The Ultimate Prompt Engineering Guide for Generative AI: Get the Most Out of ...
The Ultimate Prompt Engineering Guide for Generative AI: Get the Most Out of ...The Ultimate Prompt Engineering Guide for Generative AI: Get the Most Out of ...
The Ultimate Prompt Engineering Guide for Generative AI: Get the Most Out of ...SOFTTECHHUB
 
Intro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptxIntro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptxFIDO Alliance
 
Decarbonising Commercial Real Estate: The Role of Operational Performance
Decarbonising Commercial Real Estate: The Role of Operational PerformanceDecarbonising Commercial Real Estate: The Role of Operational Performance
Decarbonising Commercial Real Estate: The Role of Operational PerformanceIES VE
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider  Progress from Awareness to Implementation.pptxTales from a Passkey Provider  Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptxFIDO Alliance
 

Recently uploaded (20)

TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Design and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data ScienceDesign and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data Science
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Event-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream ProcessingEvent-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream Processing
 
ChatGPT and Beyond - Elevating DevOps Productivity
ChatGPT and Beyond - Elevating DevOps ProductivityChatGPT and Beyond - Elevating DevOps Productivity
ChatGPT and Beyond - Elevating DevOps Productivity
 
API Governance and Monetization - The evolution of API governance
API Governance and Monetization -  The evolution of API governanceAPI Governance and Monetization -  The evolution of API governance
API Governance and Monetization - The evolution of API governance
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
JavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate GuideJavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate Guide
 
Modernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using BallerinaModernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using Ballerina
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
ERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage IntacctERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage Intacct
 
The Ultimate Prompt Engineering Guide for Generative AI: Get the Most Out of ...
The Ultimate Prompt Engineering Guide for Generative AI: Get the Most Out of ...The Ultimate Prompt Engineering Guide for Generative AI: Get the Most Out of ...
The Ultimate Prompt Engineering Guide for Generative AI: Get the Most Out of ...
 
Intro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptxIntro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptx
 
Decarbonising Commercial Real Estate: The Role of Operational Performance
Decarbonising Commercial Real Estate: The Role of Operational PerformanceDecarbonising Commercial Real Estate: The Role of Operational Performance
Decarbonising Commercial Real Estate: The Role of Operational Performance
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider  Progress from Awareness to Implementation.pptxTales from a Passkey Provider  Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
 

Content Delivery Using Amazon CloudFront

  • 1. Content Delivery Using Amazon CloudFront Shared by: @sandeepkaur @amandeepsingh
  • 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.
  • 4. What is a CDN
  • 5. What is a CDN
  • 6. What is a CDN
  • 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.
  • 10.
  • 11.
  • 14. Amazon CloudFront Pricing AWS no longer charging for AWS data transfer out to Amazon CloudFront.
  • 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
  • 16. ● Multiple Cache Behaviors ● Multiple Origin Servers ● Minimum Expiration Period ● Query String Parameters Dynamic Content
  • 17.
  • 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
  • 22. Architecture AWS CloudFront Web Clients Mobile Clients AWS S3 Bucket Elastic Load balancer EC2 App instance EC2 App instance RDS MySql trytokr.s3.amazonaws.com Tokr-Ohio-EBD-xxxxxxxxxxxx.elb.us-east.com https://www.trytokr.com Origins AWS Certificate Manager Automatic SSL certificate deployment and renewal Static Resources Dynamic Resources
  • 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
  • 32.
  • 33. What types of content does Amazon CloudFront support?
  • 34. How does Amazon CloudFront speed up my entire website?
  • 35. Does Amazon CloudFront work with non-AWS origin servers?