Indie DevOps - Introduction (Part 1)
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).
Isn't Dokku a substitute for Kubernetes and therefore not a tool to manage it?
Thanks, almost. I'm looking forward to part 3. I am still not sure if I can make the automated builds without downtime with Dokku alone.
Dokku supports zero-downtime deployments both with and without Kubernetes automatically! I'll try to have part 3 and 4 out in a few days!
Comments (4)