SlideShare a Scribd company logo
1 of 57
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com,© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com,
Whole Site Delivery with
Amazon CloudFront
Nihar Bihani, Senior Product Manager - Amazon CloudFront
Stephen Evans – Head of Digital Technology, Toronto Star
Irakli Nadareishvili - Director of Engineering, Digital Media, NPR
1
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com,
Agenda
What is Whole Site Delivery?
Why use CloudFront for Whole Site Delivery?
Demo
Customer Stories:
• Stephen Evans, Toronto Star Newspapers
• Irakli Nadareishvili, National Public Radio
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com,
What is Whole Site Delivery?
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com,
Dynamic
Static
Personalized Website Example
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com,
Typical Website Architecture
Elastic Load
Balancing
Dynamic Content
Amazon EC2
Static Content
Amazon S3
cdn.example.com/*.jpg
www.example.com/*.php
Custom Origin
OR
OR
Custom Origin
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com,
Whole Site Delivery with CloudFront
Elastic Load
Balancing
Dynamic Content
Amazon EC2
Static Content
Amazon S3 Custom Origin
OR
OR
Custom Origin
Amazon CloudFront
www.example.com
*.jpg
*.php
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com,
Whole Site Delivery: Common Myths
Myths…
None of my HTML pages are cacheable.
My HTML pages are customized so those
cannot be cached.
My pages are personalized and unique
for each user, so a CDN won’t be useful.
Debunked…
Often, many pages are cacheable – e.g.
search results pages.
Use Cookies and Query Strings as cache
keys – e.g. local weather pages.
Network and path optimizations allow
CloudFront to speed up dynamic content
– e.g. personalized pages.
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com,
Whole Site Delivery Use Cases
• News
• Weather
• Sports
• Social Media
• Advertising
• Travel
• Stocks
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com,
Why use CloudFront for Whole Site Delivery?
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com,
Benefits of Whole Site Delivery with Amazon CloudFront
Making your web applications…….
Faster
Scale Better
More Available
Easier to Manage
Cost Less
…by leveraging AWS’ presence at the edge of the Internet.
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com,
CloudFront can make your web applications…….
Faster
Scale Better
More Available
Easier to Manage
Cost Less
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com,
Faster: The Performance Problem
Long Distance + Poor Network = Slow Load Times
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com,
Faster: How CloudFront Helps
CloudFront helps change this equation to…
Short Distance + Optimized Network = Fast Load Times
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com,
Faster: Global CloudFront Network
Europe
Amsterdam (2)
Dublin
Frankfurt (2)
London (2)
Madrid
Milan
Paris (2)
Stockholm
Asia
Hong Kong (2)
Osaka
Seoul
Singapore (2)
Tokyo (2)
South America
Sao Paulo
North America
Ashburn, VA (2)
Dallas, TX (2)
Hayward, CA
Jacksonville, FL
Los Angeles, CA (2)
Miami, FL
Newark, NJ
New York, NY (3)
Palo Alto, CA
Seattle, WA
San Jose, CA
South Bend, IN
St. Louis, MO
Australia
Sydney
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com,
Faster: Optimized Network Paths
Dynamic Content
Static Content
Amazon CloudFront
www.example.com
*.jpg
*.php
Low Latency
TCP/IP Window Sizing
Persistent Connections
Monitored Network Paths
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com,
CloudFront can make your web applications…….
Faster
Scale Better
More Available
Easier to Manage
Cost Less
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com,
Scale Better: How CloudFront Helps
Caching static content at the Edge.
Offloading connection set-up and SSL negotiation to the Edge.
Persistent connections and collapse forwarding help scale your
origin.
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com,
CloudFront can make your web applications…….
Faster
Scale Better
More Available
Easier to Manage
Cost Less
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com,
More Available: How CloudFront Helps
CloudFront is architected for high availability.
Serve cached content even when origin is unavailable.
Availability SLA.
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com,
CloudFront can make your web applications…….
Faster
Scale Better
More Available
Easier to Manage
Cost Less
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com,
Easier to Manage: How CloudFront Helps
No need to write any custom code.
Multiple origins and cache behaviors make it easy to architect for
whole site delivery.
Self service signup and configuration via AWS Management
Console and APIs.
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com,
CloudFront can make your web applications…….
Faster
Scale Better
More Available
Easier to Manage
Cost Less
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com,
Cost Less: How CloudFront Helps
Same price for dynamic and static content!
Preferential pricing on origin fetches from S3 and EC2. NEW!
CloudFront is less expensive than AWS Data Transfer (over 10 TB per month).
Reserved Capacity Pricing for reduced rates with commitment.
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com,
Configuring CloudFront for Whole Site Delivery
Demo
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com,
Demo
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com,
Demo
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com,
Demo
Cloudfront @
The Toronto Star
Stephen Evans
Head of Digital Technology
About The Toronto Star
• Canada’s largest daily newspaper
• Focused on metro Toronto
• 3.3 million monthly unique visitors
• Small in-house digital group,
technology team supported by
vendors & corporate IT
• Digital group run as “startup” within
corporate structure
• Tech stack includes Java, PHP, Ruby
• Relaunched flagship site thestar.com
on Adobe CQ5 on Jan. 30, 2013
Why AWS?
• Rebuild of thestar.com, tech team, hosting infrastructure
• Evaluated various cloud-hosting options – capability, price
• Ran short pilot phase
• AWS clear overall winner in terms of flexibility, feature set,
price
• Began migration of smaller sites Spring 2012
• Ongoing migration culminating thestar.com January 2013
Why CloudFront?
• Evaluated CloudFront vs. various more established players
• CloudFront addressed all priority feature requirements
• Validated performance claims via prelaunch load testing
• Simplicity of configuration a clear advantage
• Ambitious roadmap to release additional features
• Clear price and pricing model advantages
Architecture
Production - US East Region
Elastic Load Balancer
Dispatcher/Apache
Amazon Linux 64 Bit
C1 Medium
Dispatcher/Apache
Amazon Linux 64 Bit
C1 Medium
Publish CQ/CRX
Amazon Linux 64 Bit
C1-Xlarge
Master
Author CQ/CRX
Amazon Linux 64 Bit
C1-Xlarge
Dispatcher/Apache
Amazon Linux 64 Bit
C1 Medium
Availability Zone A Availability Zone DAvailability Zone B
Cloudfront
VPC
Standby
Author CQ/CRX
Amazon Linux 64 Bit
C1-Xlarge
Publish CQ/CRX
Amazon Linux 64 Bit
C1-Xlarge
Publish CQ/CRX
Amazon Linux 64 Bit
C1-Xlarge
Publish CQ/CRX
Amazon Linux 64 Bit
C1-Xlarge
Publish CQ/CRX
Amazon Linux 64 Bit
C1-Xlarge
Publish CQ/CRX
Amazon Linux 64 Bit
C1-Xlarge
Whole Site Delivery
• Cache everything possible
• No server side cookies written, only select pages pass query
strings
• Control caching granularly using 19 different rules
• Use distributed load testing to validate performance against
multiple CloudFront edge locations
• We use a single origin, but ELB and multi-tiered multi-AZ
configuration on backend
• Planning a multi-region DR architecture that will also leverage
CloudFront
Client Side Cookies
Behaviours
Success Metrics
• 50% response time
improvement
• 99.99% uptime since
relaunch (100% after
launch day)
• Business impact: lower
hosting cost, improved
consumer experience, SEO
Lessons Learned
• Understand the constraints of using a CDN and CloudFront
specifically up front
• Whole site caching presents unique challenges that are
different from static asset caching – cookies, post requests
• The CDN does not remove the need to ensure your origin is
scalable and has its own caching tiers
• Think about reporting requirements - how will you track
usage?
• Engage with the business on caching rules – what behaviours
will be applied to what parts of your site?
Thanks!
Ping me
sevans@thestar.ca
@stephenaevans
NPR: Whole Site Delivery
Scaling npr.org for the Election Night '12 and beyond.
Irakli Nadareishvili
Director of Engineering, Digital Media, @NPR
Twitter: @inadarei @NPRTechTeam
Irakli Nadareishvili @inadarei
Election Night:
Olympics of the News Websites
http://bit.ly/npraws
Irakli Nadareishvili @inadarei
Traffic Spike:
http://bit.ly/npraws
Irakli Nadareishvili @inadarei
Preparation is Key
Measure, Improve, Repeat.
http://bit.ly/npraws
Irakli Nadareishvili @inadarei
Step 1: Measure
http://bit.ly/npraws
https://github.com/npr/ec2-fleet
Irakli Nadareishvili @inadarei
Bottlenecks:
1. Pipeline
2. Geography
http://bit.ly/npraws
Irakli Nadareishvili @inadarei
Solution:
Serve HTML through a CDN.
...but how?
http://bit.ly/npraws
Irakli Nadareishvili @inadarei
Scalability:
Every Second Counts
http://bit.ly/npraws
Irakli Nadareishvili @inadarei
Pitfalls:
1. No user-specific content...
Sortof.
2. Could not CDN API
3. Content expiration takes
long time.
http://bit.ly/npraws
Irakli Nadareishvili @inadarei
We Use Multiple CDNs
http://bit.ly/npraws
Irakli Nadareishvili @inadarei http://bit.ly/npraws
http://www.pbs.org/idealab/2013/03/ranking-the-slowest-
loading-news-sites-and-how-they-can-speed-up074.html
NATIONAL PUBLIC RADIO
Thank you.
Irakli Nadareishvili
twitter: @inadarei
http://bit.ly/npraws
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com,
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com,
Resources
Get Started at: http://aws.amazon.com/cloudfront/
Office Hours with CloudFront Engineers
June 19th, 2013 at 10 am Pacific (1PM Eastern)
Sign-Up: http://aws.amazon.com/cloudfront/
© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com,
Thank You!
nihar@amazon.com

More Related Content

Viewers also liked

ENT302 Deploying Microsoft Exchange and SharePoint on AWS - AWS re: Invent 2012
ENT302 Deploying Microsoft Exchange and SharePoint on AWS - AWS re: Invent 2012ENT302 Deploying Microsoft Exchange and SharePoint on AWS - AWS re: Invent 2012
ENT302 Deploying Microsoft Exchange and SharePoint on AWS - AWS re: Invent 2012Amazon Web Services
 
Improving your Time to Market with AWS
Improving your Time to Market with AWSImproving your Time to Market with AWS
Improving your Time to Market with AWSAmazon Web Services
 
AWS Summit 2013 | Singapore - Understanding Databases Options
AWS Summit 2013 | Singapore - Understanding Databases OptionsAWS Summit 2013 | Singapore - Understanding Databases Options
AWS Summit 2013 | Singapore - Understanding Databases OptionsAmazon Web Services
 
AWS Cloud Kata 2013 | Singapore - Building your 'Minimum Viable Product' (MVP...
AWS Cloud Kata 2013 | Singapore - Building your 'Minimum Viable Product' (MVP...AWS Cloud Kata 2013 | Singapore - Building your 'Minimum Viable Product' (MVP...
AWS Cloud Kata 2013 | Singapore - Building your 'Minimum Viable Product' (MVP...Amazon Web Services
 
Aws webcast - Scaling on AWS 13 08-20
Aws webcast - Scaling on AWS 13 08-20Aws webcast - Scaling on AWS 13 08-20
Aws webcast - Scaling on AWS 13 08-20Amazon Web Services
 
Journey Through the AWS Cloud; Disaster Recovery
 Journey Through the AWS Cloud; Disaster Recovery Journey Through the AWS Cloud; Disaster Recovery
Journey Through the AWS Cloud; Disaster RecoveryAmazon Web Services
 
AWS Sydney Summit 2013 - Scalable Media Processing on the Cloud
AWS Sydney Summit 2013 - Scalable Media Processing on the CloudAWS Sydney Summit 2013 - Scalable Media Processing on the Cloud
AWS Sydney Summit 2013 - Scalable Media Processing on the CloudAmazon Web Services
 
AWS Total Cost of Ownership Hong Kong and Taiwan
AWS Total Cost of Ownership Hong Kong and TaiwanAWS Total Cost of Ownership Hong Kong and Taiwan
AWS Total Cost of Ownership Hong Kong and TaiwanAmazon Web Services
 
AWS Partner Day London - June 11th 2013
AWS Partner Day London -  June 11th 2013  AWS Partner Day London -  June 11th 2013
AWS Partner Day London - June 11th 2013 Amazon Web Services
 
ENT205 Drinking Our Own Champagne - How Amazon uses AWS - AWS re: Invent 2012
ENT205 Drinking Our Own Champagne - How Amazon uses AWS - AWS re: Invent 2012ENT205 Drinking Our Own Champagne - How Amazon uses AWS - AWS re: Invent 2012
ENT205 Drinking Our Own Champagne - How Amazon uses AWS - AWS re: Invent 2012Amazon Web Services
 
AWS Summit Paris - Keynote Slides
AWS Summit Paris - Keynote SlidesAWS Summit Paris - Keynote Slides
AWS Summit Paris - Keynote SlidesAmazon Web Services
 
AWS Summit 2013 | Auckland - Building Web Scale Applications with AWS
AWS Summit 2013 | Auckland - Building Web Scale Applications with AWSAWS Summit 2013 | Auckland - Building Web Scale Applications with AWS
AWS Summit 2013 | Auckland - Building Web Scale Applications with AWSAmazon Web Services
 
AWS Summit 2013 | India - Running Enterprise Applications like SAP, Oracle an...
AWS Summit 2013 | India - Running Enterprise Applications like SAP, Oracle an...AWS Summit 2013 | India - Running Enterprise Applications like SAP, Oracle an...
AWS Summit 2013 | India - Running Enterprise Applications like SAP, Oracle an...Amazon Web Services
 
SEC302 Delegating Access to Your AWS Environment - AWS re: Invent 2012
SEC302 Delegating Access to Your AWS Environment - AWS re: Invent 2012SEC302 Delegating Access to Your AWS Environment - AWS re: Invent 2012
SEC302 Delegating Access to Your AWS Environment - AWS re: Invent 2012Amazon Web Services
 
AWS Webcast - Achieving consistent high performance with Postgres on Amazon W...
AWS Webcast - Achieving consistent high performance with Postgres on Amazon W...AWS Webcast - Achieving consistent high performance with Postgres on Amazon W...
AWS Webcast - Achieving consistent high performance with Postgres on Amazon W...Amazon Web Services
 
AWS Webinar: How to architect and deploy a multi tier share point server farm...
AWS Webinar: How to architect and deploy a multi tier share point server farm...AWS Webinar: How to architect and deploy a multi tier share point server farm...
AWS Webinar: How to architect and deploy a multi tier share point server farm...Amazon Web Services
 
SEC303 Top 10 AWS Identity and Access Management Best Practices - AWS re:Inve...
SEC303 Top 10 AWS Identity and Access Management Best Practices - AWS re:Inve...SEC303 Top 10 AWS Identity and Access Management Best Practices - AWS re:Inve...
SEC303 Top 10 AWS Identity and Access Management Best Practices - AWS re:Inve...Amazon Web Services
 
Data & Analytics - Session 4 - Understanding Storage Options
Data & Analytics - Session 4 - Understanding Storage OptionsData & Analytics - Session 4 - Understanding Storage Options
Data & Analytics - Session 4 - Understanding Storage OptionsAmazon Web Services
 

Viewers also liked (20)

ENT302 Deploying Microsoft Exchange and SharePoint on AWS - AWS re: Invent 2012
ENT302 Deploying Microsoft Exchange and SharePoint on AWS - AWS re: Invent 2012ENT302 Deploying Microsoft Exchange and SharePoint on AWS - AWS re: Invent 2012
ENT302 Deploying Microsoft Exchange and SharePoint on AWS - AWS re: Invent 2012
 
Improving your Time to Market with AWS
Improving your Time to Market with AWSImproving your Time to Market with AWS
Improving your Time to Market with AWS
 
AWS Summit 2013 | Singapore - Understanding Databases Options
AWS Summit 2013 | Singapore - Understanding Databases OptionsAWS Summit 2013 | Singapore - Understanding Databases Options
AWS Summit 2013 | Singapore - Understanding Databases Options
 
AWS Cloud Kata 2013 | Singapore - Building your 'Minimum Viable Product' (MVP...
AWS Cloud Kata 2013 | Singapore - Building your 'Minimum Viable Product' (MVP...AWS Cloud Kata 2013 | Singapore - Building your 'Minimum Viable Product' (MVP...
AWS Cloud Kata 2013 | Singapore - Building your 'Minimum Viable Product' (MVP...
 
Aws webcast - Scaling on AWS 13 08-20
Aws webcast - Scaling on AWS 13 08-20Aws webcast - Scaling on AWS 13 08-20
Aws webcast - Scaling on AWS 13 08-20
 
Journey Through the AWS Cloud; Disaster Recovery
 Journey Through the AWS Cloud; Disaster Recovery Journey Through the AWS Cloud; Disaster Recovery
Journey Through the AWS Cloud; Disaster Recovery
 
AWS Sydney Summit 2013 - Scalable Media Processing on the Cloud
AWS Sydney Summit 2013 - Scalable Media Processing on the CloudAWS Sydney Summit 2013 - Scalable Media Processing on the Cloud
AWS Sydney Summit 2013 - Scalable Media Processing on the Cloud
 
AWS Total Cost of Ownership Hong Kong and Taiwan
AWS Total Cost of Ownership Hong Kong and TaiwanAWS Total Cost of Ownership Hong Kong and Taiwan
AWS Total Cost of Ownership Hong Kong and Taiwan
 
AWS Partner Day London - June 11th 2013
AWS Partner Day London -  June 11th 2013  AWS Partner Day London -  June 11th 2013
AWS Partner Day London - June 11th 2013
 
ENT205 Drinking Our Own Champagne - How Amazon uses AWS - AWS re: Invent 2012
ENT205 Drinking Our Own Champagne - How Amazon uses AWS - AWS re: Invent 2012ENT205 Drinking Our Own Champagne - How Amazon uses AWS - AWS re: Invent 2012
ENT205 Drinking Our Own Champagne - How Amazon uses AWS - AWS re: Invent 2012
 
AWS Summit Paris - Keynote Slides
AWS Summit Paris - Keynote SlidesAWS Summit Paris - Keynote Slides
AWS Summit Paris - Keynote Slides
 
AWS Summit 2013 | Auckland - Building Web Scale Applications with AWS
AWS Summit 2013 | Auckland - Building Web Scale Applications with AWSAWS Summit 2013 | Auckland - Building Web Scale Applications with AWS
AWS Summit 2013 | Auckland - Building Web Scale Applications with AWS
 
AWS Summit 2013 | India - Running Enterprise Applications like SAP, Oracle an...
AWS Summit 2013 | India - Running Enterprise Applications like SAP, Oracle an...AWS Summit 2013 | India - Running Enterprise Applications like SAP, Oracle an...
AWS Summit 2013 | India - Running Enterprise Applications like SAP, Oracle an...
 
SEC302 Delegating Access to Your AWS Environment - AWS re: Invent 2012
SEC302 Delegating Access to Your AWS Environment - AWS re: Invent 2012SEC302 Delegating Access to Your AWS Environment - AWS re: Invent 2012
SEC302 Delegating Access to Your AWS Environment - AWS re: Invent 2012
 
AWS Webcast - Achieving consistent high performance with Postgres on Amazon W...
AWS Webcast - Achieving consistent high performance with Postgres on Amazon W...AWS Webcast - Achieving consistent high performance with Postgres on Amazon W...
AWS Webcast - Achieving consistent high performance with Postgres on Amazon W...
 
Why Startups Are Still On AWS
Why Startups Are Still On AWSWhy Startups Are Still On AWS
Why Startups Are Still On AWS
 
AWS Webinar: How to architect and deploy a multi tier share point server farm...
AWS Webinar: How to architect and deploy a multi tier share point server farm...AWS Webinar: How to architect and deploy a multi tier share point server farm...
AWS Webinar: How to architect and deploy a multi tier share point server farm...
 
Achieving Profitability on AWS
Achieving Profitability on AWSAchieving Profitability on AWS
Achieving Profitability on AWS
 
SEC303 Top 10 AWS Identity and Access Management Best Practices - AWS re:Inve...
SEC303 Top 10 AWS Identity and Access Management Best Practices - AWS re:Inve...SEC303 Top 10 AWS Identity and Access Management Best Practices - AWS re:Inve...
SEC303 Top 10 AWS Identity and Access Management Best Practices - AWS re:Inve...
 
Data & Analytics - Session 4 - Understanding Storage Options
Data & Analytics - Session 4 - Understanding Storage OptionsData & Analytics - Session 4 - Understanding Storage Options
Data & Analytics - Session 4 - Understanding Storage Options
 

More from Amazon Web Services

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Amazon Web Services
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Amazon Web Services
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateAmazon Web Services
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSAmazon Web Services
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Amazon Web Services
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Amazon Web Services
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...Amazon Web Services
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsAmazon Web Services
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareAmazon Web Services
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSAmazon Web Services
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAmazon Web Services
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareAmazon Web Services
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWSAmazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckAmazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without serversAmazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...Amazon Web Services
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceAmazon Web Services
 

More from Amazon Web Services (20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 

Recently uploaded

Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
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
 

Recently uploaded (20)

Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
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
 

AWS Webcast - Whole Site Delivery with Amazon CloudFront

  • 1. © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com,© 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Whole Site Delivery with Amazon CloudFront Nihar Bihani, Senior Product Manager - Amazon CloudFront Stephen Evans – Head of Digital Technology, Toronto Star Irakli Nadareishvili - Director of Engineering, Digital Media, NPR 1
  • 2. © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Agenda What is Whole Site Delivery? Why use CloudFront for Whole Site Delivery? Demo Customer Stories: • Stephen Evans, Toronto Star Newspapers • Irakli Nadareishvili, National Public Radio
  • 3. © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, What is Whole Site Delivery?
  • 4. © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Dynamic Static Personalized Website Example
  • 5. © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Typical Website Architecture Elastic Load Balancing Dynamic Content Amazon EC2 Static Content Amazon S3 cdn.example.com/*.jpg www.example.com/*.php Custom Origin OR OR Custom Origin
  • 6. © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Whole Site Delivery with CloudFront Elastic Load Balancing Dynamic Content Amazon EC2 Static Content Amazon S3 Custom Origin OR OR Custom Origin Amazon CloudFront www.example.com *.jpg *.php
  • 7. © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Whole Site Delivery: Common Myths Myths… None of my HTML pages are cacheable. My HTML pages are customized so those cannot be cached. My pages are personalized and unique for each user, so a CDN won’t be useful. Debunked… Often, many pages are cacheable – e.g. search results pages. Use Cookies and Query Strings as cache keys – e.g. local weather pages. Network and path optimizations allow CloudFront to speed up dynamic content – e.g. personalized pages.
  • 8. © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Whole Site Delivery Use Cases • News • Weather • Sports • Social Media • Advertising • Travel • Stocks
  • 9. © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Why use CloudFront for Whole Site Delivery?
  • 10. © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Benefits of Whole Site Delivery with Amazon CloudFront Making your web applications……. Faster Scale Better More Available Easier to Manage Cost Less …by leveraging AWS’ presence at the edge of the Internet.
  • 11. © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, CloudFront can make your web applications……. Faster Scale Better More Available Easier to Manage Cost Less
  • 12. © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Faster: The Performance Problem Long Distance + Poor Network = Slow Load Times
  • 13. © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Faster: How CloudFront Helps CloudFront helps change this equation to… Short Distance + Optimized Network = Fast Load Times
  • 14. © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Faster: Global CloudFront Network Europe Amsterdam (2) Dublin Frankfurt (2) London (2) Madrid Milan Paris (2) Stockholm Asia Hong Kong (2) Osaka Seoul Singapore (2) Tokyo (2) South America Sao Paulo North America Ashburn, VA (2) Dallas, TX (2) Hayward, CA Jacksonville, FL Los Angeles, CA (2) Miami, FL Newark, NJ New York, NY (3) Palo Alto, CA Seattle, WA San Jose, CA South Bend, IN St. Louis, MO Australia Sydney
  • 15. © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Faster: Optimized Network Paths Dynamic Content Static Content Amazon CloudFront www.example.com *.jpg *.php Low Latency TCP/IP Window Sizing Persistent Connections Monitored Network Paths
  • 16. © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, CloudFront can make your web applications……. Faster Scale Better More Available Easier to Manage Cost Less
  • 17. © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Scale Better: How CloudFront Helps Caching static content at the Edge. Offloading connection set-up and SSL negotiation to the Edge. Persistent connections and collapse forwarding help scale your origin.
  • 18. © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, CloudFront can make your web applications……. Faster Scale Better More Available Easier to Manage Cost Less
  • 19. © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, More Available: How CloudFront Helps CloudFront is architected for high availability. Serve cached content even when origin is unavailable. Availability SLA.
  • 20. © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, CloudFront can make your web applications……. Faster Scale Better More Available Easier to Manage Cost Less
  • 21. © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Easier to Manage: How CloudFront Helps No need to write any custom code. Multiple origins and cache behaviors make it easy to architect for whole site delivery. Self service signup and configuration via AWS Management Console and APIs.
  • 22. © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, CloudFront can make your web applications……. Faster Scale Better More Available Easier to Manage Cost Less
  • 23. © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Cost Less: How CloudFront Helps Same price for dynamic and static content! Preferential pricing on origin fetches from S3 and EC2. NEW! CloudFront is less expensive than AWS Data Transfer (over 10 TB per month). Reserved Capacity Pricing for reduced rates with commitment.
  • 24. © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Configuring CloudFront for Whole Site Delivery Demo
  • 25. © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Demo
  • 26. © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Demo
  • 27. © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Demo
  • 28. Cloudfront @ The Toronto Star Stephen Evans Head of Digital Technology
  • 29. About The Toronto Star • Canada’s largest daily newspaper • Focused on metro Toronto • 3.3 million monthly unique visitors • Small in-house digital group, technology team supported by vendors & corporate IT • Digital group run as “startup” within corporate structure • Tech stack includes Java, PHP, Ruby • Relaunched flagship site thestar.com on Adobe CQ5 on Jan. 30, 2013
  • 30. Why AWS? • Rebuild of thestar.com, tech team, hosting infrastructure • Evaluated various cloud-hosting options – capability, price • Ran short pilot phase • AWS clear overall winner in terms of flexibility, feature set, price • Began migration of smaller sites Spring 2012 • Ongoing migration culminating thestar.com January 2013
  • 31. Why CloudFront? • Evaluated CloudFront vs. various more established players • CloudFront addressed all priority feature requirements • Validated performance claims via prelaunch load testing • Simplicity of configuration a clear advantage • Ambitious roadmap to release additional features • Clear price and pricing model advantages
  • 32. Architecture Production - US East Region Elastic Load Balancer Dispatcher/Apache Amazon Linux 64 Bit C1 Medium Dispatcher/Apache Amazon Linux 64 Bit C1 Medium Publish CQ/CRX Amazon Linux 64 Bit C1-Xlarge Master Author CQ/CRX Amazon Linux 64 Bit C1-Xlarge Dispatcher/Apache Amazon Linux 64 Bit C1 Medium Availability Zone A Availability Zone DAvailability Zone B Cloudfront VPC Standby Author CQ/CRX Amazon Linux 64 Bit C1-Xlarge Publish CQ/CRX Amazon Linux 64 Bit C1-Xlarge Publish CQ/CRX Amazon Linux 64 Bit C1-Xlarge Publish CQ/CRX Amazon Linux 64 Bit C1-Xlarge Publish CQ/CRX Amazon Linux 64 Bit C1-Xlarge Publish CQ/CRX Amazon Linux 64 Bit C1-Xlarge
  • 33. Whole Site Delivery • Cache everything possible • No server side cookies written, only select pages pass query strings • Control caching granularly using 19 different rules • Use distributed load testing to validate performance against multiple CloudFront edge locations • We use a single origin, but ELB and multi-tiered multi-AZ configuration on backend • Planning a multi-region DR architecture that will also leverage CloudFront
  • 36.
  • 37.
  • 38.
  • 39.
  • 40. Success Metrics • 50% response time improvement • 99.99% uptime since relaunch (100% after launch day) • Business impact: lower hosting cost, improved consumer experience, SEO
  • 41. Lessons Learned • Understand the constraints of using a CDN and CloudFront specifically up front • Whole site caching presents unique challenges that are different from static asset caching – cookies, post requests • The CDN does not remove the need to ensure your origin is scalable and has its own caching tiers • Think about reporting requirements - how will you track usage? • Engage with the business on caching rules – what behaviours will be applied to what parts of your site?
  • 43. NPR: Whole Site Delivery Scaling npr.org for the Election Night '12 and beyond. Irakli Nadareishvili Director of Engineering, Digital Media, @NPR Twitter: @inadarei @NPRTechTeam
  • 44. Irakli Nadareishvili @inadarei Election Night: Olympics of the News Websites http://bit.ly/npraws
  • 45. Irakli Nadareishvili @inadarei Traffic Spike: http://bit.ly/npraws
  • 46. Irakli Nadareishvili @inadarei Preparation is Key Measure, Improve, Repeat. http://bit.ly/npraws
  • 47. Irakli Nadareishvili @inadarei Step 1: Measure http://bit.ly/npraws https://github.com/npr/ec2-fleet
  • 48. Irakli Nadareishvili @inadarei Bottlenecks: 1. Pipeline 2. Geography http://bit.ly/npraws
  • 49. Irakli Nadareishvili @inadarei Solution: Serve HTML through a CDN. ...but how? http://bit.ly/npraws
  • 50. Irakli Nadareishvili @inadarei Scalability: Every Second Counts http://bit.ly/npraws
  • 51. Irakli Nadareishvili @inadarei Pitfalls: 1. No user-specific content... Sortof. 2. Could not CDN API 3. Content expiration takes long time. http://bit.ly/npraws
  • 52. Irakli Nadareishvili @inadarei We Use Multiple CDNs http://bit.ly/npraws
  • 53. Irakli Nadareishvili @inadarei http://bit.ly/npraws http://www.pbs.org/idealab/2013/03/ranking-the-slowest- loading-news-sites-and-how-they-can-speed-up074.html
  • 54. NATIONAL PUBLIC RADIO Thank you. Irakli Nadareishvili twitter: @inadarei http://bit.ly/npraws
  • 55. © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com,
  • 56. © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Resources Get Started at: http://aws.amazon.com/cloudfront/ Office Hours with CloudFront Engineers June 19th, 2013 at 10 am Pacific (1PM Eastern) Sign-Up: http://aws.amazon.com/cloudfront/
  • 57. © 2013 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Thank You! nihar@amazon.com