Post hidden from Hashnode
Posts can be hidden from Hashnode network for various reasons. Contact the moderators for more details.
Indie DevOps - Introduction (Part 1)
We are now hosting everything on render.com as it has pretty much the same feature set as what we are building for just a tad bit more $$$. The best advice we can give is to spend as much time as you can on the product itself even if it costs a bit more.
Welcome this multi-part series on how we deploy and scale our applications on a tight budget while remaining stable! This series will be broken up into multiple parts, describing how we host each and every part of our stack. We'll try to update this post with some basic statistics so you have an idea of how much it costs, how many requests it is able to serve, and what services we use before you dig in deeper.
This guide is mostly meant for solo developers or small start-ups that are looking to deploy their app in a way that can:
- Be set up in a single afternoon
- Deploy easily via CI
- Automatically manage SSL certs, nginx, etc
- Have 99% of the configuration done automatically for you
- Not cost too much
- Automatically scale with increased traffic (via Kubernetes)
Series
- Introduction
- Storing your data
- Deploying your applications
- Scaling with Kubernetes
Cost Breakdown
Total cost: $21 per month, or $56 per month with Kubernetes and autoscaling
Basic Setup
- DigitalOcean main server - $10
- DigitalOcean storage server - $5
- DigitalOcean Volume for storage server - $1 (will increase over time)
- DigitalOcean Spaces for backups - $5
- Netlify for our landing pages - Free
- Cloudflare for CDN - Free
With Kubernetes and Autoscaling
- DigitalOcean Container Registry - $5
- DigitalOcean Kubernetes (with 2 nodes) - $20
- DigitalOcean Load Balancer - $10
Services/Tools
Currently, Dokku is the only DevOps software we use. It:
- Deploys our apps
- Manages and backs up our databases
- Provisions SSL certs
- Sets up and deploys to Kubernetes
- and much more
Data
Requests per month: ~100k
Only one of our apps is currently in production: ctrltab. We also use this setup for some of our upcoming products, namely caddie (in development).