Contenu connexe Similaire à AWS Webinar - Intro to Amazon Cloudfront 13-09-17 (20) Plus de Amazon Web Services (20) AWS Webinar - Intro to Amazon Cloudfront 13-09-171. © 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, Inc.
Introduction to Amazon CloudFront
Nihar Bihani
Sr. Product Manager, Amazon CloudFront
nihar@amazon.com
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, Inc.
Agenda: Introduction to Amazon CloudFront
CDN Benefits
CloudFront Overview
CloudFront: How It Works
Customer Examples
Pricing
Amazon CloudFront
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, Inc.
CDN Benefits: Global CloudFront Network
Europe
Amsterdam (2)
Dublin
Frankfurt (2)
London (2)
Madrid
Milan
Paris (2)
Stockholm
Asia
Chennai
Hong Kong (2)
Mumbai
Osaka
Seoul
Singapore (2)
Tokyo (2)
South America
Sao Paulo
North America
Ashburn, VA (3)
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
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, Inc.
CloudFront in a Nutshell
CloudFront can make your web applications…….
• Faster
• Scale Better
• More Available
• Easier to Manage
• Cost Less
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, Inc.
AWS Integration
Simple to Use
Simple DIY configuration with web console
No consultants to hire
No proprietary languages to learn
Low Cost
No additional charges or set up fees
Pay only for requests and data transfer
Designed to work with origins in Amazon EC2
Connections to AWS regions closely monitored
Standard AWS resources (like CloudFormation)
CloudFront Overview
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, Inc.
Rapidly Adding Features, Expanding Scope
2009 2010 2011 2012
• New Lower Pricing
Tiers
• Access Logging
Capability
• CloudFront
Management
Console
• Private Content
• Streaming Video on
Demand
• Singapore Edge Location
• Private Streaming
• Price Drop
• HTTPS Support
• Lower 1-Hour TTLs
• Access Logs - Streaming
• NYC Edge Location
• Enhanced Logs
• Default Root Object
• Invalidation
• Custom Origins
• Service Level Agreement
• Jacksonville Edge
Location
• Paris Edge Location
• (IAM) Identity & Access
Management
• Price Drop
• Free Inbound Data
Transfer
• Stockholm Edge
Location
• Live Streaming Support
• Sao Paulo Edge
Location
• Second LA Edge
Location
• San Jose Edge Location
• South Bend Edge
Location
• Sec. NY Edge Location
• Large Object Support
• CloudFront Tops 20K
customers
• Osaka Edge Location
• Milan Edge Location
• Lower Minimum Content
Expiration Periods
• Live Streaming FMS 4.5
• Geo-blocking tutorial
• Second Virginia Edge
Location
• Second Singapore Edge
Location
• Second Frankfurt Edge
Location
• Second London Edge
Location
• Smooth Streaming Support
• Dynamic Content Support
• Multiple Cache Behaviors
• Multiple Origin Servers
• Query String Parameters
• Second Dallas Edge Location
• Second Paris Edge Location
• Sydney Edge Location
• Second Amsterdam Edge
Location
• Cookie Support
• Price Classes
• Enhanced Logs
• Madrid, Spain Edge
Location
• Private Content Console
Support
• Second Tokyo Edge
Location
• Hayward, CA Edge Location
• Third NY Edge Location
• Second Hong Kong Edge
Location
• CloudFront & Strangeloop
offer combined CDN/FEO
solution
2013
• Price Drop. Lower
inter-region pricing
• Korea PoP launch
• Zone Apex Support
• Custom SSL
Support
• Chennai Edge
location
• Mumbai Edge
location
• Third VA PoP
• WOWZA Support
• Support for HTTP
1.1
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, Inc.
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, Inc.
Dynamic
Static
Sites Mix Static and Dynamic Content
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, Inc.
Static content is the objects
on your website that don’t
change from user to user
Static Content
• Images
• Media
• CSS
• JavaScript
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, Inc.
Features for Delivering Static Objects
• HTTP/HTTPS file delivery
• Private Content with Signed URLs
• Programmatic Invalidation
• Access Logs
• Full Control via APIs
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, Inc.
Dynamic Content
• News
• Weather
• Sports
• Social Media
• Advertising
• Stocks
• Ecommerce
• Travel
Dynamic content is the interactive or personalized portion of a website,
created on-the-fly for each end user
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, Inc.
Features for Dynamic Content
1. Connection optimizations
2. Multiple cache behaviors and origin
servers
3. Query string parameters and cookie
support
4. Custom SSL Certificates
5. Zone Apex Support
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, Inc.
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
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, Inc.
Content 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
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, Inc.
Dynamic Content 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.
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, Inc.
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, Inc.
Faster: The Performance Problem
Long Distance + Poor Network = Slow Load Times
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, Inc.
Faster: How CloudFront Helps
CloudFront helps change this equation to…
Short Distance + Optimized Network = Fast Load Times
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, Inc.
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
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, Inc.
• 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.
• The vast majority of CDN traffic on Amazon.com is being served by Amazon CloudFront
Faster: Global CloudFront Network
“Delivery via Amazon
CloudFront allows you to
download video games as
quickly as your broadband
connection allows. Customers
using a high speed,
broadband internet can see
up to an 8x increase in
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, Inc.
CloudFront can make your web applications…….
Faster
Scale Better
More Available
Easier to Manage
Cost Less
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, Inc.
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.
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, Inc.
Scalability
Peak usage over 60 Gbps
Example: Video banner ad customer
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, Inc.
Problem
A massive sudden increase in web traffic was expected
for live coverage of the Mars Exploration Rover Curiosity
landing
Solution
NASA JPL utilized AWS to support website, image and
live video delivery to hundreds of thousands of current
visitors
Business Benefits
Operating the mars.jpl.nasa.gov website on AWS allowed
NASA JPL to broadcast their message to the world and
provide an excellent experience for an online viewing
audience larger than the Olympics
NASA JPL Delivers Content from Mars
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, Inc.
CloudFront can make your web applications…….
Faster
Scale Better
More Available
Easier to Manage
Cost Less
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, Inc.
More Available: How CloudFront Helps
CloudFront is architected for high availability.
Serve cached content even when origin is unavailable.
Availability SLA.
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, Inc.
Problem
High error rates and performance issues with their
existing CDN provider
Solution
Migrated the majority of PBS videos to Amazon S3
storage and delivered them via Amazon CloudFront
Business Benefits
Moving to S3 + CloudFront resulted in a 50% lower error
rate and improved performance
Video Testimonial
http://www.youtube.com/watch?v=l2990XEC-Cw
“As with all the AWS services we leverage, using
Amazon CloudFront is so simple and reliable that the
team doesn’t have to think about it. It all just works,
freeing us to focus on building cool applications.”
AWS Reliable Infrastructure Makes it Easier to Focus on Other Tasks
28. © 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, Inc.
CloudFront can make your web applications…….
Faster
Scale Better
More Available
Easier to Manage
Cost Less
29. © 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, Inc.
Easier to Manage: How CloudFront Helps
No need to write any custom code.
No need to split-up the website across multiple domains (e.g. for
dynamic and static content, or https vs. http)
- 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.
30. © 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, Inc.
Easy to Configure and Manage
No custom code
Self service signup and configuration
– anytime, from anywhere.
AWS Management Console to
create and manage CloudFront
distributions.
Programmatic APIs for integration
into your own systems and workflow.
31. © 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, Inc.
Use of AWS
Earth Networks uses Amazon CloudFront’s dynamic
content features to customize the user experience by
distributing local information to millions of users in near-
real time.
Business Benefits
Saved over 50% in CDN costs and anticipates 20%
reduction in EC2 origin instances without any reduction
in performance or need to write custom code.
Testimonial
“With CloudFront’s strong performance, ease of use and
flexibility, our team can use the API or the console to
quickly make changes to our CDN configuration and see
the updates within minutes. And with the low cost of
delivering dynamic content using CloudFront, we expect
to see significant cost savings as well.”
Earth Networks: Lowers Cost but not Performance!
32. © 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, Inc.
CloudFront can make your web applications…….
Faster
Scale Better
More Available
Easier to Manage
Cost Less
33. © 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, Inc.
Cost Less: How CloudFront Helps
Same price for dynamic and static content!
Preferential pricing on origin fetches from S3 and EC2.
CloudFront is less expensive than AWS Data Transfer, over 10 TB/mth.
Reserved Capacity Pricing for reduced rates with commitment.
34. © 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, Inc.
Problem
Need to reduce IT costs for new application
Solution
AWS’s low, pay-as-you-go pricing & reliable services
With every user’s request, the Smart Hub
application authenticates devices, delivers apps
and content, and pushes notifications across
multiple devices
Business Benefits
Operational efficiencies, converting capex to opex, new
revenue opportunities
Samsung runs its Smart Hub application on CloudFront
35. © 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, Inc.
Support for all device types
HTTP protocols – Adobe HDS, Apple HLS,
Microsoft Smooth Streaming, MPEG-DASH
RMTP protocol for Flash clients (VOD only)
Simple to configure
Live streaming stack managed through
CloudFormation script
VOD - upload .flv to S3, stream via RTMP
Flexible
Full control over streaming origin enables
freedom to enable and configure supported
features
Features for Live and VOD Streaming
36. © 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, Inc.
Problem
ABC/Disney needed an end to end solutions that handle
the complexity and scale of their video delivery
Solution
AWS’s scalable and resilient services enable upLynk to
provide a service solution providing:
• Delivery via CloudFront
• One multi-bitrate encode for all devices
• Low-bandwidth secure signal acquisition
• Automated CC processing and packaging
• Live on-the-fly program and ad removal
• Dynamic ad serving into live-linear playback
• Software controlled live signal delay
Business Benefits
Operational efficiencies, converting capex to opex, new
revenue opportunities
upLynk Online Video Platform
37. © 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, Inc.
Pricing
38. © 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, Inc.
Thank you!
www.aws.amazon.com/cloudfront