aws summit amsterdam - thierry schellenbach founder/ fashiolista

15
AWS experience

Upload: thierry-schellenbach

Post on 27-Jun-2015

355 views

Category:

Internet


2 download

DESCRIPTION

A short presentation about our experiences with AWS. It details our initial challenges with stability, costs and scalability and explains how we've overcome those hurdles. The Android example shows how Fashiolista was able to handle 5 times the normals requests by autoscaling its web, task and image resizing clusters. The most important benefits for us using AWS are: - Close to zero downtime - Low costs - Flexibility to rearrange our architecture - No upfront costs - Sysadmin is largely automated - Focus on product

TRANSCRIPT

Page 1: AWS Summit Amsterdam - Thierry Schellenbach Founder/ Fashiolista

AWS experience

Page 2: AWS Summit Amsterdam - Thierry Schellenbach Founder/ Fashiolista

About Me

• Thierry Schellenbach• Founder Fashiolista• Github/tschellenbach• Github/Feedly & Django Facebook

• Blog: mellowmorning.com• @tschellenbach

Page 3: AWS Summit Amsterdam - Thierry Schellenbach Founder/ Fashiolista

Launched Fashiolista at TNW

Got a few hundred users

And went back to work

Page 4: AWS Summit Amsterdam - Thierry Schellenbach Founder/ Fashiolista

Brazil?!

• Blogs• Twitter• Capricho

• 2nd largest fashion community

Page 5: AWS Summit Amsterdam - Thierry Schellenbach Founder/ Fashiolista

Global Fashion Discovery

Page 6: AWS Summit Amsterdam - Thierry Schellenbach Founder/ Fashiolista
Page 7: AWS Summit Amsterdam - Thierry Schellenbach Founder/ Fashiolista
Page 8: AWS Summit Amsterdam - Thierry Schellenbach Founder/ Fashiolista

Challenges/ Why AWS

1. Rapid growth, colocation == pain

2. Focus on product3. Easily test new

infrastructure4. Handle peak load5. Replace first, debug

later

Page 9: AWS Summit Amsterdam - Thierry Schellenbach Founder/ Fashiolista

Growing pains

1. Stability issues

2. High costs (pre 12K, post 23K, now 9K),

3. Scaling challenges

Page 10: AWS Summit Amsterdam - Thierry Schellenbach Founder/ Fashiolista

Fixes for stability

1. Everything is code1. Cloud formation2. Puppet3. Fabric, BOTO, Snaptastic

2. Auto scaling groups for everything3. Deploy in minutes (tricky while auto scaling)

Page 11: AWS Summit Amsterdam - Thierry Schellenbach Founder/ Fashiolista

Keeping costs down

• Tag those instances!• Manage EBS volumes

properly(Snaptastic)

• Spot instances (lower auto scaling thresholds)

• S3 expiration policies

Page 12: AWS Summit Amsterdam - Thierry Schellenbach Founder/ Fashiolista

Scalability

1. Cassandra in the cloud(see high scalability post,bit.ly/1krex39)

2. Scalable newsfeedsGithub.com/tschellenbach/Feedly

3. Cassandra backup to S3Github.com/tbarbugli/cassandra_snapshotter

Page 13: AWS Summit Amsterdam - Thierry Schellenbach Founder/ Fashiolista

Android Example

Featured by Google• Requests/s times 5• Auto scaling kicked in

– Web 4 -> 12– Task workers 5 -> 15– Image resizing 2 -> 15

• No downtime, no missed sleep, happy users

Page 14: AWS Summit Amsterdam - Thierry Schellenbach Founder/ Fashiolista

Conclude

• Close to zero downtime• Costs are low at 9K monthly (2 million users)• Flexibility to rearrange architecture• No upfront costs• Sysadmin is largely automated• Focus on product

Page 15: AWS Summit Amsterdam - Thierry Schellenbach Founder/ Fashiolista

Get in touch!

[email protected]@tschellenbach

Github.com/tschellenbach/SnaptasticGithub.com/tschellenbach/FeedlyGithub.com/tbarbugli/cassandra_snapshotter