Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
High Availability  Websites 1        D r.   M AT T    WO O D  T E C H N O LO GY     E VA N G E L I S T
Part 1
AGENDA  High Performance Websites: Part 11. Availability2. Static content3. Multi-tier applications4 . Per formance boost5...
Spectrum of websites
Static           DynamicSpectrum of websites
Static            DynamicSimple           Complex Spectrum of websites
Static            DynamicSimple            ComplexNiche            Mass market Spectrum of websites
Availability is important
Support your customers
Support your  business
However...
“Everything fails  all the time                           ”    Werner Vogels, Amazon CTO
Infrastructure services cansave the day
Treat your data  as a Royal GardenTreat your infrastructure as a fungible resource
Focus on your stuff
Patterns foravailability
1. Static content
ImagesStylesheets                              Streaming                               content              Assets Video  ...
Templates                     ImagesStylesheets                                    Streaming                              ...
High                Highredund              availabi ancy                 lity  Amazon S3          High         durabili  ...
http://s3.amazonaws.com/bucketname/objectid http://bucketname.s3.amazonaws.com/objectid
https://s3.amazonaws.com/bucketname/objectidhttps://bucketname.s3.amazonaws.com/objectid
Perfect for asset    hosting
Perfect for website      hosting
Let’s see how...
aws.amazon.com/console
Make everything public
index.html               Texthttp://mza.s3.amazon.com/site/index.html
https://mza.s3.amazon.com/site/index.html
https://mza.s3.amazon.com/site/index.html
:(
Unfriendly, brittle URL:http://mza.s3.amazonaws.com/s3/index.html
Increased latency
CloudFrontPowerful content delivery network
Global edge caching         +   Friendly URLs
Let’s see how!
d19r58gd5nvk1.cloudfront.net
d19r58gd5nvk1.cloudfront.net/site/index.html
UpdateDNS CNAME
friendly-example.com/index.html
Set CloudFrontDefault Root Object
API or S3 client
CloudBerry Explorer      API or S3 client                      Cyberduck
index.html
friendly-example.com
friendly-example.com        Global         DNS CNAME        Global         Amazon CloudFront       Regional        Amazon ...
Thank you!
Questions, comments:mawood@amazon.com        @mza         on Twitter
High Availability Websites: part one
High Availability Websites: part one
High Availability Websites: part one
High Availability Websites: part one
High Availability Websites: part one
High Availability Websites: part one
High Availability Websites: part one
High Availability Websites: part one
High Availability Websites: part one
High Availability Websites: part one
High Availability Websites: part one
High Availability Websites: part one
High Availability Websites: part one
High Availability Websites: part one
High Availability Websites: part one
Upcoming SlideShare
Loading in …5
×

High Availability Websites: part one

11,290 views

Published on

Slides from the recent AWS High Availability Websites online seminar. Covering static asset and site hosting with S3 and CloudFront.

Published in: Business, Technology
  • Be the first to comment

High Availability Websites: part one

  1. High Availability Websites 1 D r. M AT T WO O D T E C H N O LO GY E VA N G E L I S T
  2. Part 1
  3. AGENDA High Performance Websites: Part 11. Availability2. Static content3. Multi-tier applications4 . Per formance boost5. Summar y
  4. Spectrum of websites
  5. Static DynamicSpectrum of websites
  6. Static DynamicSimple Complex Spectrum of websites
  7. Static DynamicSimple ComplexNiche Mass market Spectrum of websites
  8. Availability is important
  9. Support your customers
  10. Support your business
  11. However...
  12. “Everything fails all the time ” Werner Vogels, Amazon CTO
  13. Infrastructure services cansave the day
  14. Treat your data as a Royal GardenTreat your infrastructure as a fungible resource
  15. Focus on your stuff
  16. Patterns foravailability
  17. 1. Static content
  18. ImagesStylesheets Streaming content Assets Video Javascript
  19. Templates ImagesStylesheets Streaming content Webpages Assets Blog posts Video Javascript PDFs
  20. High Highredund availabi ancy lity Amazon S3 High durabili ty
  21. http://s3.amazonaws.com/bucketname/objectid http://bucketname.s3.amazonaws.com/objectid
  22. https://s3.amazonaws.com/bucketname/objectidhttps://bucketname.s3.amazonaws.com/objectid
  23. Perfect for asset hosting
  24. Perfect for website hosting
  25. Let’s see how...
  26. aws.amazon.com/console
  27. Make everything public
  28. index.html Texthttp://mza.s3.amazon.com/site/index.html
  29. https://mza.s3.amazon.com/site/index.html
  30. https://mza.s3.amazon.com/site/index.html
  31. :(
  32. Unfriendly, brittle URL:http://mza.s3.amazonaws.com/s3/index.html
  33. Increased latency
  34. CloudFrontPowerful content delivery network
  35. Global edge caching + Friendly URLs
  36. Let’s see how!
  37. d19r58gd5nvk1.cloudfront.net
  38. d19r58gd5nvk1.cloudfront.net/site/index.html
  39. UpdateDNS CNAME
  40. friendly-example.com/index.html
  41. Set CloudFrontDefault Root Object
  42. API or S3 client
  43. CloudBerry Explorer API or S3 client Cyberduck
  44. index.html
  45. friendly-example.com
  46. friendly-example.com Global DNS CNAME Global Amazon CloudFront Regional Amazon S3 Redundant storage
  47. Thank you!
  48. Questions, comments:mawood@amazon.com @mza on Twitter

×