Amazon Cloudfront

20
© 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Lee Atkinson, Solutions Architect, Media 23 March 2016 Accelerating Your Audience Experience with Amazon CloudFront

Transcript of Amazon Cloudfront

© 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Lee Atkinson, Solutions Architect, Media

23 March 2016

Accelerating Your Audience

Experience with Amazon

CloudFront

AWS Regions

12 Regions

33 Availability Zones

AWS Edge Locations

54 Edge Locations

Amazon Route53

Amazon Route53 DNS

Common record types

Multiple routing techniques

Healthchecks

Traffic Flow

Aliases to integrate with other AWS services

Amazon CloudFront

Amazon CloudFront CDN

Common HTTP methods

Static & dynamic websites/APIs

Adaptive HTTP media streaming

Device & Country detection

Access logs and reports

Cache invalidation

Amazon CloudFront CDN

Reduce latency and origin load by:

Caching content at the edge

Shorter distances to make HTTP/TLS connections

Request-collapsing edge-to-origin

Persistent connections edge-to-origin

Personalise by forwarding headers, cookies, query string

Protect your content

DDOS resiliency

Access control using signed URLs and cookies

Geo-blocking using whitelisting/blacklisting

Integration with AWS WAF…

AWS WAF

AWS WAF Web Application Firewall

Allow/Deny/Count rules

Build rules with conditions:

Client IP addresses and ranges

Content matching in request

SQL injection

Attach WAF WebACL to CloudFront distributions

CloudFront Metro Architecture

Challenge: Long Tail Demand Profile

95%10%

Video Catalog Video Streams

5%90%

Video Catalog Video Streams

Short head (blockbuster, widely popular, short lived)

Long tail (blockbuster in a niche, narrowly popular,

popular in the past)

High Popularity Titles Lower Popularity Titles

% o

f S

essio

ns w

ith

ou

t err

ors

an

d

reb

uff

ers

Other CDNs

Solution: Build Infrastructure Optimized for

Throughput and Storage

Interconnect

Fabric

Internal Network Layer

Tiered Caching Layer

Border

Transit / Peers

Interconnect

Fabric

Border

Transit / Peers

Large-

Object Store

Large-

Object Store

Large-

Object Store

AWS

Backbone

Transit/Peer Layer

AWS Backbone

Result: Metro Architecture

High Popularity Titles Lower Popularity Titles

% o

f S

es

sio

ns

wit

ho

ut

err

ors

an

d r

eb

uff

ers

CloudFront Other CDNs

CloudFront Metro sites

3 in Europe:

London

Amsterdam

Frankfurt

8 in USA:

New York

Chicago

Washington DC

Atlanta

Dallas

Seattle

San Fracisco

Los Angeles

Be Agile with AWS Edge

Services

AWS Edge Services in Continuous Delivery

Route53, CloudFront and WAF have APIs

AWS SDK available for 11 languages and platforms

Define using AWS CloudFormation

Change configuration as your application develops

Amazon

Route 53

AWS WAF

Amazon

CloudFront

Elastic Load Balancing EC2

EU-WEST-1

Amazon S3

Corporate Datacentre

Elastic Load Balancing EC2

US-WEST-1

Amazon

Route 53

DNS, CDN and WAF ‘as code’

AWS Lambda

© 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Lee Atkinson, Solutions Architect, Media

23 March 2016

Thank you