Serverless Revolution
How I host apps for $0 with Cloudflare Pages, Workers, D1 and R2, plus Vercel and Supabase. My full free serverless stack for side projects up to 10k users.
I deployed StepCode on Cloudflare Pages and got 2,000 visits a month, fast pages and better security. Every git push deployed a new version. I paid nothing.
This post is not sponsored by Cloudflare or by any other PaaS provider here. A PaaS (Platform as a Service) is a company that runs your app so you do not manage servers. I only want to help any developer with an idea bring it to the real world without spending money.
One engineer, every role
I am Rolando Andrade, a software engineer with experience in every stage of building software. Last August, I decided to start shipping my own projects. I build apps and consult, so I can have a direct impact on my own terms.
At a big company, you rarely worry about infrastructure costs. You ask your manager, and if there is budget, you get what you need. When I started shipping my own products, I learned that infrastructure is not easy and not cheap. Even with scripts and templates, you still manage changes, cut costs and do a lot of boring operations work.
I am just a software engineer. I want to build software in peace. I do not want to study 10 complex pricing levels with dozens of conditions each. Yes, AWS, I am talking about you.
Why I moved to Cloudflare
I have deployed apps on AWS, GCP and Azure. If I had to pick a favorite, I would choose Azure, mostly because it felt a bit friendlier to engineers. But they are all very similar: one hundred steps to deploy an app, and a big bill at the end of the month.
Near the end of last year, while I was building StepCode, I discovered the Cloudflare free tier. Everything changed.
That is where the 2,000 monthly visits came from. I loved it, and I started to test everything else that Cloudflare and similar platforms offer.
Pages, APIs and a database
Cloudflare Workers let you do almost anything. A Worker is a small piece of code that runs on the edge, which means on servers close to your users. I have deployed serverless APIs built with Hono. Serverless means you write the code and the platform runs the servers for you. The @cloudflare/next-on-pages package lets you deploy Next.js apps with a single command. Even better, AI Workers let you run LLMs (large language models, like the ones behind chatbots) for free, up to 500 responses a day. That is huge for MVPs, the first small version of a product, and for hobby projects.
So you can deploy pages and APIs. But you also need a database, right? Correct. Cloudflare offers D1, and I have used it without problems for the past month. Turso and Supabase are also great options. For object storage, where you keep files like images, Cloudflare R2 is a strong alternative to AWS S3 for most projects.
A stack that costs nothing
Start your project. Change the world. Do not worry about costs. You can grow to 10k, 50k or even 100k users without spending anything. If you pass the free limits, the upgrade is often just $5. If I started today, this would be my stack:
- Frontend hosting: Vercel / Cloudflare Pages ($0/month)
- Backend hosting: Deploy an API on the edge with CF Workers ($0/month)
- Database: D1, Turso, Supabase, Convex ($0/month)
- Real time collaboration: PartyKit ($0/month)
- Key-Value fast storage like Redis: Cloudflare KV ($0/month)
- Blob storage: Cloudflare R2 and even S3 ($0/month)
- Security: Cloudflare ($0/month)
- Authentication: Clerk, Supabase ($0/month)
- AI: AI Workers ($0/month)
- Monitoring: Cloudflare ($0/month)
- Domain: Namecheap, Cloudflare, etc. ($12/year)
This list is not complete. It is only what I use and trust. If you know other great options, tell me, and I will update the list.
No more excuses
You can grow your side project from 0 to 10k users without ever taking out a credit card. The product can still be excellent. Design it, code it and deploy it. The only bill on that list is $12 a year for the domain.
If you enjoy the content, please don’t hesitate to subscribe and leave a comment! I would love to connect with you and hear your thoughts on the topics I cover.
Interested in working together? Check out my services and pricing to see how we can collaborate on your next project. Let's Build