aws webcast - using amazon cloudfront-accelerate your static, dynamic, interactive content

140
© 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. Using Amazon CloudFront to Accelerate Your Static, Dynamic, and Interactive Content Nihar Bihani, Senior Product Manager - Amazon CloudFront

Upload: amazon-web-services

Post on 27-Jan-2015

115 views

Category:

Technology


4 download

DESCRIPTION

Amazon CloudFront AWS’s easy-to-use and cost-effective content delivery service, recently added support for five additional HTTP methods: POST, PUT, DELETE, OPTIONS and PATCH. This means you can now use CloudFront to accelerate data uploaded from end users, improving the performance of dynamic and personalized websites that have web forms, comment and login boxes, “add to cart” buttons or other features. In this webinar, we will explain how CloudFront can accelerate your entire website running on Amazon S3, Amazon EC2, an Elastic Load Balancer, or on your own origin server using routes optimized via persistent connections, TCP/IP and other network path optimizations. We will also demo recent CloudFront features such as zone apex support, custom error pages, and content upload (via these additional HTTP methods).

TRANSCRIPT

Page 1: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Using Amazon CloudFront to Accelerate Your

Static, Dynamic, and Interactive Content

Nihar Bihani, Senior Product Manager - Amazon CloudFront

Page 2: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Why Performance Matters?

• Performance translates to … • Higher Page Views

• Better Customer Experience

• Higher Conversion Rates

Page 3: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Why Performance Matters?

Page 4: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Why Performance Matters?

Great Amount Of Time and Money Spent Improving Back-

End Infrastructure Performance

Page 5: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Why Performance Matters?

80% of User’s Perceived Latency Comes From Front-End

Page 6: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

How do we Improve Performance ?

A Typical Web Application Has …

• Static or Re-Usable Content

• High TTLs

• Low TTLs (Customized Content)

• Dynamic or Interactive Content

• Zero TTL

Page 7: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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 or Re-Usable Content

Can be cached (High TTLs or Low TTLs)

Page 8: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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 Architecture

Page 9: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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 or Interactive Content

Cannot be cached - BUT affects 100% of your viewers!

Page 10: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Why Not…?

Page 11: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Customers Say…

I don’t see the value - each request is unique and must go back to the origin web server.

AND/OR

I see the value, but my current CDN charges premium rates for dynamic content acceleration, with many additional fees.

AND/OR

Configuring a CDN for dynamic content acceleration requires expensive professional services and is not self-service.

Page 12: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

How Can Amazon CloudFront Help?

TCP/IP optimizations

Keep-Alive Connections

SSL Offload

POST/PUT

Latency Based Routing

Low prices, same as static content delivery!

Page 13: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Page 14: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Unique or Re-Usable Contents?

Page 15: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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 or RE-USABLE

Content that does not change for a given period of time.

t0 t1

Page 16: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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 OR INTERACTIVE

Content that changes as soon as it gets created.

t0 t1

Page 17: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Example

Page 18: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Example Index.jsp (Dynamic)

Images (static)

Page 19: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

. Sec

Page 20: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Page Load Time?

. Sec

Page 21: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Improving Web Application Performance

Accelerating Static Content

Accelerating Dynamic Content

Page 22: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Understanding Waterfall Graph

DNS Lookup

TCP Connection

Time To First Byte

Content Download

Page 23: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Understanding Waterfall Graph

Index.jsp

Page 24: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Optimizing

Static Content

Page 25: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Optimizing Static Content

Index.jsp

Page 26: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Optimizing Static Content With Caching

• Can be distributed go more than one user

• State of the object doesn't change for: sec, min, hours,..

• Caching is a way to serve static content to more than one user

Page 27: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Caching

origin

edge

location

User Request A

Page 28: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Caching

origin

edge

location

Get Image

User Request A

Page 29: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Caching

origin

edge

location

Get Image

Get Image

User Request A

Page 30: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Caching

origin

edge

location

Get Image

Get Image

Image

User Request A

Page 31: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Caching

origin

edge

location

Get Image

Get Image

Image

Image

User Request A

Page 32: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Caching

origin

edge

location

User Request B

Get Image

Page 33: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Caching

origin

edge

location Get Image Image

User Request B

Page 34: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Optimizing Static Content With Caching

Brings content closer to your users

Page 35: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Optimizing Static Content With Caching

Improves the experience and performance

Page 36: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Optimizing Static Content With Caching

Offloads your infrastructure

Page 37: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Page 38: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Before Caching Static Content = 1.46sec

Page 39: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

After Caching Static Content = 770ms

Page 40: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Are We Done?

Page 41: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

NOT SO FAST

Page 42: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Waterfall Graph

Index.jsp

Page 43: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

CACHE AS MUCH AS YOU CAN

Page 44: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

How? I’m caching

all my images, CSS and JS

Page 45: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Steps To Find Cachable Content

1. Collect web (w3c) logs from your web-tier

2. Run a report on your logs (EMR, RDS or redshift)

3. Identify top N URLs

Page 46: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Report Example

Page 47: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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 With Query Strings

Re-usable?

110 /factor/create_image?name=book1&size=10x10

Page 48: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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 With Query Strings

• CloudFront Can Cache Content With Query Strings

• Every Unique Query-string Combination Is A New

Object In Cloudfront’s Cache

Page 49: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

API Calls

Re-usable?

100 /api/GetBooks?category=math

Page 50: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

API Calls

Re-usable?

80 /api/GetBooks?top=10

Page 51: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

What If we Change our time unit?

Page 52: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Caching For Smaller Time Units

• Goal: Find content that can be cached for any given period of

time

• Hours

• Minutes

• Seconds

• CloudFront can cache content for any period of time

Page 53: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Caching For Smaller Time Units

• Imagine Your Have a Read Heavy API Gets Hit 100 Or 1000 RPS

• Offload Your Web-tier From Handling 1000 RPS

• Offload Your Load-balancer: ELB Or Any Other LB

• Provision Less Capacity and Reduce Cost

1000 /api/GetBooks?top=10

Page 54: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Base Page (first HTML page)

Re-usable?

220 /index.jsp

Page 55: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Optimizing

Dynamic Content

Page 56: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Waterfall Graph

Index.jsp

Page 57: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Can Dynamic Content Be Optimized?

Dynamic content is NOT cachable

Content proxied by CDN to the origin and

back

Page 58: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Can Dynamic Content Be Optimized?

user

request

origin

edge

location

Poke

Poke

Ok

Ok

Poke Poke

user

request

Page 59: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Can Dynamic Content Be Optimized?

That adds latency?

How to optimize dynamic content?

Page 60: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

How To Optimize Dynamic Contents?

Index.jsp

Page 61: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

How To Optimize Dynamic Content?

DNS Lookup

TCP Connection

Time To First Byte

Content Download

Page 62: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

How To Optimize Dynamic Delivery?

How??

How??

How??

How

Without

Caching??

Route 53

CloudFront Keep-

Alive Connections

CloudFront TCP/IP

Optimization

CloudFront Keep-

Alive Connections

Page 63: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

After Caching/Before CloudFront Dynamic

Acceleration = 770ms

Page 64: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

How To Improve DNS Time?

DNS Lookup

Index.jsp

Page 65: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

With Amazon Route 53

Amazon

Route 53

Page 66: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Optimizing DNS Response Time

Route 53 is AWS’s authoritative DNS service

Designed to be fast, easy-to-use, and cost-effective

Low Latency DNS Resolution

Global network of DNS servers

Queries routed to the nearest DNS server

Page 67: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Page 68: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Page 69: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

How To Improve

TCP Connection and Time to First Byte?

TCP Connection

Index.jsp

Page 70: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

With Amazon CloudFront

Keep-Alive Connections

Page 71: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

TCP/IP Bottlenecks

• Dynamic content is small in size

• HTTP runs on TCP/IP

• TCP penalizes small size requests

Page 72: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

TCP Handshake

• SYN, SYN-ACK, ACK and then data flows

• Handshake delay depends on client <-> server

latency

Page 73: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

TCP Handshake

SYN

SYN-ACK

ACK

Data

TC

P H

an

dsh

ake

Page 74: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Your Users Today Without CloudFront

• Users get connected to your infrastructure directly

• Every user is a new connection

• More users = More TCP connections

• Not leveraging keep-alive connections

Page 75: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Today Without CloudFront

Region

Page 76: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Without Keep Alive Connections

• Puts load on your web-servers: Memory/CPU

Page 77: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Without Keep Alive Connections

• Load on your web-server increases the

Time to First Byte

Page 78: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

• Help you avoid additional connections

• Fewer handshakes

• Improve TCP connection time

Keep-Alive Connections

Page 79: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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 Keep-Alive Connections

• Users get connected to CloudFront

• CloudFront opens keep-alive connection back to your web-tier

• CloudFront keeps the connection open

• Next request uses the existing keep-alive connection(s)

Page 80: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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 Keep-Alive Connections

• More users More TCP connections

• Improve response time due to fewer TCP hand

shakes

• Offload your web-tier’s CPU/Memory

Page 81: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Region

Keep-Alive

Page 82: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Test CPU Util. %

Without CloudFront 20%

With CloudFront 6%

Page 83: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

How To Improve Content Download Time?

Content Download

Index.jsp

Page 84: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

With Amazon CloudFront

TCP/IP Slow Start Optimization

Page 85: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

TCP Slow Start

• Need to control the amount of data exchanged between two hosts

• Slow-start to avoid overwhelming the Internet

Page 86: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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 optimize slow-start

• Slow start impacts new connections, not the existing

ones

• CloudFront uses existing connections users can skip

slow-start

Slow Start Optimization With CloudFront

Page 87: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

How To Optimize My SSL Connections?

Index.jsp

Page 88: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

With Amazon CloudFront

SSL Termination

Page 89: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

SSL Optimization With CloudFront

• CloudFront has the ability to support SSL traffic

• Use a CloudFront cert or bring your own

• SSL traffic gets terminated at the closest CloudFront edge

location

Page 90: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

SSL Optimization Patterns With CloudFront

Two Optimization Patterns:

1. Half Bridge SSL termination

2. Full Bridge SSL termination

Page 91: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Half Bridge SSL termination

Client Gets Connected To CloudFront

HTTPs

Page 92: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Half Bridge SSL termination

CloudFront Connects to Origin Via HTTP

HTTPs HTTP

Page 93: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

SSL Optimization With CloudFront

Region

HTTP

Page 94: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Half Bridge SSL Termination Benefits

• Encrypted channel between user and CloudFront

• Termination of SSL closer to the user

HTTPs HTTP

Page 95: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Half Bridge SSL Termination Benefits

• Better performance by leveraging HTTP connections to origin

• Origin offload by terminating SSL at CloudFront

HTTP

Page 96: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Half Bridge SSL Termination Benefits

• Taking advantage of CloudFront keep-alive connections

• All TCP/IP optimizations apply

Keep

Alive

Page 97: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Full Bridge SSL Termination

Client Gets Connected To CloudFront Via HTTPs

HTTPs

Page 98: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Full Bridge SSL Termination

CloudFront Connects to Origin Via HTTPs

HTTPs HTTPs

Page 99: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

SSL Optimization With CloudFront

Region

HTTPs

Page 100: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Full Bridge SSL Termination Benefits

• End-to-end encrypted channel

• Termination of SSL closer to the user

HTTPs HTTPS

Page 101: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Half Bridge SSL Termination Benefits

• Taking advantage of CloudFront keep-alive connections

• All TCP/IP optimizations apply

Keep

Alive

Page 102: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

How To Optimize PUT/POST?

Index.jsp

Page 103: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

With Amazon CloudFront

PUT/POST Verb Optimization

Page 104: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

PUT/POST Optimization With CloudFront

• CloudFront supports upload verbs: PUT, POST,

DELETE, OPTIONS, PATCH

• Data won’t get cached

• CloudFront proxies data to origin

Page 105: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

PUT/POST Optimization With CloudFront

• Dynamic content optimizations apply:

• Keep-alive connections

• TCP slow start optimization

• Close proximity connection termination

Page 106: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

PUT/POST Optimization With CloudFront

Optimizing form POSTs

Optimizing AJAX POST requests

Optimizing content upload

• Uploading to S3

Page 107: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

After CloudFront Dynamic Content

Optimization = 555ms

Page 108: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

. Sec

Page 109: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

How To Improve Content Download Time

Even More?

Content Download

Index.jsp

Page 110: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

With Amazon Route53

Latency Based Routing

Page 111: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Latency Based Routing (LBR)

Run multiple stacks of your application in

different EC2 regions around the world

Create LBR records using the Route 53 API

or Console

• Tag each destination end-point to the EC2

region that it’s in

• End-points can either be EC2 instances,

Elastic IPs or ELBs

111

Page 112: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Latency Based Routing (LBR)

Route 53 will route end users to the

end-point that provides the lowest

latency

112

Page 113: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

LBR Benefits

Better performance than running in a single region

Improved reliability relative to running in a single region

Easier implementation than traditional DNS solutions

Much lower prices than traditional DNS solutions

113

Page 114: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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 And Route53

Use CloudFront for dynamic content acceleration

Host your origin at multiple AWS locations (or

datacenters)

• US

• Europe

Page 115: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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 And Route53

Create DNS records in Route53 for each location

Let Route 53 do the magic

Page 116: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Route 53 Latency Based Routing

Route 53 measures the latency between CloudFront and

all configured origins

R53 resolves origin’s hostname to the closest location

Reduce content download time

Content Download

Index.jsp

Page 117: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Lower Latency With CloudFront and Route53

Page 118: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Lower Latency With CloudFront and Route53

Page 119: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Lower Latency With CloudFront and Route53

Page 120: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Lower Latency With CloudFront and Route53

Page 121: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Lower Latency With CloudFront and Route53

Page 122: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Lower Latency With CloudFront and Route53

Page 123: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Lower Latency With CloudFront and Route53

Page 124: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Page 125: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Page 126: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Page 127: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Page 128: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Page 129: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Page 130: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Page 131: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Page 132: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Page 133: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

To Summarize…

• Cache Everything You Can – Static and Re-Usable Content

• CloudFront can help speed-up your Dynamic Content, including

uploads

• SSL Termination at the edge helps offload origin infrastructure

• Route 53 Latency Based Routing to improve performance further

• CloudFront is easy-to-use and pricing for Static and Dynamic

content is the SAME!

Page 134: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Customer Story: Low TTLs

Page 135: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Customer Story: Query Strings

Page 136: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Customer Story: Cookies

Page 137: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Customer Story: POST/PUT

“We are excited to use CloudFront's new POST,

PUT, PATCH, and DELETE capabilities to

accelerate our RESTful APIs on Amazon EC2. With

these new HTTP methods we can now take

advantage of CloudFront’s global footprint and

optimized connections back to our origin servers in

AWS. Routing our customers’ API requests via a

CloudFront edge location near them will help

improve their experience by minimizing packet loss

and upload latency. This will help provide a

streamlined experience for our customers.”

- Ilan Rabinovitch, Tech Lead, Site Reliability Engineering

Page 138: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.

Customer Story: Custom SSL

Page 139: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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 re:Invent (November 12-15, 2013)

ARC309 Dynamic Content Acceleration - Lightning Fast

Web Apps with Amazon CloudFront and Amazon Route53

MED305 On-demand and Live Streaming with Amazon

CloudFront in the Post-PC World

SVC203 Cache is King – Scale Your Application while

Improving Performance and Lowering Costs

Page 140: AWS Webcast - Using Amazon CloudFront-Accelerate Your Static, Dynamic, Interactive Content

© 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.