The $5 Fly.io Stack — Deploying Django and Vue for Indie Founders
The $5 Fly.io Stack — Deploying Django and Vue for Indie Founders
Hosting on a Budget
When I started freelancing full-time, I didn’t have corporate cloud budgets. AWS bills were unpredictable, and Heroku’s free tier was dying. So I went hunting for something simple, fast, and low-cost.
That’s when I found Fly.io. Today, I deploy full Django + Vue apps for $5/month.
What Makes Fly.io Perfect for Indie Developers
Simple Global Deployments
Fly.io lets you deploy anywhere in the world with one command. Your app lives close to your users automatically.
Docker-First by Design
If it runs in Docker, it runs on Fly.io. That means less configuration, fewer headaches, and reproducible builds.
Built-in PostgreSQL
Fly has managed Postgres baked right in. You can scale it up or down without touching AWS-style networking nightmares.
Built for Small Teams
Fly’s CLI and dashboard are simple. No 50-step setup or IAM jungles — just deploy, scale, and go.
Predictable Pricing
The free tier gives you small VMs, and $5/month covers most indie apps. You only pay for what you actually use.
My $5 Deployment Workflow
Step 1 — Build a Dockerfile
Every project I build starts with a simple Dockerfile:
FROM python:3.12
WORKDIR /app
COPY . .
RUN pip install -r requirements.txt
CMD ["gunicorn", "core.wsgi:application", "--bind", "0.0.0.0:8080"]
Step 2 — Initialize Fly
fly launch
Pick your region, set environment variables, and it auto-generates your config.
Step 3 — Add PostgreSQL
fly postgres create
Then connect it in your Django settings with:
DATABASE_URL = os.getenv("DATABASE_URL")
Step 4 — Deploy Frontend
Build your Vue app, then serve it through Django static files or on a second Fly app.
Step 5 — Monitor and Scale
Fly gives you free metrics and auto-scaling. You can run an entire SaaS on one small VM.
The Big Idea: Ship More, Spend Less
Infrastructure shouldn’t eat your profits. The cheaper your stack, the longer your runway — and the faster you can iterate.
Fly.io proves that great software doesn’t need great budgets.
If you want help setting up your own $5/month deployment stack:
Related reads
- The $5 Cloud + VPS Stack — Running Indie SaaS on Fly.io and Bare Metal
How I start on a $5 VPS using Docker Compose and Watchtower, then scale globally with Fly.io’s edge network — full control, low cost, and zero manual updates.
- The $5 VPS Stack That Scales to the Cloud
Why I still start every project on a $5 VPS — and how I seamlessly scale the same stack to Fly.io using Docker, Django, and Vue.js.
- Self-Hosting as a Service: How I Run Client SaaS on Fly.io
How I combine Docker, Django, and Fly.io to deliver white-label SaaS apps that clients fully own — the self-hosting model that keeps performance high and costs low.