Prompt
I'm building a cheap idle service, what serverless platform is good?
Latest observation
If you mean “a small service that can sit mostly idle and wake up occasionally without costing much”, the best serverless platform depends on what language/runtime you need and how much traffic you expect.
Good cheap options
1) Cloudflare Workers
Best for: tiny APIs, webhooks, edge logic, background fetches
Why it’s cheap: very generous free/low-cost usage, no always-on server, fast global edge
Watch out for: limited runtime compared with a full server; not ideal for heavy CPU work or long-running tasks
2) AWS Lambda
Best for: general-purpose serverless backend logic
Why it’s cheap: pay per request and execution time; can be very inexpensive for idle services
Watch out for: more setup/complexity; cold starts can happen depending on config/runtime
3) Google Cloud Run
Best for: containerized apps that only need to run when requests come in
Why it’s cheap: scales to zero, easy if you already have a container/app
Watch out for: slightly more “server-like” than pure functions; can cost more than Workers for tiny traffic
4) Azure Functions
Best for: Microsoft ecosystem / event-driven workloads
Why it’s cheap: consumption plan scales to zero
Watch out for: platform quirks and occasional cold-start issues
My quick recommendation
- Simplest and cheapest for a small idle service: Cloudflare Workers
- Most flexible general serverless: AWS Lambda
- If you already have a containerized app: Cloud Run
One important note
If your service needs:
- always-on connections
- websockets
- background jobs
- scheduled tasks
- a database connection kept warm
then “serverless” can still work, but you may need extra pieces like queues, cron triggers, or durable storage.
If you want, I can recommend the best platform based on:
- language/runtime,
- expected request volume, and
- whether it needs a database or background jobs.