27
Real-Time Web Analytics On Amazon Web Services @TheDeveloper Google Campus February 2013

AWS for Start-ups - Case Study - Go Squared

Embed Size (px)

DESCRIPTION

Customer Case Study - GoSquared, Geoff Wagstaff, Co-Founder & CTO

Citation preview

Page 1: AWS for Start-ups - Case Study - Go Squared

Real-Time Web AnalyticsOn

Amazon Web Services

@TheDeveloper

Google CampusFebruary 2013

Page 2: AWS for Start-ups - Case Study - Go Squared

Real-time web analytics

Page 3: AWS for Start-ups - Case Study - Go Squared

James GillCEO + Co-founder

Geoff WagstaffCTO + Co-founder

James TaylorDeveloper + Co-founder

Page 4: AWS for Start-ups - Case Study - Go Squared
Page 6: AWS for Start-ups - Case Study - Go Squared
Page 7: AWS for Start-ups - Case Study - Go Squared

In 2009, our Server melted.

Page 8: AWS for Start-ups - Case Study - Go Squared

Conventional Hosting

• Contractual lock-in. Fixed term subscription

• Laborious and slow to provision resources

• Restricted

• Dedicated, but not bespoke

• Boring

Page 9: AWS for Start-ups - Case Study - Go Squared

Business constraints

• Experimental technology

• Agility

• Low budget

• Inexperience

• High barrier to entry in market

Page 10: AWS for Start-ups - Case Study - Go Squared

GET TO THE CLOUD!!!11!!one!

Page 11: AWS for Start-ups - Case Study - Go Squared

Why AWS?

Diverse + growing range of services

EC2S3

CloudFront

CloudFormation

CloudWatch

RDS

Route53IAM

CloudSearch

ElasticBeanstalk

ElastiCache

DynamoDBSES

SNS

SQS Glacier

RedShift ElasticTranscoder

Data Pipeline

StorageGateway

VPC

SWF

Page 12: AWS for Start-ups - Case Study - Go Squared

Why AWS?

Flexible & Scalable

Page 13: AWS for Start-ups - Case Study - Go Squared

Why AWS?

Pay-as-you-use Pricing

Page 14: AWS for Start-ups - Case Study - Go Squared

Why AWS?

Platform agnostic

Page 15: AWS for Start-ups - Case Study - Go Squared

Why AWS?

Reputable

Page 16: AWS for Start-ups - Case Study - Go Squared

Challenges

• More moving parts

• Daunting. Requires new skills and role changes

• Architecting for cloud

• Deployment - resources, software, data

• Automation - scaling, failover, backup

Page 17: AWS for Start-ups - Case Study - Go Squared

Advantages

•Full control - freedom, bespoke

•Fosters good system design paradigms & avoids complacency

•Abundant tools, services, community + documentation

•Lowered barriers to entry: infrastructure for anyone

•Reduced time to market

Page 18: AWS for Start-ups - Case Study - Go Squared

Gap Year project: Trends

Page 20: AWS for Start-ups - Case Study - Go Squared

6 Team Members

Average age: 21

Page 21: AWS for Start-ups - Case Study - Go Squared

25,000 sites and counting

Page 22: AWS for Start-ups - Case Study - Go Squared

Traffic

10s Thousands

100s Thousands 100s Millions

99.9%

concurrent visitors pageviews/month

Requests/second Uptime

Page 23: AWS for Start-ups - Case Study - Go Squared

Our Stack (tidier)

Load Balancer

Reverse Proxy

Services

Data Stores

ELB

Redis, MongoDB,MySQL (RDS), EBS, S3

Service-oriented architecture:

Tiered, decoupled, load-balanced

clusters

Fault tolerance, failover, backups

Auto-scaling. Spot instances

Collectors, processing, API,

Traffic

AWS Services: EC2, S3, RDS, Route53, CloudWatch, SNS, IAM

Applications, Website

Page 24: AWS for Start-ups - Case Study - Go Squared

How we do...Monitoring

Ganglia

Graphite - http://graphite.wikidot.com/

ServerDensity

CloudWatch

PagerDuty

Page 25: AWS for Start-ups - Case Study - Go Squared

Best PracticesScale only when necessary

Decouple using APIs + messaging

Automate wisely

Monitor and log everything

Page 26: AWS for Start-ups - Case Study - Go Squared

Destroy Everything

Page 27: AWS for Start-ups - Case Study - Go Squared

Thanks!

Geoff Wagstaff

@TheDeveloper

https://engineering.gosquared.com