Hosting and cloud · Comparison

Serverless vs VPS vs shared hosting

Three very different ways to run the server side of a site. They trade off how much you manage, how costs behave as traffic grows, and what kinds of software you can run.

3 options · 8 questions side by side · updated

CompareServerlessVPSShared hosting
What you getFunctions run on demand by a platformYour own virtual server with root accessAn account on a server shared with many sites
Who manages itThe platformYouThe host
Cost shapePer request; close to zero when idleFlat monthly feeCheap intro fee, higher renewal
Typical costFree tiers, then usageAbout $4 to $12 a monthAbout ₹69 to ₹449 a month
ScalingAutomatic, within limitsResize or add serversUpgrade the plan
RunsShort functions in supported runtimesAnything Linux can runMostly PHP, WordPress and static files
Long-running jobsNo, time limits applyYesRarely
Best forAPIs and sites with uneven trafficSteady backends and self-hosted toolsWordPress and small business sites

How to choose between Serverless, VPS and Shared hosting

  • Pick serverless when traffic is unpredictable and you would rather not run servers.
  • Pick a VPS for long-running backends, WebSockets or self-hosted tools, if someone can maintain it.
  • Pick shared hosting for WordPress or a simple PHP site on the smallest budget.

The options

More comparisons

Crafted in the dark. Shipped to the world.

Tell us what you are building. You get a private project space with a proposal and a line-by-line quote within a day.