Your micro-SaaS idea is validated. 23 people said they’d pay. You’ve sketched the UI in Figma. You’re ready to build. Then you open AWS documentation and realize you need a PhD in cloud architecture just to serve a login page.
Here’s the truth most “how to build a SaaS” tutorials won’t tell you: the complexity isn’t in your product logic. It’s in the infrastructure. Authentication, databases, payments, email, monitoring, deployment — the boring shit that has to work perfectly or your users vanish.
The good news? In 2026, you don’t need $500/month in infrastructure costs or a DevOps engineer to ship a micro-SaaS. The modern stack is simpler, cheaper, and more reliable than ever. I’ve shipped 4 micro-SaaS products in the last 18 months on infrastructure budgets between $0 and $97/month. Here’s the exact stack that works.
The 5-Layer Micro-SaaS Infrastructure Stack
Every micro-SaaS needs these 5 layers to function:
- Hosting & Deployment — Where your code runs
- Database & Storage — Where your data lives
- Authentication & Authorization — Who gets in and what they can do
- Payments & Billing — How you collect money
- Monitoring & Analytics — How you know it’s working
Most founders over-engineer layers 1-3 and neglect layers 4-5. Then they wonder why they can’t debug production issues or why their payment flow has a 40% drop-off rate. Here’s the stack that balances simplicity, cost, and reliability.
Layer 1: Hosting & Deployment ($0-20/month)
Primary: Vercel ($0-20/month)
Vercel is the default hosting platform for modern micro-SaaS. Zero-config deployments, automatic HTTPS, global CDN, preview deployments for every Git push. The free tier is shockingly generous: unlimited deployments, 100GB bandwidth, serverless functions included.
What I use it for: All 4 of my micro-SaaS products run on Vercel. My largest product (1,200 users, ~40K monthly requests) costs $0/month. My second-largest ($800 MRR, 300 users) costs $20/month on the Pro plan purely for better analytics and team collaboration.
When to upgrade: Stay on the free tier until you hit 100GB/month bandwidth or need team features. Even at $20/month, it’s cheaper than managing your own AWS EC2 instances.
Alternatives:
- Netlify ($0-19/month) — Nearly identical to Vercel, slightly worse DX for Next.js
- Railway ($5-20/month) — Better for non-JS stacks (Python, Go, Rust)
- Render ($0-7/month) — Good for databases + web services in one platform
- AWS Amplify (AVOID) — More expensive, worse DX, AWS vendor lock-in
- Heroku (AVOID) — Used to be great, now overpriced ($7/month minimum vs Vercel $0)
Layer 2: Database & Storage ($0-25/month)
Primary: Supabase ($0-25/month)
Supabase is PostgreSQL with superpowers: built-in auth, real-time subscriptions, auto-generated REST/GraphQL APIs, file storage, and edge functions. The free tier includes 500MB database, 1GB file storage, 50K monthly active users. For 90% of micro-SaaS products, you’ll never leave the free tier.
What I use it for: All structured data (users, subscriptions, feature flags, usage logs). The auto-generated APIs save me 20+ hours per project compared to writing Express.js CRUD routes. Real-time subscriptions power collaborative features without WebSocket infrastructure.
When to upgrade: You’ll know. When your database hits 8GB (Pro plan limit) or 100K monthly active users, you’re making enough revenue to justify $25/month.
Alternatives:
- PlanetScale ($0-29/month) — MySQL instead of Postgres, better for scale
- Neon ($0-19/month) — Serverless Postgres, better cold start times
- Turso ($0-29/month) — SQLite at the edge, insane performance for read-heavy apps
- Firebase (AVOID) — NoSQL is wrong for 95% of SaaS use cases, Google vendor lock-in
- MongoDB Atlas (AVOID) — NoSQL, more expensive than Postgres, worse query flexibility
File Storage: Supabase Storage or Cloudflare R2
For user uploads (avatars, documents, media), use Supabase Storage (included in free tier, 1GB) or Cloudflare R2 ($0.015/GB/month, no egress fees). R2 is 10x cheaper than AWS S3 if you serve files frequently.
Layer 3: Authentication & Authorization ($0/month)
Primary: Supabase Auth (Free)
Supabase Auth handles email/password, magic links, OAuth (Google, GitHub, etc.), and JWT sessions. It’s already included in your Supabase setup. Zero additional cost, zero additional infrastructure.
What I use it for: Every login flow across all 4 products. Magic link auth (passwordless) has 2x higher conversion than email/password in my data. OAuth reduces friction for users who don’t want another password.
Alternatives:
- Clerk ($0-25/month) — Beautiful pre-built UI components, better UX, costs money
- Auth0 (AVOID) — Enterprise pricing ($25+ for 1,000 MAU), overkill for micro-SaaS
- NextAuth.js (AVOID) — Roll-your-own auth, more work, security risk if misconfigured
Layer 4: Payments & Billing ($0 base + 2.9% + 30¢ per transaction)
Primary: Stripe ($0 base fee, 2.9% + 30¢ per transaction)
Stripe is the only answer for micro-SaaS payments. No base fee, no monthly minimums. You only pay per transaction. Handles credit cards, ACH, SEPA, Apple Pay, Google Pay, Buy Now Pay Later. Built-in subscription management, usage-based billing, tax calculation, invoices, customer portal.
What I use it for: All revenue across all 4 products flows through Stripe. The Customer Portal alone saves 5+ support hours per week — users can update cards, view invoices, cancel subscriptions without emailing me.
Key features for micro-SaaS:
- Stripe Checkout: Hosted payment page, zero frontend code, optimized conversion
- Stripe Billing: Subscription management, prorations, trials, coupons
- Stripe Tax: Automatic sales tax/VAT calculation (saves hours of compliance hell)
- Customer Portal: Self-service billing (update card, cancel, download invoices)
When to upgrade to Stripe Tax ($0.50 per transaction): If you have customers in 3+ countries with different tax rules. Otherwise, use TaxJar or Quaderno for $20-30/month.
Alternatives:
- Paddle (5% + 50¢ per transaction) — Merchant of record (they handle tax compliance), but more expensive
- LemonSqueezy (5% + 50¢) — Similar to Paddle, better for digital products
- PayPal (AVOID) — 3.49% + fixed fee, worse UX, “PayPal jail” horror stories
- Gumroad (AVOID) — 10% fee, designed for creators not SaaS
Layer 5: Monitoring & Analytics ($0-9/month)
Primary: Plausible Analytics ($9/month) + Sentry ($0-26/month)
Plausible ($9/month for 10K pageviews): Privacy-friendly Google Analytics alternative. No cookie banners, no GDPR hell, clean UI. Tracks pageviews, referrers, goals, funnels. I use it for product analytics (signup conversion, feature usage, churn signals).
Sentry (Free tier: 5K errors/month): Error tracking and performance monitoring. Catches production bugs before users report them. Source maps, stack traces, breadcrumbs, user context. The free tier covers most micro-SaaS products until you hit 50+ users/day.
What I track:
- Plausible: Signup → activation → paid conversion funnel
- Sentry: JavaScript errors, API failures, slow database queries
- Supabase Dashboard: Database performance, API usage, auth events
Alternatives:
- PostHog ($0-20/month) — Product analytics + feature flags + session replay
- Fathom Analytics ($14/month) — Similar to Plausible, slightly different pricing
- Google Analytics (AVOID) — Overkill, slow, requires cookie consent, ad network baggage
- Mixpanel (AVOID) — Overpriced ($25+), designed for product teams not solopreneurs
- LogRocket (AVOID) — $99/month minimum, session replay is creepy for small products
The Complete Stack: Budget Breakdown
| Layer | Tool | Free Tier | Paid Tier | When to Upgrade |
|---|---|---|---|---|
| Hosting | Vercel | $0 (100GB bandwidth) | $20/month | >100GB bandwidth or team features |
| Database | Supabase | $0 (500MB DB, 1GB storage) | $25/month | >8GB DB or 100K MAU |
| Auth | Supabase Auth | $0 (included) | $0 | Never (included in DB plan) |
| Payments | Stripe | $0 base (2.9% + 30¢/txn) | Transaction % | Already paying per transaction |
| Analytics | Plausible | N/A | $9/month | From day 1 (worth it) |
| Errors | Sentry | $0 (5K errors/month) | $26/month | >5K errors/month (you have bigger problems) |
| TOTAL | $9/month | $80/month |
Realistic costs by stage:
- Pre-revenue (0-10 users): $9/month (Plausible only, everything else free)
- Early traction (10-100 users): $9-34/month (add Vercel Pro if needed)
- Growing (100-1,000 users): $34-80/month (add Supabase Pro, keep Sentry free)
- Profitable (1,000+ users): $80-150/month (upgrade Sentry, add monitoring)
The $9 Starter Stack (Pre-Revenue)
If you’re pre-revenue or validating an idea, start here:
- Hosting: Vercel (Free)
- Database: Supabase (Free)
- Auth: Supabase Auth (Free)
- Payments: Stripe (Free, pay per transaction)
- Analytics: Plausible ($9/month) OR use Supabase Dashboard (Free) + manual tracking
- Errors: Sentry (Free)
Total: $0-9/month until you have revenue.
What I Left Out (And Why)
Email (Resend, SendGrid, Postmark): You’ll need transactional email (password resets, receipts, notifications). Resend has a generous free tier (3K emails/month). Add it when you have users, not before.
CDN (Cloudflare): Vercel includes a global CDN. You don’t need a separate CDN unless you’re serving massive files or videos.
Caching (Redis, Upstash): Don’t add caching until you have performance problems. Premature optimization kills momentum.
Queues (BullMQ, Inngest): Most micro-SaaS products don’t need background job queues. Vercel serverless functions + webhooks cover 90% of use cases.
Feature Flags (LaunchDarkly, PostHog): Nice to have, not essential. Use environment variables until you’re shipping features weekly to thousands of users.
Real Example: My $800/Month Micro-SaaS
One of my products does $800 MRR with 300 paying users. Here’s the actual monthly infrastructure cost:
- Vercel Pro: $20/month (could stay on free tier, but I like the analytics)
- Supabase Free: $0/month (2.1GB database, well under 8GB limit)
- Stripe: ~$23/month in fees (2.9% of $800 MRR)
- Plausible: $9/month (8K pageviews, under 10K limit)
- Sentry Free: $0/month (1,200 errors/month, under 5K limit)
- Resend: $0/month (2,400 emails/month, under 3K limit)
Total: $52/month in infrastructure for $800/month revenue = 6.5% gross margin cost.
Compare that to the “enterprise stack” (AWS, RDS, ElastiCache, CloudWatch, Auth0, Datadog): $300-500/month minimum. I’d be losing money.
The 4-Week Implementation Roadmap
Week 1: Hosting + Database
- Create Vercel account, deploy a “Hello World” Next.js app
- Create Supabase project, set up your first table
- Connect Vercel to Supabase (environment variables)
- Deploy a simple CRUD page (create/read/update/delete a record)
Week 2: Authentication
- Enable Supabase Auth, configure email provider
- Build signup/login pages (or use Supabase UI library)
- Add Row-Level Security (RLS) policies to your database
- Test magic link and OAuth flows
Week 3: Payments
- Create Stripe account, set up products and pricing
- Implement Stripe Checkout (hosted payment page)
- Add webhook endpoint to handle subscription events
- Store subscription status in Supabase
- Build a “Subscribe” button and Customer Portal link
Week 4: Monitoring
- Add Plausible script to track pageviews and goals
- Set up Sentry for error tracking (one line of code)
- Configure Sentry source maps for readable stack traces
- Create a dashboard to monitor signup → paid conversion
By end of week 4, you have a production-ready micro-SaaS infrastructure for $9-34/month.
When NOT to Use This Stack
This stack works for 90% of micro-SaaS products. Here’s when it doesn’t:
- Real-time collaboration (Figma, Notion-style apps): You need WebSockets or operational transform. Add Liveblocks ($0-99/month) or Yjs (self-hosted).
- Heavy compute (AI inference, video processing): Vercel serverless functions timeout at 60 seconds. Use Railway or Modal for long-running tasks.
- Enterprise compliance (SOC 2, HIPAA, GDPR): You’ll need AWS or GCP with proper compliance tooling. Add Vanta ($3K+/year) for compliance automation.
- Massive scale (>10K concurrent users): This stack handles 1K-10K users easily. Beyond that, you need dedicated infra and a DevOps engineer.
The 2026 Micro-SaaS Infrastructure Playbook
Five years ago, you needed $50K and 6 months to build a SaaS MVP. Today, you need $47/month and 4 weeks. The tools are better, the free tiers are generous, and the documentation is beginner-friendly.
The infrastructure isn’t your competitive advantage. Your product is. Stop over-engineering layer 1. Ship the thing, validate demand, then upgrade infrastructure as revenue grows. The $9/month stack will carry you to your first $10K MRR. After that, you can afford the $80/month stack.
Most founders spend 60% of their time on infrastructure and 40% on product. Flip that ratio. Use the boring, reliable, cheap stack above. Ship features that users actually pay for. Upgrade infrastructure only when free tiers break.
Your first 100 paying customers don’t care if you’re on AWS or Vercel. They care if your product solves their problem. Build that first. Optimize infrastructure later.




