Download - Introduction to CloudFront
Introduction to
Amazon CloudFront
©2015, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon CloudFront: Content Delivery Network
• Full Feature Caching Network
• Global Infrastructure
• Tuned for Optimal Performance
• Massively Scalable
• Highly Secure
• Robust Analytics
• Self Service
• Priced to Minimize Cost
Content Delivery for any Market Segment
• Media and Entertainment
• Gaming
• eCommerce
• Digital Advertising
• Software Downloads
• Dynamic Websites and Applications
What You Look for in a CDN
• Performance: deliver content with low latency and high availability
• Reach and Functionality: provide global network of edge locations to optimally reach a wide audience
• Cost: ensure financial feasibility for scalable bit delivery
Popular CloudFront Features
Video StreamingOn-demand & Live Streaming
RTMP (Flash) and HTTP(S)
Adaptive Bitrate Live Streaming
Microsoft Smooth Streaming
Whole Site DeliveryStatic & Dynamic Content
Mobile Detect, CORS Support
Multiple Cache Behaviors
Multiple Origin Servers
SecurityPrivate Content (Signed URLs /
Cookies)
Custom SSL (Dedicated IP & SNI)
Geo Restriction
HTTP to HTTPS Redirect
High Availability99.9% SLA
Automatic Origin Failover
Custom Error Pages
Serve Stale Content when Origin unavailable
High PerformanceLatency Based Routing
TCP Optimization
Persistent Connections
EDNS Client Subnet
Low TCOPay for use
Commit-Based lower pricing
Price Classes
Preferential Pricing for AWS origins
Performance: Industry Leading Latency and Availability
99.4999.47
99.45 99.44
99.19
99
99.05
99.1
99.15
99.2
99.25
99.3
99.35
99.4
99.45
99.5
99.55
Japan Availability*
*Data from Cedexis, Last 30 Days, ending 02/16/15
99.54 99.54
99.53
99.5 99.5
99.48
99.49
99.5
99.51
99.52
99.53
99.54
99.55
Korea Availability*
CloudFront Top Tier Performance
0
100
200
300
400
500
600
Cloudfront CDN C CDN B CDN D
Global Response Time (ms)
10th Percentile
95th Percentile
25th Percentile
75th Percentile
*Data from Cedexis, Last 24 hrs, Response Time Measure over All Cedexis Regions. 06/24/14
Performance: Dynamic Site Acceleration
0
200
400
600
800
1000
1200
DSA Cloudfront DSA Origin
DSA Performance (ms)
10th Percentile
95th Percentile
25th Percentile
75th Percentile
*Data from Cedexis, Last 5 Days, DSA Time Measure of the Ireland. 01/16/2014
Reach: CloudFront Global Content Delivery Network
North America South America EMEA APAC
Super POPs
Cities
Countries
Continents
AWS Region CloudFront Edge Location
CloudFront Pricing: Competitive, Flexible Options
• On-demand, pay for use
elastic pricing
• Same pricing for Static and
Dynamic Content
• Usage Commitment Options
• GB delivery model
• No Platform Fees
Pri
ce p
er
GB
Data Transfer
Data Transfer Economies of Scale
Public Rates Private Rates
CloudFront Reference Customers: M&E
Delivery for Any Use Case
Media and Entertainment
Download• progressive
download
• static sites
• applications
• A/V players
Video on Demand• Internet TV
• OTT
• Web
• Mobile
LIVE Events• music
• sports
• gaming
• news
• corporate
Publishing• dynamic site
• whole site
• news, weather, etc
CloudFront Features: Media and Entertainment
Video Streaming
• RTMP (Flash) and HTTP(S) delivery
• Adaptive Bitrate Streaming (HLS, HDS, Smooth, MPEG-DASH)
Security
• Private Content
• SSL, TLS/SNI Support
• Advanced SSL (perfect forwarding, OCSP stapling, session tickets)
• Geo Restriction
Content Management
• AWS Management Console
• Full control via APIs
• Programmatic Invalidation
• Online Usage Reports and Charts
• Industry-compliant, detailed Access Logs
Dynamic Content Acceleration
• Low Minimum Content Expiration Periods (TTL=0)
• Multiple Cache Behaviors
• Multiple Origin Servers
• CORS Support
• Origin Connection Protocol
• Viewer Connection Protocol
• Zone Apex Support
• Query String & Cookie Support
• Put/Post HTTP Verb Support
• Full VARY Support
• User Agent Detection
• Geo Targeting
• Multi-Site Hosting
Price Flexibility
• On Demand Pay for Use
• Price Classes
• Committed Private Pricing
13
Reference Architecture: Overview – Media/EntertainmentStreaming in Front of Your Origin
• Deliver Static and Dynamic Content
• Offload origin traffic to CloudFront CDN
• Serve LIVE Event Traffic to Large Crowds
• Serve VOD Media to any device
• Alter content based on User Agent
• Secure connections via SSL• Authenticate via signed URLs• Supports 3rd Party DRM
Static ContentServed from S3
*.jpg, *.m3u8, *.ts, *.css
Dynamic or Static ContentServed from ELB and/or EC2
*.php, *.js, *m3u8, *.ts
CloudFront and the AWS Ecosystem
• Integrates with AWS Resources– Amazon Route 53 DNS
– Amazon Elastic Transcoder
– S3 Storage
– EC2 Compute and Elastic Load Balancing
– Marketplace SaaS and SI partners
• Improves Scalability of otherAmazon Resources
• Free Data Transfer from Amazon S3 & EC2 to CloudFront
POST /2012-07-01/distribution HTTP/1.1
Host: cloudfront.amazonaws.com
Authorization: AWS authentication string
Date: time stamp
Other required headers
<?xml version="1.0" encoding="UTF-8"?>
<DistributionConfig
xmlns="http://cloudfront.amazonaws.com/doc/2012-07-01/">
Manage Your Content Your Way
API Consolemanagement and reporting
Thank you!
©2015, Amazon Web Services, Inc. or its affiliates. All rights reserved.