Honey, I Shrunk the Cloud Bill — A Production E-Commerce Store for $0/Year
"બચત, એ પહેલી મૂડી છે."
Basically: Saving is the first investment
TL;DR — As a Gujarati. Being budget-smart isn't a skill I learned — it's factory settings. This is the story of how that one personality trait, a brother who questions every invoice, and a wife with a flour shop finally pushed me to build what I'd been dreaming about for years.
Story starts long years ago, right after I passed out from university and stumbled into web development.
I was the first engineer in the family. Which sounds impressive until you realise it mostly meant I became the free IT support for everyone and the person expected to have a "tech solution" for everything — including problems that didn't exist yet.
My elder brother runs a lighting business in India. Sharp businessman, brilliant at marketing, and absolutely ruthless when it comes to spending money. Every invoice gets questioned. Every tool gets interrogated. His favourite phrase when I'd suggest something was — "but do we actually need to pay for this?"
Honestly? Annoying at the time. But also, he had a point.
That constant pressure turned into a bit of an obsession for me — how cheap can we actually make this? Not cut corners cheap, but genuinely efficient cheap. Especially for small businesses where every rupee matters and nobody has a cloud budget.
That's how I fell into the world of static sites, GitHub Pages, serverless functions, and anything that kept the monthly bill as close to zero as possible.
Fast forward a few years. My brother's lighting business always needed an online catalogue. My wife recently started her own small shop. And somewhere in the back of my head, an idea had been sitting quietly for years — why is e-commerce so expensive?
Think about it. A small shop doesn't need a full server running 24/7. What you actually need is:
- A way to show products dynamically
- A way to take orders
- A way to know when someone ordered
Everything else is just a static page. So why are we paying like it isn't?
That's when I remembered the Google Sheets gviz API — it lets you read a spreadsheet as JSON, no backend, no authentication, just a URL. Products live in a Sheet, updated in real time, no deployment needed. My brother can update his catalogue from his phone at 2am if he wants. Bingo.
For orders — a tiny Cloudflare Worker. Receives the order, saves it to a free SQLite database, fires a Telegram message straight to my phone. The whole backend fits in a single file. Back in the day when I first had this idea, I used to joke that I'd build this someday. The joke lasted about ten years.
This year I finally built it — properly — for my wife's flour shop. Dark mode, variant pricing, geo-restriction, bot protection, automatic deployments. The works.
Total monthly cost: $0.
The only thing you'll ever pay for is a domain name — about $10-15 a year. My brother still questioned it.
🏗️ Architecture

💰 Cost Breakdown
| Service | What it does | Free tier | Paid starts at |
|---|---|---|---|
| GitHub Pages | Static hosting + CDN | Unlimited | Never needed |
| GitHub Actions | CI/CD auto-deploy | 2,000 min/month | $4/month |
| Cloudflare CDN | Cache, DDoS, SSL | Unlimited | Never needed |
| Cloudflare Workers | Serverless order API | 100,000 req/day | $5/month |
| Cloudflare D1 | SQLite order database | 5GB, 25M reads/day | $0.001/GB |
| Cloudflare Turnstile | Bot Protection | Unlimited | Never needed |
| Google Sheets | Product catalogue CMS | Unlimited | Never needed |
| ip-api.com | Geo restriction | 45 req/min | Never needed |
| Telegram Bot | Order notifications | Unlimited | Never needed |
| Total | $0/month | — |
For a small business doing a few hundred orders a month, you'll never hit a paid tier. And if you do — congratulations, you can probably afford the $5.
If this architecture sounds interesting and you want to dig into the actual setup, code, and how it all fits together — it's all on GitHub:
👉 github.com/gunjanpatel/patel-flours
If you build something with this for your own brother, wife, or that one family member who always questions the invoice — I'd love to hear about it. 😄