(ARC309) Building and Scaling Amazon Cloud Drive to Millions of Users | AWS re:Invent 2014

20

description

Learn from the Amazon Cloud Drive team how Amazon Cloud Drive services are built on top of AWS core services using Amazon S3, Amazon DynamoDB, Amazon EC2, Amazon SQS, Amazon Kinesis, and Amazon CloudSearch. This session will cover design and implementation aspects of large-scale data uploads, metadata storage and query, and consistent and fault-tolerant services on top of the AWS stack. The session will provide guidance and best practices about how and when to leverage and integrate AWS infrastructure and managed services for scalable solutions. This session will also cover how Cloud Drive services teams innovated to attain high throughputs.

Transcript of (ARC309) Building and Scaling Amazon Cloud Drive to Millions of Users | AWS re:Invent 2014

Page 1: (ARC309) Building and Scaling Amazon Cloud Drive to Millions of Users | AWS re:Invent 2014
Page 2: (ARC309) Building and Scaling Amazon Cloud Drive to Millions of Users | AWS re:Invent 2014
Page 3: (ARC309) Building and Scaling Amazon Cloud Drive to Millions of Users | AWS re:Invent 2014

amazon.com/clouddrive

Page 4: (ARC309) Building and Scaling Amazon Cloud Drive to Millions of Users | AWS re:Invent 2014
Page 5: (ARC309) Building and Scaling Amazon Cloud Drive to Millions of Users | AWS re:Invent 2014

Amazon S3 Amazon CloudFront

Amazon DynamoDB Amazon CloudSearch

Amazon SQS Elastic Transcoder

ElastiCache

Amazon Route 53

Amazon Kinesis Amazon EC2

Amazon EMR AWS Data PipelineAmazon RedshiftAmazon

CloudWatch

Elastic Load

Balancing

Content Storage, Delivery

& Sharing

Metadata Storage,

Indexing & Querying

Content Ingestion &

Transformation

Analytics, Monitoring &

ManagementAWS CloudFormation

Page 6: (ARC309) Building and Scaling Amazon Cloud Drive to Millions of Users | AWS re:Invent 2014

Amazon Cloud Drive Services

Indexing &

Search

AnalyticsAsynchronous

PipelineMetadata

Store

Content

Repository

Apps Route 53Users

ELBCloudFront

Elastic

Cache Kinesis

StreamMessage

Queue EMR RedshiftCloud

Search

EC2

Management

Data

Pipelines

Cloud

WatchCloud

Formation

S3

Page 7: (ARC309) Building and Scaling Amazon Cloud Drive to Millions of Users | AWS re:Invent 2014
Page 8: (ARC309) Building and Scaling Amazon Cloud Drive to Millions of Users | AWS re:Invent 2014

λ

Page 9: (ARC309) Building and Scaling Amazon Cloud Drive to Millions of Users | AWS re:Invent 2014

– Amazon S3

– DynamoDB

– Amazon CloudSearch

– Amazon Redshift

– Amazon Kinesis

– Amazon SQS

Page 10: (ARC309) Building and Scaling Amazon Cloud Drive to Millions of Users | AWS re:Invent 2014

Users

Cloud Drive Service

Amazon Kinesis

DynamoDB

CloudSearch

publish

(pk, v)

validate

(pk, v)

Resilient workflow SQS

write

(pk, v)

Merge

recent updates

(cid, q)

query results

(cid, q)

CloudSearch

update batch

batch

Backup,

Recovery

Notifications

Per-customer

processing

Page 11: (ARC309) Building and Scaling Amazon Cloud Drive to Millions of Users | AWS re:Invent 2014

HashKey GSI fields Additional Attributes

CustomerID:

NodeID

CID lastModified kind parents revision name status content

A08072:8TLrd A08072 1385438973435 FILE [Cgppb,…] 6 p1.jpg AVAILABLE size,MD5…

A08072:Cgppb A08072 1385449492345 ALBUM [NULL] 2 Rainier AVAILABLE -

Page 12: (ARC309) Building and Scaling Amazon Cloud Drive to Millions of Users | AWS re:Invent 2014
Page 13: (ARC309) Building and Scaling Amazon Cloud Drive to Millions of Users | AWS re:Invent 2014
Page 14: (ARC309) Building and Scaling Amazon Cloud Drive to Millions of Users | AWS re:Invent 2014
Page 15: (ARC309) Building and Scaling Amazon Cloud Drive to Millions of Users | AWS re:Invent 2014
Page 16: (ARC309) Building and Scaling Amazon Cloud Drive to Millions of Users | AWS re:Invent 2014
Page 17: (ARC309) Building and Scaling Amazon Cloud Drive to Millions of Users | AWS re:Invent 2014
Page 18: (ARC309) Building and Scaling Amazon Cloud Drive to Millions of Users | AWS re:Invent 2014

developer.amazon.com/public/apis/experience/cloud-drive

Page 19: (ARC309) Building and Scaling Amazon Cloud Drive to Millions of Users | AWS re:Invent 2014

amazon.com/clouddrive

amazon.com/clouddrive/primephotos

developer.amazon.com/public/apis/experience/cloud-drive

Page 20: (ARC309) Building and Scaling Amazon Cloud Drive to Millions of Users | AWS re:Invent 2014

Please give us your feedback on this session.

Complete session evaluations and earn re:Invent swag.

http://bit.ly/awsevals