SlideShare une entreprise Scribd logo
1  sur  44
Jeremy Edberg

            Text




    Operations Manager
       reddit.com
http://www.revolutioncloud.com
What is reddit?
• reddit is an online community




         http://www.revolutioncloud.com
Conde Nast owns reddit




    http://www.revolutioncloud.com
Conde Nast websites




   http://www.revolutioncloud.com
Timeline
April 2006 -- S3 for logos


                 September 2007 -- S3 for thumbnails


November 2008 -- EC2 for batch processing


                       May 2009 -- EC2 for entire site
            http://www.revolutioncloud.com
What led us to AWS
      (part 1)
• Needed an easy way to distribute and
  upload our logo




        http://www.revolutioncloud.com
http://www.revolutioncloud.com
What led us to AWS
      (part 2)
• Thumbnails!




        http://www.revolutioncloud.com
What led us to AWS
      (part 3)
• Didn’t want to rent another cabinet




         http://www.revolutioncloud.com
What led us to AWS
      (part 3)
• Didn’t want to rent another cabinet
• Didn’t want to buy more servers




         http://www.revolutioncloud.com
What led us to AWS
      (part 3)
• Didn’t want to rent another cabinet
• Didn’t want to buy more servers

                      New Servers


     New Servers




          http://www.revolutioncloud.com
Imaging and Racking Servers Is
  A (Sometimes Fun) Chore




      http://www.revolutioncloud.com
EC2 for Overflow
• Used openvpn to create a secure link to
  our datacenter for batch processing




        http://www.revolutioncloud.com
Moving to EC2
• Started by migrating all data




         http://www.revolutioncloud.com
Moving to EC2
• Started by migrating all data
• Got a complete stack running on EC2




        http://www.revolutioncloud.com
Moving to EC2
• Started by migrating all data
• Got a complete stack running on EC2
• Long Saturday night finishing the migration
  and “forklifting” the last bits of data




         http://www.revolutioncloud.com
Architecture




http://www.revolutioncloud.com
Stats
• 190 Virtual CPUs
• 338GB of RAM
• 9TB of Elastic Block Storage
• 2TB of S3 Storage
• 6.5 TB of Data Out / mo
• 2TB of Data In / mo
• 150M+ Pageviews and just one sysadmin!
        http://www.revolutioncloud.com
Benefits
Data Center (per month)                EC2 (per month)

  Servers:       $6K                Servers:                $13K
  Cabinet (x3): $15K                Storage:                $1.5K
  Bandwidth: $2.5K                  Bandwidth:              $1.1K
  Support:       N/A                Support:                $1.2K

  Total:          $23.5K            Total:                $16.8K

                                         29% Cheaper!
                             Based on Amazon public pricing, reddit open source
      Estimated Pricing          code, and public configuration information



              http://www.revolutioncloud.com
Benefits
• Don’t have to procure servers anymore




        http://www.revolutioncloud.com
Benefits
• Don’t have to procure servers anymore
• No racking or imaging servers anymore




        http://www.revolutioncloud.com
Benefits
• Don’t have to procure servers anymore
• No racking or imaging servers anymore
• Time to market is faster



        http://www.revolutioncloud.com
Benefits
• Don’t have to procure servers anymore
• No racking or imaging servers anymore
• Time to market is faster
• Multiple physical locations with AZs


        http://www.revolutioncloud.com
Benefits
• Don’t have to procure servers anymore
• No racking or imaging servers anymore
• Time to market is faster
• Multiple physical locations with AZs
• Get “free” upgrades

        http://www.revolutioncloud.com
Benefits
• Don’t have to procure servers anymore
• No racking or imaging servers anymore
• Time to market is faster
• Multiple physical locations with AZs
• Get “free” upgrades
• Elasticity!
        http://www.revolutioncloud.com
Pain Points




http://www.revolutioncloud.com
Pain Points




http://www.revolutioncloud.com
Pain Points

Higher Latency


Workaround: Fewer network calls, ask for
more data at a time.



       http://www.revolutioncloud.com
Pain Points

EBS sometimes slows down a bit


Workaround: Use caching and replication
with read slaves to avoid relying on a single
disk.



        http://www.revolutioncloud.com
Pain Points

Instances go away sometimes


Workaround: Avoid single points of failure
and make sure your servers have automated
configuration.



       http://www.revolutioncloud.com
Pain Points
Fixing these issues made
our app more reliable and
highly available. We are
better off than when we
started.
    http://www.revolutioncloud.com
Best Practices
• Keep data in multiple Availability Zones




         http://www.revolutioncloud.com
Best Practices
• Keep data in multiple Availability Zones
• EBS for all persistent data




         http://www.revolutioncloud.com
Best Practices
• Keep data in multiple Availability Zones
• EBS for all persistent data
• Snapshots



         http://www.revolutioncloud.com
Best Practices
• Keep data in multiple Availability Zones
• EBS for all persistent data
• Snapshots
• No secret keys on the instance


         http://www.revolutioncloud.com
Best Practices
• Keep data in multiple Availability Zones
• EBS for all persistent data
• Snapshots
• No secret keys on the instance
• Different functions in different Security
  Groups


         http://www.revolutioncloud.com
Best Practices

• A full stack in each zone



         http://www.revolutioncloud.com
Best Practices

• A full stack in each zone
• All data stored as key-value pairs


         http://www.revolutioncloud.com
Best Practices

• A full stack in each zone
• All data stored as key-value pairs
• More use of queues

         http://www.revolutioncloud.com
Conclusion
• AWS saves us a lot of money




        http://www.revolutioncloud.com
Conclusion
• AWS saves us a lot of money
• AWS gives us a lot of flexibility




         http://www.revolutioncloud.com
Conclusion
• AWS saves us a lot of money
• AWS gives us a lot of flexibility
• Moving to AWS has forced us to build
  better applications and follow better IT
  practices.




        http://www.revolutioncloud.com
Conclusion
• AWS saves us a lot of money
• AWS gives us a lot of flexibility
• Moving to AWS has forced us to build
  better applications and follow better IT
  practices.
• http://code.reddit.com
         http://www.revolutioncloud.com
Revolution: Cloud


To learn more, visit
http://www.revolutioncloud.com




        http://www.revolutioncloud.com

Contenu connexe

En vedette

AWS Customer Presentation - MGM
AWS Customer Presentation - MGM AWS Customer Presentation - MGM
AWS Customer Presentation - MGM
Amazon Web Services
 
AWS Customer Presentation - family builder
AWS Customer Presentation -  family builderAWS Customer Presentation -  family builder
AWS Customer Presentation - family builder
Amazon Web Services
 
AWS Customer Presentation - Melodeo
AWS Customer Presentation - MelodeoAWS Customer Presentation - Melodeo
AWS Customer Presentation - Melodeo
Amazon Web Services
 
AWS Architecting for the Cloud - matt tavis
AWS Architecting for the Cloud - matt tavisAWS Architecting for the Cloud - matt tavis
AWS Architecting for the Cloud - matt tavis
Amazon Web Services
 
Geocloud blue raster web mapping cloud deployment lessons from the field 201...
Geocloud blue raster web mapping cloud deployment  lessons from the field 201...Geocloud blue raster web mapping cloud deployment  lessons from the field 201...
Geocloud blue raster web mapping cloud deployment lessons from the field 201...
Amazon Web Services
 

En vedette (19)

AWS Customer Presentation - MGM
AWS Customer Presentation - MGM AWS Customer Presentation - MGM
AWS Customer Presentation - MGM
 
Rebate Networks Gmbh - AWS Customer Presentation
Rebate Networks Gmbh - AWS Customer PresentationRebate Networks Gmbh - AWS Customer Presentation
Rebate Networks Gmbh - AWS Customer Presentation
 
AWS Customer Presentation - family builder
AWS Customer Presentation -  family builderAWS Customer Presentation -  family builder
AWS Customer Presentation - family builder
 
AWS Customer Presentation - Zoomii
AWS Customer Presentation - Zoomii AWS Customer Presentation - Zoomii
AWS Customer Presentation - Zoomii
 
AWS Customer Presentation - Melodeo
AWS Customer Presentation - MelodeoAWS Customer Presentation - Melodeo
AWS Customer Presentation - Melodeo
 
AWS Architecting for the Cloud - matt tavis
AWS Architecting for the Cloud - matt tavisAWS Architecting for the Cloud - matt tavis
AWS Architecting for the Cloud - matt tavis
 
Geocloud blue raster web mapping cloud deployment lessons from the field 201...
Geocloud blue raster web mapping cloud deployment  lessons from the field 201...Geocloud blue raster web mapping cloud deployment  lessons from the field 201...
Geocloud blue raster web mapping cloud deployment lessons from the field 201...
 
AWS Customer Presenatation - SlingMedia uses AWS
AWS Customer Presenatation - SlingMedia uses AWSAWS Customer Presenatation - SlingMedia uses AWS
AWS Customer Presenatation - SlingMedia uses AWS
 
AWS Customer Presentation - Skifta
AWS Customer Presentation - SkiftaAWS Customer Presentation - Skifta
AWS Customer Presentation - Skifta
 
AWS Customer Presentation - Zynga
AWS Customer Presentation - ZyngaAWS Customer Presentation - Zynga
AWS Customer Presentation - Zynga
 
AWS Tech Summit - Berlin 2011 - Running Java Applications on AWS
AWS Tech Summit - Berlin 2011 - Running Java Applications on AWSAWS Tech Summit - Berlin 2011 - Running Java Applications on AWS
AWS Tech Summit - Berlin 2011 - Running Java Applications on AWS
 
Building a PaaS with Docker and AWS
Building a PaaS with Docker and AWSBuilding a PaaS with Docker and AWS
Building a PaaS with Docker and AWS
 
Databases in the Cloud
Databases in the CloudDatabases in the Cloud
Databases in the Cloud
 
AWS Elastic Beanstalk
AWS Elastic BeanstalkAWS Elastic Beanstalk
AWS Elastic Beanstalk
 
Werner Vogels
Werner Vogels Werner Vogels
Werner Vogels
 
(MBL313) NEW! AWS IoT: Understanding Hardware Kits, SDKs, & Protocols
(MBL313) NEW! AWS IoT: Understanding Hardware Kits, SDKs, & Protocols(MBL313) NEW! AWS IoT: Understanding Hardware Kits, SDKs, & Protocols
(MBL313) NEW! AWS IoT: Understanding Hardware Kits, SDKs, & Protocols
 
AWS Customer Presentation - Heavy.com
AWS Customer Presentation - Heavy.com AWS Customer Presentation - Heavy.com
AWS Customer Presentation - Heavy.com
 
STG201 Understanding AWS Storage Options - - AWS re: Invent 2012
STG201 Understanding AWS Storage Options - - AWS re: Invent 2012STG201 Understanding AWS Storage Options - - AWS re: Invent 2012
STG201 Understanding AWS Storage Options - - AWS re: Invent 2012
 
Big Data & The Cloud
Big Data & The CloudBig Data & The Cloud
Big Data & The Cloud
 

Plus de Amazon Web Services

Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
Amazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
Amazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
Amazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
Amazon Web Services
 

Plus de Amazon Web Services (20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 

Dernier

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Dernier (20)

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 

AWS Customer Presentation - Reddit.com

  • 1. Jeremy Edberg Text Operations Manager reddit.com http://www.revolutioncloud.com
  • 2. What is reddit? • reddit is an online community http://www.revolutioncloud.com
  • 3. Conde Nast owns reddit http://www.revolutioncloud.com
  • 4. Conde Nast websites http://www.revolutioncloud.com
  • 5. Timeline April 2006 -- S3 for logos September 2007 -- S3 for thumbnails November 2008 -- EC2 for batch processing May 2009 -- EC2 for entire site http://www.revolutioncloud.com
  • 6. What led us to AWS (part 1) • Needed an easy way to distribute and upload our logo http://www.revolutioncloud.com
  • 8. What led us to AWS (part 2) • Thumbnails! http://www.revolutioncloud.com
  • 9. What led us to AWS (part 3) • Didn’t want to rent another cabinet http://www.revolutioncloud.com
  • 10. What led us to AWS (part 3) • Didn’t want to rent another cabinet • Didn’t want to buy more servers http://www.revolutioncloud.com
  • 11. What led us to AWS (part 3) • Didn’t want to rent another cabinet • Didn’t want to buy more servers New Servers New Servers http://www.revolutioncloud.com
  • 12. Imaging and Racking Servers Is A (Sometimes Fun) Chore http://www.revolutioncloud.com
  • 13. EC2 for Overflow • Used openvpn to create a secure link to our datacenter for batch processing http://www.revolutioncloud.com
  • 14. Moving to EC2 • Started by migrating all data http://www.revolutioncloud.com
  • 15. Moving to EC2 • Started by migrating all data • Got a complete stack running on EC2 http://www.revolutioncloud.com
  • 16. Moving to EC2 • Started by migrating all data • Got a complete stack running on EC2 • Long Saturday night finishing the migration and “forklifting” the last bits of data http://www.revolutioncloud.com
  • 18. Stats • 190 Virtual CPUs • 338GB of RAM • 9TB of Elastic Block Storage • 2TB of S3 Storage • 6.5 TB of Data Out / mo • 2TB of Data In / mo • 150M+ Pageviews and just one sysadmin! http://www.revolutioncloud.com
  • 19. Benefits Data Center (per month) EC2 (per month) Servers: $6K Servers: $13K Cabinet (x3): $15K Storage: $1.5K Bandwidth: $2.5K Bandwidth: $1.1K Support: N/A Support: $1.2K Total: $23.5K Total: $16.8K 29% Cheaper! Based on Amazon public pricing, reddit open source Estimated Pricing code, and public configuration information http://www.revolutioncloud.com
  • 20. Benefits • Don’t have to procure servers anymore http://www.revolutioncloud.com
  • 21. Benefits • Don’t have to procure servers anymore • No racking or imaging servers anymore http://www.revolutioncloud.com
  • 22. Benefits • Don’t have to procure servers anymore • No racking or imaging servers anymore • Time to market is faster http://www.revolutioncloud.com
  • 23. Benefits • Don’t have to procure servers anymore • No racking or imaging servers anymore • Time to market is faster • Multiple physical locations with AZs http://www.revolutioncloud.com
  • 24. Benefits • Don’t have to procure servers anymore • No racking or imaging servers anymore • Time to market is faster • Multiple physical locations with AZs • Get “free” upgrades http://www.revolutioncloud.com
  • 25. Benefits • Don’t have to procure servers anymore • No racking or imaging servers anymore • Time to market is faster • Multiple physical locations with AZs • Get “free” upgrades • Elasticity! http://www.revolutioncloud.com
  • 28. Pain Points Higher Latency Workaround: Fewer network calls, ask for more data at a time. http://www.revolutioncloud.com
  • 29. Pain Points EBS sometimes slows down a bit Workaround: Use caching and replication with read slaves to avoid relying on a single disk. http://www.revolutioncloud.com
  • 30. Pain Points Instances go away sometimes Workaround: Avoid single points of failure and make sure your servers have automated configuration. http://www.revolutioncloud.com
  • 31. Pain Points Fixing these issues made our app more reliable and highly available. We are better off than when we started. http://www.revolutioncloud.com
  • 32. Best Practices • Keep data in multiple Availability Zones http://www.revolutioncloud.com
  • 33. Best Practices • Keep data in multiple Availability Zones • EBS for all persistent data http://www.revolutioncloud.com
  • 34. Best Practices • Keep data in multiple Availability Zones • EBS for all persistent data • Snapshots http://www.revolutioncloud.com
  • 35. Best Practices • Keep data in multiple Availability Zones • EBS for all persistent data • Snapshots • No secret keys on the instance http://www.revolutioncloud.com
  • 36. Best Practices • Keep data in multiple Availability Zones • EBS for all persistent data • Snapshots • No secret keys on the instance • Different functions in different Security Groups http://www.revolutioncloud.com
  • 37. Best Practices • A full stack in each zone http://www.revolutioncloud.com
  • 38. Best Practices • A full stack in each zone • All data stored as key-value pairs http://www.revolutioncloud.com
  • 39. Best Practices • A full stack in each zone • All data stored as key-value pairs • More use of queues http://www.revolutioncloud.com
  • 40. Conclusion • AWS saves us a lot of money http://www.revolutioncloud.com
  • 41. Conclusion • AWS saves us a lot of money • AWS gives us a lot of flexibility http://www.revolutioncloud.com
  • 42. Conclusion • AWS saves us a lot of money • AWS gives us a lot of flexibility • Moving to AWS has forced us to build better applications and follow better IT practices. http://www.revolutioncloud.com
  • 43. Conclusion • AWS saves us a lot of money • AWS gives us a lot of flexibility • Moving to AWS has forced us to build better applications and follow better IT practices. • http://code.reddit.com http://www.revolutioncloud.com
  • 44. Revolution: Cloud To learn more, visit http://www.revolutioncloud.com http://www.revolutioncloud.com

Notes de l'éditeur

  1. community where people come together share and discuss interesting things on the internet such as links to other stuff or their own content.
  2. reddit is a subsidiary of Conde Nast. They are a multi-billion doallar media conglomorate that owns TV, newspapers, and some of the biggest brand names in publishing, such as Vogue, GQ, etc
  3. They also have a lot of webistes (other than reddit). currently doing an EC2 proof of concept with Vogue UK and wired.com is also using EC2 for some of their site functionality. But reddit is by far the biggest user of EC2 in Conde Nast.
  4. Been AWS user since almost the begining
  5. When we started, we had a custom logo almost every day.
  6. Unfortunately, allowing the designer SVN access was untenable. So we signed up for S3, and everything was great!
  7. Now have over 20 million items in a single s3 bucket.
  8. This is a graph of actual costs vs. what we could have spent on EC2. you can see the spike every time we had to get a new cabinet full of servers
  9. So we had to make a decision
  10. This was before Amazon offered the Virtual Private Cloud service. Ran like this for about 7 months, slowing adding new machines as necessary. This went so well we decided to move our whole site to EC2
  11. started by migrating all the data that could be done ahead of time set up replication to keep the data up to date
  12. multiple zones beta/staging is elastic app servers are elastic
  13. What our datacenter would have cost vs. what we pay now 29% cheaper!
  14. Time to market is faster because I no longer have to wait for servers or set them up. i can get capacity when i need it
  15. As Amazon upgrades their hardware, I can move up to better stuff.
  16. Don’t have to pay for capacity we don’t need. I can shut down servers at night, or if a product doesn’t take off
  17. But moving to EC2 wasn’t all roses
  18. Virtualized hardware just doesn’t get sub-millisecond response times. We had to rethink how we used memcached, making less calls for more data at a time
  19. Due to the redundant and network based nature, sometimes the underlying drive has to remirror or the network may be momentarily unavailable. This can be avoided by having read slaves and caching It forced me to add read slaves I should have had anyway
  20. It is a new paradigm you have to get used to. Ideally the machine can be told to boot and then be ready with no user intervention.
  21. I can’t stress this enough.
  22. Eric Hammond’s runurl to trigger a push of the keys to only authorized hosts.
  23. get a whole application stack in at least 2 zones
  24. aka. nosql. We’re mostly there, just a few more bits
  25. A more functional style of programming is generally more reliable in exchange for eventual consistancy
  26. We are open source, so go to code.reddit.com to see our source.
  27. This the website of our book which we hope to start filling with lots of useful stuff soon. stay tuned. thank you.