the dollar 0 stack
I did a little digging to find out what infrastructure is out there that you can use on a free tier, and compiled it all into one blog. If you want to build something, you can take this as a starting point and use whatever fits. Disclaimer: this was last updated on 12th November 2026, and things may have changed by the time you read it.
Say you want to build a POC and put it out there. There are plenty of options that let you deploy your application without paying any money. Once you start getting traffic, you can move to a reliable provider, or pay for the ones that are already getting the work done. If a provider turns out to be costly, you can always swap it for another provider or a different choice of tech.
A rule of thumb: the first step when you set up any infra is enabling billing alerts in whatever tool you’re using. Every provider gives you a way to set a threshold and get notified when the cost goes over it. Set it to something like dollar 1 or dollar 2, so the moment it goes over, you get a notification and can turn things off, even if you set everything up so it shouldn’t cost money. So step one is enough observability and every notification turned on. If the provider lets you set a hard limit, set it to dollar 0. Since it’s just a POC, you don’t need to care much about reliability. If it crosses dollar 0, it shuts down, you get a notification, and then you can think about it.
There are an insane number of infra providers right now. Everybody wants to lure new customers, so they give out insane offers, and you can always Google them and use them. Newer providers are especially likely to give you a lot of free stuff. But for this blog, I’ve only picked the popular, well known providers and what they offer.
virtual machine
GCP
- always free: 1 e2-micro VM every month, 30GB disk, 1GB egress. Only in us-west1, us-central1 and us-east1. Pick any other region or a bigger machine and you get billed.
- new accounts also get dollar 300 credit for 90 days, separate from the always free e2-micro.
- tip: e2-micro has 1GB RAM, so add a swap file. Good enough for a small API or a bot.
- source: GCP free tier guide, Google Cloud free tier 2026
AWS
- no more 12 month free EC2. New accounts get up to dollar 200 credit (dollar 100 on sign up, up to dollar 100 more for trying services) on a free plan that lasts 6 months or until the credit runs out.
- once the 6 months are over or the credit is used up, the free plan account closes, so upgrade or move out before that.
- tip: stick to t3/t4g micro or small instances. Look out for the public IPv4 charge and EBS volumes left behind after you delete an instance.
- source: AWS free tier announcement, AWS free tier FAQs
Cloudflare
- no VMs. The closest thing is Containers/Sandbox, which needs the dollar 5/month Workers Paid plan (some usage included, billed per 10ms after that).
- tip: use Workers for the API and only use Containers when you really need a Linux box.
- source: Cloudflare Containers pricing
DigitalOcean
- cheapest droplet is dollar 4/month (512MB RAM, 10GB SSD, 500GB transfer). dollar 6 for 1GB is the more usable minimum.
- free credit for new accounts keeps changing (some say dollar 200 for 60 days, recent reports say much less), so check before you sign up.
- tip: simplest dashboard of the lot and predictable flat pricing. Backups cost 20% extra.
- source: DigitalOcean pricing 2026, DigitalOcean free credit
Hetzner
- no free tier, but the best price for the specs. Cheapest is CX23 at around €5.49/month after the 2026 price hikes, and it’s often out of stock.
- tip: you get a lot of RAM and CPU for the money, and the EU locations come with lots of free traffic. Only EU/US locations, and support is basic.
- source: Hetzner 2026 price increase, Hetzner cloud pricing 2026
Oracle Cloud
- the most generous always free VM: Ampere A1 Arm with 2 OCPU and 12GB RAM, free forever. It used to be 4 OCPU and 24GB until Oracle halved it in June 2026.
- popular regions often run out of free A1 capacity, so pick a quieter home region when you sign up. You can’t change it later.
- tip: idle free instances can get reclaimed. Upgrading to pay as you go (and setting a dollar 0 budget alert) keeps them safe and still costs nothing if you stay within the free limits.
- source: Oracle free tier docs, InfoQ: Oracle free tier limits
Azure
- new accounts get dollar 200 credit for 30 days, plus 12 months of free services that include 750 hours/month of a small B-series VM (B1s or the Arm/AMD B2 v2 sizes).
- once the 30 days end, services stop unless you switch to pay as you go. The 12 month free VM hours keep going after you switch.
- tip: 750 hours covers one VM running all month. Two VMs eat it up in about 15 days.
- source: Azure free account FAQ, Azure free VMs
if you are paying: cheapest and reliable is Hetzner (best specs for the price) or a dollar 4-6 DigitalOcean droplet (simplest). For free, Oracle’s A1 is the biggest free box and the GCP e2-micro is the simplest. Stay on them as long as they fit.
serverless
AWS Lambda
- always free, even after the free plan ends: 1M requests and 400,000 GB-seconds of compute every month.
- after that it’s dollar 0.20 per 1M requests plus compute time, so a small API stays at dollar 0 for a long time.
- tip: keep memory at 128-256MB. GB-seconds is memory × time, so less memory means more free runtime. Put it behind a Lambda function URL instead of API Gateway to skip the extra cost.
- source: AWS Lambda pricing, AWS Builder Center: dollar 0 API on Lambda
GCP Cloud Run functions
- 2M requests, 180,000 vCPU-seconds and 360,000 GiB-seconds free every month, shared with Cloud Run.
- free usage only counts in certain US regions (us-central1, us-east1, us-west1), same as the e2-micro.
- tip: set min instances to 0 so you only pay (nothing) when a request comes in. Set max instances too, so a traffic spike can’t run up a bill.
- source: Cloud Run free tier, Cloud Run functions pricing
Cloudflare Workers
- 100,000 requests per day free, about 10ms CPU time per request. Runs at the edge, so it’s fast everywhere and has no cold starts.
- paid is dollar 5/month for 10M requests, which is probably the cheapest reliable paid serverless out there.
- tip: CPU time only counts while your code is running, not while it waits on fetch or a database. So most API calls fit even in the free plan. On free, requests past the daily limit fail instead of getting billed.
- source: Cloudflare Workers pricing 2026, Cloudflare free limits
Azure Functions
- Flex Consumption plan: 250,000 executions and 100,000 GB-seconds free per month. The older Consumption plan gives 1M executions and 400,000 GB-seconds.
- the free grant only applies on a pay as you go subscription, not the dollar 200 trial.
- tip: only worth it if you’re already on Azure. Otherwise Lambda or Workers give you more for free.
- source: Azure Functions pricing, Azure Functions plans compared 2026
Vercel
- Hobby plan: 1M function invocations, 4 hours of active CPU and 360 GB-hours of memory per month.
- it never bills you on Hobby, it just pauses your project when you go over. Personal and non-commercial use only.
- tip: easiest option if your app is Next.js. Move to Pro (dollar 20/month) once it’s a real product.
- source: Vercel functions pricing, Vercel Hobby plan
if you are paying: Cloudflare Workers at dollar 5/month is the cheapest and most predictable. Lambda is the most reliable and stays nearly free at low traffic.
serverless container
GCP Cloud Run
- the best free option here. Any Docker image, scales to zero, and you get 2M requests, 180,000 vCPU-seconds and 360,000 GiB-seconds free every month (shared with Cloud Run functions).
- free usage only counts in us-central1, us-east1 and us-west1.
- tip: keep min instances at 0 and set a max instances limit. Use request-based billing (the default) so you only pay while a request is being handled.
- source: Cloud Run free tier, GCP free tier guide
Azure Container Apps
- almost the same free grant as Cloud Run: 180,000 vCPU-seconds, 360,000 GiB-seconds and 2M requests per month on the Consumption plan.
- the grant is per subscription and resets every month.
- tip: good Cloud Run alternative if you already have Azure credits. Set min replicas to 0 so it scales down when idle.
- source: Azure Container Apps pricing, Azure Container Apps on freetier.co
AWS
- no free serverless container option. App Runner stopped taking new customers on April 30, 2026, and Fargate has no free tier, so you can only use it with the dollar 200 sign-up credit.
- AWS now points people to ECS Express Mode as the App Runner replacement.
- tip: on AWS, Lambda with a container image is the free way to run a container. It only works for short request/response workloads.
- source: AWS App Runner docs, App Runner migration
Cloudflare Containers
- no free plan. Needs Workers Paid at dollar 5/month, which includes some container usage, and after that you pay per 10ms while it runs.
- tip: containers sleep when idle and you stop paying for them, so it’s cheap for low traffic. Use it when a Worker alone can’t do the job.
- source: Cloudflare Containers pricing
Render
- free web service from a Docker image or a repo, with 750 free instance hours per month.
- it goes to sleep after 15 minutes without traffic and takes about a minute to wake up. The disk is wiped on every restart or redeploy.
- tip: fine for demos and side projects. For anything always-on, a cron ping keeps it awake but uses up your 750 hours faster.
- source: Render free docs, Render pricing 2026
if you are paying: Cloud Run is the cheapest and most reliable, since you only pay per request and it scales to zero. Azure Container Apps is a close second.
container registry
GitHub Container Registry (ghcr.io)
- public images are free with no limits. Private images are free right now too, but GitHub can change that with a month’s notice.
- tip: easiest one if your code is already on GitHub. Push straight from GitHub Actions with the built in
GITHUB_TOKEN, no extra secrets needed. - source: GHCR free tier, best free container registries
GCP Artifact Registry
- 0.5GB storage free per month, then pay per GB.
- tip: use it if you deploy to Cloud Run, because pulls from the same region are fast and free. Add a cleanup policy to delete old images so you stay under 0.5GB.
- source: Artifact Registry free tier
AWS ECR
- private repos get 500MB free per month. ECR Public gives 50GB storage free.
- tip: add a lifecycle rule that keeps only the last few images. Old images are what quietly push you over 500MB.
- source: ECR Public free tier
Docker Hub
- free account gets 1 private repo and unlimited public repos. Pulls are rate limited (around 100 per 6 hours anonymous, 200 logged in).
- tip: always
docker loginin CI, or your builds will randomly fail on the pull limit. - source: Docker Hub free tier
if you are paying: you mostly won’t need to. Use the registry of the cloud you deploy to, or GHCR.
notification
Firebase Cloud Messaging (push)
- free push notifications to Android, iOS and web with no message limit, commercial use included.
- tip: FCM itself is free, but the Cloud Functions or Firestore you use to trigger it are not, so watch those.
- source: AWS SNS vs Firebase FCM
AWS SNS
- 1M mobile push notifications free every month. SMS is not free and gets expensive fast.
- tip: good for fanning out one event to many places (email, Lambda, a webhook). Avoid SMS unless you really need it.
- source: Amazon SNS pricing 2026
Email: Amazon SES / Resend
- SES has no forever free tier anymore. It comes out of the AWS dollar 200 credit, then it’s about dollar 0.10 per 1,000 emails, which is the cheapest at scale.
- Resend’s free tier (3,000 emails/month, 100/day) may be gone for new accounts, so check before you sign up.
- tip: set up SPF, DKIM and DMARC on your domain first, or your emails go straight to spam.
- source: free email sending tiers 2026, Amazon SES alternatives
tip for a POC: for alerts to yourself (server down, new signup, cost alert), a Telegram bot or a Discord webhook is free and takes 5 minutes to set up.
secret manager
GCP Secret Manager
- 6 active secret versions and 10,000 access operations free per month. After that it’s about dollar 0.06 per secret version per month.
- tip: destroy old versions when you rotate a secret. Each version counts toward the 6.
- source: GCP Secret Manager pricing 2026
AWS Secrets Manager / SSM Parameter Store
- Secrets Manager has no free tier: dollar 0.40 per secret per month plus dollar 0.05 per 10,000 API calls.
- SSM Parameter Store standard parameters are free (stored encrypted with
SecureString). - tip: for a POC, use Parameter Store and skip Secrets Manager. You only need Secrets Manager for automatic rotation.
- source: secrets manager pricing, AWS Secrets Manager free plan
Infisical
- free for up to 5 identities, with a dashboard, CLI, SDKs and integrations. Open source, so you can also self host it.
- tip: works across every cloud, so you don’t get locked in.
infisical run -- npm startinjects secrets without a.envfile. - source: Infisical free plan
if you are paying: stay on the free one of your cloud. Just never commit .env files.
object store
Cloudflare R2
- 10GB storage free, 1M writes and 10M reads per month, and zero egress fees forever.
- tip: the best choice for anything users download (images, files). Egress is where S3 and GCS get expensive, and R2 doesn’t charge for it. It’s S3 compatible, so the AWS SDK works.
- source: Cloudflare R2 pricing 2026, free object storage tiers 2026
Backblaze B2
- first 10GB free. Free egress up to 3x what you store, and free egress to Cloudflare.
- tip: cheapest for backups and big files you rarely read. Put Cloudflare in front of it for free downloads.
- source: R2 vs S3 vs B2 2026
GCS / S3
- GCS gives 5GB free per month in the free tier US regions. S3 comes out of the AWS dollar 200 credit.
- tip: fine for files only your own backend reads. Keep public downloads off them, egress is expensive.
- source: object storage comparison 2026
if you are paying: R2 for anything public, B2 for backups.
large language model api’s
least free resource available. if you want better results sadly you got to pay. but there are few options available.
Google Gemini API
- free tier on Flash models with no card needed, through Google AI Studio. Limits were cut in 2026, so check AI Studio for the current ones.
- tip: the free tier can use your prompts for training (outside EU/UK), so don’t send user data on it.
- source: free LLM APIs compared, free AI API comparison
Groq
- free tier on open models: around 30 requests/minute and 1,000 requests/day, with an 8K tokens/minute cap.
- tip: super fast responses. The tokens per minute limit is what you’ll hit first, so keep prompts short.
- source: free LLM API comparison 2026
OpenRouter
:freemodels: 20 requests/minute and 50/day, going up to 1,000/day once you’ve bought 10 credits.- tip: one API for many models, so you can switch providers by changing a string. Free model IDs change often, so don’t hard code them.
- source: free LLM APIs compared
Cloudflare Workers AI
- 10,000 neurons free per day. Bigger models and longer outputs use more neurons.
- tip: good if you’re already on Workers, since you can call it without an API key from your Worker.
- source: free AI APIs
if you are paying: start with a small, cheap model (Flash or mini class) and only move to bigger ones where you need them. Set a monthly spend limit on the provider dashboard.
databases
Supabase (Postgres)
- free: 2 projects, 500MB database, 1GB file storage, 5GB bandwidth.
- free projects pause after 1 week with no activity.
- tip: you also get auth, storage and realtime with it, so it covers most of a POC backend. A cron ping keeps it from pausing.
- source: Supabase free tier limits 2026
Neon (Postgres)
- free plan with no time limit and no card: around 0.5GB storage per project and 100 compute hours per project per month. Scales to zero when idle.
- tip: create a database branch for each PR to test migrations, like git branches.
- source: Neon free tier, database free tier comparison 2026
MongoDB Atlas M0
- free forever: 512MB storage, 500 connections, about 100 operations/second. No backups.
- tip: export your data yourself now and then with
mongodump, since there are no backups on M0. - source: best free database tiers 2026
Cloudflare D1 (SQLite)
- free: 5M row reads/day, 100k writes/day, 5GB storage. Limits reset daily at 00:00 UTC.
- tip: pairs perfectly with Workers. Add indexes, because row reads count every row a query scans, not just the rows it returns.
- source: database free tier comparison 2026
Firestore
- free daily quotas (reads, writes, deletes) and about 1GiB storage per project.
- tip: a badly written listener or query can burn through daily reads fast. Watch the usage tab in the first week.
- source: free backend and database for AI apps
if you are paying: Neon or Supabase Pro for Postgres. Plain Postgres on your Hetzner VM is the cheapest if you’re fine running your own backups.
api gateway
AWS API Gateway
- 1M REST calls, 1M HTTP API calls and 1M WebSocket messages per month free, but only for the first 12 months (or from the dollar 200 credit on the new free plan).
- tip: use HTTP API, not REST API. It’s much cheaper (about dollar 1 per million vs dollar 3.50) and fine for most apps.
- source: AWS API Gateway free plan, API Gateway pricing
Cloudflare Workers as a gateway
- the same 100,000 free requests per day from the serverless section. Do auth, rate limiting and routing in a Worker in front of your backend.
- tip: honestly the cheapest gateway you can get. dollar 5/month on paid for 10M requests.
- source: API gateway pricing comparison 2026
GCP API Gateway
- 2M calls free per month, then pay per million.
- tip: only worth it if you need managed API keys and quotas in front of Cloud Run. Otherwise Cloud Run’s own URL is enough.
- source: AWS vs Azure vs GCP API gateway 2026 tip for a POC: you probably don’t need one. Lambda function URLs, Cloud Run URLs and Workers all give you an HTTPS endpoint for free. Add a gateway once you need rate limiting or API keys.
logging and observability
Grafana Cloud
- forever free: 10k metric series, 50GB logs, 50GB traces, 14 day retention, 3 users.
- tip: the most generous free tier for logs and metrics. Use Grafana Alloy (their agent) on your VM and you get dashboards and alerts for free.
- source: Grafana Cloud free tier, Grafana Cloud free plan 2026
Sentry
- free developer plan: 1 user, 5K errors/month, 5M spans, 50 session replays, 5GB logs.
- tip: add it on day one. A bad deploy can use up 5K errors in minutes, so turn on rate limits and filter out noisy errors.
- source: free error tracking tiers 2026
AWS CloudWatch / GCP Cloud Logging
- CloudWatch: 5GB logs, 10 custom metrics and 10 alarms free per month. GCP Cloud Logging gives 50GiB of logs free per project per month.
- tip: set log retention to a few days. The default keeps logs forever, and storage is where the cost comes from.
- source: observability free tier comparison
if you are paying: Grafana Cloud or the logs of the cloud you already use. Sentry for errors.
miscellaneous
these aren’t very important on day one, but you’ll probably need some of them as the POC grows. All of them have free tiers.
- static site / frontend hosting: Cloudflare Pages, Vercel, Netlify, GitHub Pages.
- domain, DNS, CDN and SSL: Cloudflare free plan for DNS, CDN and SSL. Let’s Encrypt for free certs. Domains aren’t free, but Cloudflare Registrar sells them at cost.
- auth: Firebase Auth, Supabase Auth, Clerk, Auth0. Don’t roll your own.
- CI/CD: GitHub Actions (free minutes, unlimited on public repos), plus auto deploys on Cloudflare and Vercel.
- cache / key-value / redis: Upstash Redis, Cloudflare KV, or Valkey on your own VM.
- queues, cron and background jobs: AWS SQS (1M requests free), Cloudflare Queues and Cron Triggers, GCP Cloud Scheduler, Upstash QStash.
- uptime monitoring: UptimeRobot, Better Stack.
- product analytics: PostHog, Umami, Cloudflare Web Analytics.
- vector database: pgvector on Supabase or Neon, Pinecone, Qdrant Cloud.
There is always open source alternative for most of the tools which you can self-host it. If possible, you can do that as well if you can spend only for the machine. You can self-host most of these parts inside that machine for your POC if you wanted to. Cut cost on everything else.