Prompt
What should I use for a backend that only gets traffic sometimes?
Latest observation
Oct 26, 2026
OpenAI APIWeb search: off
If your backend only gets traffic occasionally, you’ll usually want something that’s serverless or autoscaling so you’re not paying for idle capacity.
Good options
-
Serverless functions: AWS Lambda, Google Cloud Functions, Azure Functions
- Best for infrequent, event-driven requests
- Pay only when used
- Great for APIs, webhooks, background jobs
-
Serverless app platforms:
- Cloud Run (Google)
- AWS App Runner
- Vercel / Netlify for web apps and API routes
- Good if you want to run a container or simple web service without managing servers
-
Autoscaled containers:
- Kubernetes with autoscaling, ECS/Fargate, Cloud Run
- Better if you need more control or have a more traditional backend architecture
What to avoid
- Always-on VM/server setups unless you need constant low-latency or special networking
- You’ll pay even when idle
Simple rule of thumb
- Occasional API calls or jobs → Lambda / Functions
- A small web service or containerized app → Cloud Run / App Runner / Fargate
- Need a full server with lots of control → VM only if the cost is acceptable
If you tell me your stack (Node, Python, Go, etc.) and what the backend does, I can recommend the cheapest/easiest option.