SlideShare una empresa de Scribd logo
1 de 32
#reinvent
Dynamic

          Static
Static content is the objects
on your website that don’t
change from user to user
 •   Images
 •   Media
 •   CSS
 •   JavaScript
Dynamic content is the
interactive or personalized
portion of a website, created
on-the-fly for each end user
 •   Customer names
 •   News & Weather
 •   Sports
 •   Stocks
 •   Travel
Deliver dynamic content from       Use solutions from traditional
your own origin servers            content delivery networks

•   Slow                           • Expensive
•   Hard to scale                  • Complicated
•   Single points of failure       • Proprietary code
•   Increased load to the origin
Dynamic Content with CloudFront
                  Simple DIY configuration with web console
Simple to Use     No consultants to hire
                  No proprietary languages to learn


                  Designed to work with origins in Amazon EC2
AWS Integration   Connections to AWS regions closely monitored
                  Standard AWS resources (like AWS CloudFormation)


                  No additional charges or set up fees
Low Cost          Pay only for requests and data transfer
How It Works
User to CloudFront                               Dynamic Content
Routing based on lowest latency
TCP Optimizations
Persistent Connections

                                                 Elastic Load               Amazon
                                                   Balancer                  EC2




                                                    Static Content
      CloudFront to Origin
      Separation of static and dynamic content
      Persistent connections to each origin
      Network paths monitored for performance
                                                                Amazon S3
Europe
                      Amsterdam (2)
                      Dublin
North America         Frankfurt (2)
Ashburn, VA (2)       London (2)
Dallas, TX (2)                        Asia
                      Madrid
Jacksonville, FL                      Hong Kong
                      Milan
Los Angeles, CA (2)                   Osaka
                      Paris (2)
Miami, FL                             Singapore (2)
                      Stockholm
Newark, NJ                            Sydney
New York, NY (3)                      Tokyo (2)
Palo Alto, CA
Seattle, WA           South America
San Jose, CA          Sao Paulo
South Bend, IN
St. Louis, MO
Great Performance




• Amazon CloudFront had to win Amazon.com’s CDN business just like any other CDN
• Testing on Amazon.com shows that Amazon CloudFront is 7% faster than CDN A and 51%
  faster than CDN B.
1. Connection optimizations
2. Multiple cache behaviors
3. Multiple origin servers
4. Query string parameters and
   cookie support
Origin to CloudFront        CloudFront to User

• Persistent connections   • Routing optimizations
• Collapsed forwarding     • TCP optimizations
• AWS monitored paths      • Persistent connections
Separate static and dynamic
content (S3 versus ELB)
Organize your content into
different buckets or origins
Incorporate different back-end
services
All using a single domain name
•   Select a different origin

Based on pattern    •   Require SSL
matching of each    •   Use private content
request, you can:   •   Change the minimum TTL
                    •   Cache cookies or query strings
Ways to personalize and
customize pages and sites
Whitelist of cookies and query
strings to forward to your origin
Cookies and query strings you
specify are part of cache
www.aws.amazon.com/cloudfront/dynamic-content




                      http://aws.amazon.com/cloudfront
www.aws.amazon.com/cloudfront


          www.aws.amazon.com/cloudfront


         www.aws.amazon.com/cloudfront

www.aws.amazon.com/cloudfront/dynamic-content




                              www.aws.amazon.com/cloudfront
#reinvent
  We are sincerely eager to
 hear your feedback on this
presentation and on re:Invent.

 Please fill out an evaluation
   form when you have a
            chance.

Más contenido relacionado

Más de Amazon 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 AWS
Amazon 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 Deck
Amazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
Amazon 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
 

Más de Amazon Web Services (20)

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
 
Come costruire un'architettura Serverless nel Cloud AWS
Come costruire un'architettura Serverless nel Cloud AWSCome costruire un'architettura Serverless nel Cloud AWS
Come costruire un'architettura Serverless nel Cloud AWS
 
AWS Serverless per startup: come innovare senza preoccuparsi dei server
AWS Serverless per startup: come innovare senza preoccuparsi dei serverAWS Serverless per startup: come innovare senza preoccuparsi dei server
AWS Serverless per startup: come innovare senza preoccuparsi dei server
 
Crea dashboard interattive con Amazon QuickSight
Crea dashboard interattive con Amazon QuickSightCrea dashboard interattive con Amazon QuickSight
Crea dashboard interattive con Amazon QuickSight
 
Costruisci modelli di Machine Learning con Amazon SageMaker Autopilot
Costruisci modelli di Machine Learning con Amazon SageMaker AutopilotCostruisci modelli di Machine Learning con Amazon SageMaker Autopilot
Costruisci modelli di Machine Learning con Amazon SageMaker Autopilot
 
Migra le tue file shares in cloud con FSx for Windows
Migra le tue file shares in cloud con FSx for Windows Migra le tue file shares in cloud con FSx for Windows
Migra le tue file shares in cloud con FSx for Windows
 

MED204 High Performance Content Delivery - AWS re: Invent 2012

  • 2.
  • 3. Dynamic Static
  • 4. Static content is the objects on your website that don’t change from user to user • Images • Media • CSS • JavaScript
  • 5. Dynamic content is the interactive or personalized portion of a website, created on-the-fly for each end user • Customer names • News & Weather • Sports • Stocks • Travel
  • 6. Deliver dynamic content from Use solutions from traditional your own origin servers content delivery networks • Slow • Expensive • Hard to scale • Complicated • Single points of failure • Proprietary code • Increased load to the origin
  • 7. Dynamic Content with CloudFront Simple DIY configuration with web console Simple to Use No consultants to hire No proprietary languages to learn Designed to work with origins in Amazon EC2 AWS Integration Connections to AWS regions closely monitored Standard AWS resources (like AWS CloudFormation) No additional charges or set up fees Low Cost Pay only for requests and data transfer
  • 8. How It Works User to CloudFront Dynamic Content Routing based on lowest latency TCP Optimizations Persistent Connections Elastic Load Amazon Balancer EC2 Static Content CloudFront to Origin Separation of static and dynamic content Persistent connections to each origin Network paths monitored for performance Amazon S3
  • 9. Europe Amsterdam (2) Dublin North America Frankfurt (2) Ashburn, VA (2) London (2) Dallas, TX (2) Asia Madrid Jacksonville, FL Hong Kong Milan Los Angeles, CA (2) Osaka Paris (2) Miami, FL Singapore (2) Stockholm Newark, NJ Sydney New York, NY (3) Tokyo (2) Palo Alto, CA Seattle, WA South America San Jose, CA Sao Paulo South Bend, IN St. Louis, MO
  • 10. Great Performance • Amazon CloudFront had to win Amazon.com’s CDN business just like any other CDN • Testing on Amazon.com shows that Amazon CloudFront is 7% faster than CDN A and 51% faster than CDN B.
  • 11.
  • 12.
  • 13. 1. Connection optimizations 2. Multiple cache behaviors 3. Multiple origin servers 4. Query string parameters and cookie support
  • 14. Origin to CloudFront CloudFront to User • Persistent connections • Routing optimizations • Collapsed forwarding • TCP optimizations • AWS monitored paths • Persistent connections
  • 15. Separate static and dynamic content (S3 versus ELB) Organize your content into different buckets or origins Incorporate different back-end services All using a single domain name
  • 16. Select a different origin Based on pattern • Require SSL matching of each • Use private content request, you can: • Change the minimum TTL • Cache cookies or query strings
  • 17. Ways to personalize and customize pages and sites Whitelist of cookies and query strings to forward to your origin Cookies and query strings you specify are part of cache
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30. www.aws.amazon.com/cloudfront/dynamic-content http://aws.amazon.com/cloudfront
  • 31. www.aws.amazon.com/cloudfront www.aws.amazon.com/cloudfront www.aws.amazon.com/cloudfront www.aws.amazon.com/cloudfront/dynamic-content www.aws.amazon.com/cloudfront
  • 32. #reinvent We are sincerely eager to hear your feedback on this presentation and on re:Invent. Please fill out an evaluation form when you have a chance.