Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Move fast, don't break things: how we built a s...

Move fast, don't break things: how we built a solid tech infrastructure

Rico Sta. Cruz

August 20, 2015
Tweet

More Decks by Rico Sta. Cruz

Other Decks in Technology

Transcript

  1. Recently, our team discovered the best investment we ever made

    in our tech infrastructure. It solved so many problems, saves us a fortune in costs and made us infinitely scalable. This is the story of how we got there. Geeks on a Beach August 20, 2015
  2. Maybe you're wondering what's wrong with Capistrano. Doesn't it do

    the job? Yes, it does, and yes, it's great, but it's also terribly slow. https://infinum.co/the-capsized-eight/articles/faster-web-application-deployments-using-mina-instead-of-capistrano infinum.co “
  3. Database Spawn a PostgreSQL RDS instance Set up slave/master replication

    Servers Spawn a new Linux instance on EC2 Provision Provision a new server using Ansible Deployment Deploy your application using Capistrano Cache Set up Redis via AWS ElasticCache VPC Set up a VPC network Make the correct subnets inside it Set up security roles for subnet Storage Set up storage via S3 Make it available across the world via CDN …and so on Do you want to build a web app? I want to build a web app.
  4. Horizontally scalable Automatic scaling Fast deployments Create new sites easily

    Set up test environments (staging) Cheaper than PaaS’s (like Heroku)