Scaling
Buy more time by scaling your infrastructure
🚧 This page is still under construction.
Infrastructure
If your product starts to get a lot of traffic then you may need to scale your infrastructure…
Our current deployment platform (Vercel) has been great for us so far, but bills can get expensive when we scale.
The next step is to move to your own infrastructure.
Don’t even think about this until you have a serious amount of traffic.
Self-Hosting Options
If you want to scale while maintaining cost efficiency, self-hosting is the way to go.
What does that mean?
- You deploy your own web server, database server, configure your own SSL certificates, application proxy, etc.
- You’ll be responsible for the hardware and infrastructure.
- You’ll be responsible for the maintenance and updates.
- You’ll be responsible for the security.
Fear not, we know some foolproof ways to do this:
-
Bare Metal VPS Setup ($200/month)
- Using providers like Hetzner, you can get:
- 80 dedicated cores
- 128GB RAM
- 2TB NVMe SSD
- Capable of handling up to 1M monthly active users
- Detailed guide on Hetzner self-hosting setup
- Using providers like Hetzner, you can get:
-
Global Bare Metal Servers
- Latitude.sh - Enterprise-grade infrastructure with:
- 23 global edge locations across 5 continents
- API, CLI, and SDKs for automation
- Terraform provider for Infrastructure as Code
- DDoS protection included
- Ideal for AI/ML workloads and high-performance computing
- Latitude.sh - Enterprise-grade infrastructure with:
-
Containerized Deployment Options
-
Self-Hosted Database Solutions
- Self-hosted Supabase ($3/month) - Complete guide to self-host Supabase on a budget:
- Full Postgres database functionality
- Real-time subscriptions
- Auto-generated APIs
- Dashboard interface
- Self-hosted Supabase ($3/month) - Complete guide to self-host Supabase on a budget:
Docker Log Management
To prevent Docker logs from consuming excessive disk space, configure log rotation limits:
- Create/edit
/etc/docker/daemon.json
:
- Restart Docker daemon:
- Recreate containers to apply new config:
The “local” log driver is optimized for disk usage and performance with automatic size limits and rotation, preventing logs from consuming your entire disk space.
Professional Support Services
If you need additional expertise:
- CTO-as-a-Service - Technical leadership and guidance
- CFO-as-a-Service - Financial planning and management
Self-hosting can offer significant cost savings compared to cloud services, but requires more hands-on management and infrastructure knowledge.