Cloud Front & Serving Media From the Edge - AWS India Summit 2012

1,127 views

Published on

Cloud Front & Serving Media From the Edge from the AWS Summit in India

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,127
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
29
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • http://www.flickr.com/photos/scobleizer/3985020876/You created a great webapp and you're proud of it
  • Remember your great app ? Well, everyone loves it …
  • AWS’ Reliable Infrastructure Makes it Easier to Focus on Other Tasks. An example customer that has seen the benefits here is PBS.PBS is using Amazon’s CloudFront Content Delivery Network for its streamed media.They were using another CDN initially, but were having reliability issues so they wrote a monitoring tool to test other CDNs, including CloudFront.What they found was that CloudFront had a significantly lower error rate than the incumbent CDN, so within a matter of weeks they made the switch.PBS is now delivering over 1PB/mo through CloudFront.
  • AWS’ Reliable Infrastructure Makes it Easier to Focus on Other Tasks. An example customer that has seen the benefits here is PBS.PBS is using Amazon’s CloudFront Content Delivery Network for its streamed media.They were using another CDN initially, but were having reliability issues so they wrote a monitoring tool to test other CDNs, including CloudFront.What they found was that CloudFront had a significantly lower error rate than the incumbent CDN, so within a matter of weeks they made the switch.PBS is now delivering over 1PB/mo through CloudFront.
  • Cloud Front & Serving Media From the Edge - AWS India Summit 2012

    1. 1. CloudFront & ServingMedia from the Edge Kingsley Wood AWS Business Development
    2. 2. CloudFront & Serving Media from the Edge Benefits deliver service quicker optimal user experience minimal cost massive scale Review and Focus products architectures best practices Requirements media storage processing delivery – static and dynamic
    3. 3. The dream : you create a fantastic app
    4. 4. people love it!
    5. 5. and everyone wants to use it…
    6. 6. Do-It-Yourself Headaches Bandwidth Capacity Uptime Guarantees Download Speed Concurrent Connections Acceptable Latency ? Audit Access Control Logs Customer Locations
    7. 7. CloudFront in a nutshell A Content delivery network that delivers: • Low latency. Improves media load times. • High bandwidth. Enables high bit rate HD video and other media applications. • Redundant. Eliminates single points of failure. • Scalable. Ensure great experience as number of end users grows. • Global. Worldwide network provides great experience regardless of geography. • Cost-effective. Pay-as-you go model provides flexibility for your business.
    8. 8. Key features for CloudFront • RTMP (Flash) and HTTP delivery • Live and VOD • Low Minimum Expiration (TTL = 0) • Adaptive Bitrate Streaming • HTTP/HTTPS File Delivery • Private Content • Programmatic Invalidation • Industry-compliant, detailed access logs • AWS Management Console • Full control via APIs • Support for dynamic content
    9. 9. Global infrastructure Deployment & Administration App ServicesCompute Storage Database Regions An independent collection of AWS resources in a Networking defined geography A solid foundation for meeting location-dependent AWS Global Infrastructure privacy and compliance requirements
    10. 10. Global Infrastructure Deployment & Administration App ServicesCompute Storage Database Availability Zones Designed as independent failure zones Networking Physically separated within a typical metropolitan region AWS Global Infrastructure
    11. 11. Global Infrastructure Deployment & Administration App ServicesCompute Storage Database Edge Locations To deliver content to end users with lower latency Networking A global network of edge locations Supports global DNS infrastructure (Route53) and AWS Global Infrastructure Cloud Front CDN
    12. 12. Back to Basics Delivery of Non-Cached Video Download Object Request routed End user S3 bucket or requested from to optimal edge CloudFront requests videocustom origin origin location edge with video locations content Media Data transfer of stored in Data transfer of stored video to cache cached video to End user CloudFront end user for enjoys video edge location download 13
    13. 13. Back to BasicsDelivery of Cached Video Download Request routed End user to optimal edge CloudFront requests video location edge locations Skipping these steps means lower latency and better customer experience Media read from Data transfer of cache cached video to End user end user for enjoys video download 14
    14. 14. Instant Global Reach StockholmSan Jose Hong Kong Sao Paulo Web servers in Singapore
    15. 15. Instant Global Reach StockholmSan Jose Hong Kong Sao Paulo Web servers in Singapore Dynamic pages (PHP, Java) (from Web servers) Static content or streaming (with CloudFront)
    16. 16. We take care of the rest…Origin Single / Multiple S3 bucket / external web serverBehavior HTTP / HTTPS Minimum TTL (time to live) Cookies / Query StringsDetails Price Class CNAMEs – with Route53 LoggingEnable Notify all 35 edge locations Single CNAME for global latency based routing
    17. 17. Deliver the WHOLE SITE via CloudFront User to CloudFront Routing based on lowest latency Dynamic Content TCP Optimizations Persistent Connections ELB EC2 Your Users Amazon CloudFront Static Content www.mysite.com CloudFront to Origin Separation of static and dynamic content S3 Persistent connections to each origin Network paths monitored for performance
    18. 18. Static and Dynamic Content Served from S3 /images/* London Served from EC2 Paris *.php Single CNAME NY www.mysite.com
    19. 19. Behind CloudFront Media Relational NoSQL Storage Database Database S3 RDS DynamoDB Compute Scalability ELB & EC2 AutoScaling
    20. 20. Putting it all together
    21. 21. Reliable delivery to wide range of clients • Multiple delivery protocols for different platforms and devices • Adobe RTMP • HTTP streaming for iOS • Microsoft Silverlight • Options for live and on-demand video ? • Full control over origin for live streaming • Reliability backed by CloudFront Service Level Agreement
    22. 22. What customers are saying“With CloudFront’s strongperformance, ease of use andflexibility, our team can use the API orthe Console to quickly make changesto our CDN configuration and see theupdates within minutes. And with thelow cost of delivering dynamic contentusing CloudFront, we expect to seesignificant cost savings as well.”
    23. 23. What customers are sayingAWS’ reliable infrastructure makes iteasier to focus on other tasks“As with all the other AWS services weleverage, using Amazon CloudFront isso simple and reliable that the teamdoesn’t have to think about it. It all justworks, freeing us to focus on buildingcool applications.” >1Pb/mo through Cloudfront
    24. 24. What customers are sayingNASA Tells the World About Marswith AWSShortly before the landing, NASA/JPLprovisioned stacks of AWSinfrastructure, each capable ofhandling 25 Gbps of traffic. As trafficvolumes returned to normal hours afterthe landing, NASA/JPL used AWSCloudFormation to de-provisionresources using a single command.
    25. 25. Best Practices OFFLOAD static content • reduce your compute demand and costs • improve end-user experience • increase reliability and durability +
    26. 26. Best Practices WHOLE SITE via CloudFront • reduce your compute demand and costs • improve end user experience • minimize chatter and simpler model +
    27. 27. Best Practices DRY (don’t repeat yourself) • original vs. derived assets : 33% savings • single reference and consistency • control, accurate logs and tracking S3 (or Glacier) RRS
    28. 28. Best Practices Route53 to host DNS zones • leverage CloudFront edge locations • highly available, reliable, scalable • fast, easy and cost-effective • flexible control with security Region 1 Region 2
    29. 29. EC2 S3ELB Route53 CloudFront

    ×