The $20/Month Server Running Profitable SaaS Businesses
While startups burn through thousands a month on cloud bills, a quiet cohort of solo founders is pulling in six figures a year from a single VPS that costs less than a Netflix subscription. The indie hacker playbook of minimal infrastructure isn’t new, but in 2026, with AI development tools reshaping what one person can build, it’s getting harder to ignore.
What a $20 Stack Actually Looks Like
The setup is almost aggressively simple. One VPS from Hetzner or DigitalOcean running between $5 and $20 a month. SQLite or PostgreSQL for the database. Caddy or Nginx handling traffic. Cloudflare’s free tier for CDN and DDoS protection. Resend or AWS SES free tier for transactional email.
That’s it. And it works. Pieter Levels has been running Nomad List, RemoteOK, and a handful of other revenue-generating products on a single server with PHP and SQLite for years, publicly sharing annual revenue figures in the millions of dollars. His infrastructure costs sit below 1% of revenue.
Most SaaS Products Don’t Need the Cloud They’re Paying For
There’s a persistent overengineering problem in the startup world. Microservices. Kubernetes. Multi-region deployments. Teams reach for all of it before they’ve validated whether anyone wants their product.
The uncomfortable truth: most B2B SaaS tools see a few hundred concurrent users. A $10/month VPS handles that without breaking a sweat.
DHH made this point loudly in 2023 when he moved Basecamp off the cloud and onto owned hardware, cutting roughly $7 million per year in cloud costs. Basecamp is obviously a different scale than a solo operation, but the underlying logic is the same. If you’re honest about your actual traffic, the infrastructure you need is almost certainly smaller than what you’re paying for.
AI Rewrote the Solo Founder Equation
What’s changed in 2026 is speed. Building a full product — frontend, backend, payments, email — used to take a solo developer months. With AI coding assistants, founders in the indie hacker community are shipping MVPs in days to weeks.
The pattern keeps repeating: prototype fast with AI, deploy to minimal infrastructure sized for actual traffic, and worry about scaling only when scaling becomes a real problem. The old wisdom of “solve scale when you have scale” hits differently when you can go from idea to deployed product over a long weekend.
Where This Works (and Where It Doesn’t)
Not every SaaS fits in a $20 box. Real-time video processing, large-scale ML inference, and global multiplayer games still need serious infrastructure. That hasn’t changed.
But a surprisingly large category of profitable software thrives on minimal resources:
- B2B admin tools — CRMs, project management, invoicing
- API services — data transformation, webhook relay, monitoring
- Content platforms — newsletters, communities, directory sites
- Developer tools — linters, formatters, CI utilities
The common thread: predictable traffic, manageable data volumes, and enough revenue per user to make the economics work at small scale.
The Practical Stack, Line by Line
Here’s the sub-$20 stack that keeps surfacing across indie hacker forums and communities:
- Server: Hetzner CX22 (2 vCPU, 4GB RAM) — roughly $4/month
- Framework: Next.js, Rails, Laravel, or a single Go binary
- Database: SQLite for single-server setups, PostgreSQL if you prefer
- Deployment: git push with a shell script, or Kamal/Dokku
- CDN/Security: Cloudflare free tier
- Email: Resend, Loops, or SES
- Payments: Stripe (no additional infrastructure needed)
- Monitoring: BetterStack free tier or a simple health check script
Total monthly cost: hard to push past $20. Once revenue crosses $1,000 a month, you’re looking at margins above 95%.
Cloud giants are pouring billions into AI infrastructure arms races. Meanwhile, on the other end of the spectrum, a growing number of founders are quietly printing money with a VPS and a SQLite file. The assumption that technical complexity equals competitive advantage might be worth questioning.
Deepen your perspective
Comments
Loading comments...