End users expect to be able to view media content anytime, anywhere, and on any device. Amazon CloudFront is a web service for content delivery used to distribute content to end users around the globe with low latency, high data transfer speeds, and no commitments. In this session, learn what a content delivery network (CDN) such as Amazon CloudFront is and how it works, the benefits it provides, common challenges and needs, performance, pricing, and examples of how customers are using CloudFront.
5. • Simple DIY configuration with web console
Simple to Use • No consultants to hire
• No proprietary languages to learn
• No additional charges or set up fees
Low Cost • Pay only for requests and data transfer
• Designed to work with origins in Amazon EC2
AWS Integration • Connections to AWS regions closely monitored
• Supports standard AWS resources
5
7. Europe
Amsterdam (2)
Dublin
North America Frankfurt (2)
Ashburn, VA (2) London (2)
Dallas, TX (2) Madrid Asia
Jacksonville, FL Milan Hong Kong
Los Angeles, CA (2) Paris (2) Osaka
Miami, FL Stockholm Singapore (2)
Newark, NJ Sydney
New York, NY (2) Tokyo
Palo Alto, CA
Seattle, WA South America
San Jose, CA São Paulo
South Bend, IN
St. Louis, MO
8. Europe
Amsterdam
Frankfurt
North America London
Ashburn, VA Madrid
Dallas, TX Milan Asia
Hayward, CA Paris Hong Kong
New York, NY Osaka
Singapore
Sydney
Tokyo
9. 2009 2010 2011 2012
• New Lower Pricing Tiers • Singapore Edge Location • Paris Edge Location • Osaka Edge Location
• Access Logging Capability • Private Streaming • (IAM) Identity & Access • Milan Edge Location
• CloudFront Management Console • Price Drop Management • Lower Minimum Content Expiration Periods
• Private Content • HTTPS Support • Price Drop • Live Streaming FMS 4.5
• Streaming Video on Demand • Lower 1-Hour TTLs • Free Inbound Data Transfer • Geo-blocking tutorial
• Access Logs - Streaming • Stockholm Edge Location • Second Virginia Edge Location
• Live Streaming Support • Second Singapore Edge Location
• NYC Edge Location
• São Paulo Edge Location • Second Frankfurt Edge Location
• Enhanced Logs • Second LA Edge Location • Second London Edge Location
• Default Root Object • San Jose Edge Location • Smooth Streaming Support
• Invalidation • South Bend Edge Location • Dynamic Content Support
• Custom Origins • Sec. NY Edge Location • Multiple Cache Behaviors
• Service Level Agreement • Large Object Support • Multiple Origin Servers
• Jacksonville Edge Location • CloudFront Tops 20K customers • 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
• Second Hong Kong Edge Location
• Third NY Edge Location
10.
11. Dynamic content
User to CloudFront
Routing based on lowest latency
TCP optimizations
Persistent Connections
Elastic Load Amazon EC2
Balancing
Static Content
Amazon CloudFront
CloudFront to Origin
Separation of static and dynamic content
Persistent connections to each origin
Network paths monitored for performance Amazon S3
12. If content not cached – Request routed to most
Amazon S3 object requested from origin CloudFront optimal edge location
bucket or edge locations
custom origin 2 1 End-user requests content
with content
Cached copies of
objects
3 4
Data transfer of content to Data transfer of cached
CloudFront edge location to cache content to end user (if cached)
13. Request routed to most
Amazon S3 CloudFront optimal edge location
bucket or edge locations
custom origin End-user requests content
with content 1
Cached copies of
objects
2
Data transfer of cached
content to end user (if cached)
13
14. Dynamic content is the interactive or personalized portion of
a website, created on-the-fly for each end user
• News
• Weather
• Sports
• Social media
• Advertising
• Travel
15.
16. *The Gomez tests were designed and conducted by Amazon using the
Compuware Corporation performance network. The test results have not been
reviewed, approved or endorsed by Compuware Corporation
17. • 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
18. 80
70
Volume of Data Delivered
60 Peak usage over 60 Gbps
50
(Gbps)
40
30
20
10
0
8:00 AM 9:00 AM 10:00 AM 11:00 AM 12:00 PM 1:00 PM 2:00 PM 3:00 PM 4:00 PM 5:00 PM 6:00 PM 7:00 PM 8:00 PM 9:00 PM
Example: Video banner ad customer
24. www.hudl.com {sc,va,vb,vc…}.hudl.com
Amazon
Elastic Load Balancing CloudFront
a b
nginx nginx nginx
Amazon SNS
Config
Changes
IIS IIS IIS c d
Auto Scaling Group
Route 53 Memcache Postfix Solr e
Amazon S3 Buckets
Hudl SQL Server MongoDB RabbitMQ
Overwatch
Availability Zones
Encoding
Region Farm Queue
25. How Hudl uses a CDN
• Serve (lots of) static video/image files quickly from
Amazon S3
• Downloadable installers and updates to end users
• Provide layered security to D1 and NFL film
• Dynamic content – CSS, JS, images
26. Why Amazon CloudFront?
• Fast. Fast. Fast.
• Easy management
• Great content security
• Explosive growth in locations and features
• Integration with Amazon S3
27.
28.
29. Use of AWS:
• Delivers over 2.5PB per month of video
through Amazon CloudFront
Business Benefits:
• Greater reliability compared to other
CDNs
Customer 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.”
30. Problem:
• Needed to reduce IT costs for new application
Solution:
• AWS’s low, pay-as-you-go prices & 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:
• Saved $34M in hardware and maintenance
expenses, 85% less than running on-premises
• Reliability of AWS cloud has enabled Samsung to
be highly available to meet their SLA targets.
31. Problem:
• Needed to scale quickly with minimal investment
Solution:
• Amazon CloudFront enabled Twitpic to:
• Speed up the delivery of photos
• Reduce their bandwidth cost
• Provide a better user experience for their
international and U.S. customers
Business Benefits:
• Twitpic was able to scale and grow their business
with AWS
• Twitpic has seen cost savings that averages
$70,000 a month by using Amazon CloudFront
“The reliability of Amazon CloudFront allows our small team to focus on our core products instead of scaling
servers and network resources. “
36. • Thu (4:05PM-4:55PM) MED302: High Performance Content Delivery
36
37. We are sincerely eager to tweet #reinvent
hear your feedback on this
presentation and on re:Invent.
Please fill out an evaluation
form when you have a
chance.