Updated September 2026 · Written and maintained by the Progression Agency strategy team
The back end of a web application, its API, background jobs and database, can run on a platform-as-a-service, in containers on a cloud, on a virtual private server or on a specialist host. This guide compares the options for Node.js, Django and FastAPI, Laravel and PHP, ASP.NET Core and managed databases, including the Heroku alternatives teams ask about, DigitalOcean versus AWS, and how to pick by traffic, budget and operations capacity.
On this page · 11 sections
- How to think about backend hosting
- Backend hosting options compared
- Node.js hosting
- Django, FastAPI and Python web app hosting
- PHP and Laravel hosting
- .NET and ASP.NET Core hosting
- Database hosting
- Heroku alternatives
- DigitalOcean vs AWS for a back end
- Choosing by situation
- How Progression Agency hosts back ends
The short answerFor a new product with no operations team, host the back end on a platform-as-a-service (Render, Railway, Fly.io, or a managed container service such as Google Cloud Run or AWS App Runner) and the database on a managed service (Neon, Supabase, RDS, Cloud SQL, PlanetScale). Move to containers on AWS, Google Cloud or Azure when traffic, background processing or compliance requires, or to a VPS (DigitalOcean, Hetzner, Linode) when cost matters and someone can run it. PHP and Laravel add Laravel Cloud and Forge; .NET adds Azure App Service; Django and FastAPI run well anywhere containers do.
Comparisons are based on each project’s official documentation as linked in the text. Progression Agency builds with all of the technologies compared and has no affiliate relationship with any of them.
How to think about backend hosting
A back end has three parts with different needs: the web/API process (stateless, scale horizontally), background workers (queues, scheduled jobs) and the database (stateful, back it up, do not improvise). Hosting options range from platforms that run all three for you to raw servers where you run everything. The right level is the highest one your budget allows and the lowest one your team can operate. See backend development services and API development.
Backend hosting options compared
| Option | Examples | Languages | You manage | Cost model | Best for |
|---|---|---|---|---|---|
| Platform-as-a-service | Render, Railway, Fly.io, Heroku | Node, Python, PHP, .NET, Go, Ruby | Application only | Per service / usage | MVPs, small teams |
| Managed containers | Google Cloud Run, AWS App Runner, Azure Container Apps | Anything in a container | Container image | Usage, scale to zero | Growth without Kubernetes |
| Serverless functions | AWS Lambda, Azure Functions, Cloudflare Workers, Vercel Functions | Node, Python, .NET, Go (Workers: JS) | Code | Per request | APIs with spiky traffic, edge logic |
| Managed Kubernetes | EKS, GKE, AKS | Anything | Cluster and workloads | Nodes + usage | Multi-service systems, large teams |
| VPS | DigitalOcean, Hetzner, Linode, Vultr, Lightsail | Anything | Everything | Fixed monthly | Cost-sensitive, skilled operators |
| Language-specific platforms | Laravel Cloud/Forge, Azure App Service, PythonAnywhere | PHP, .NET, Python | Application (mostly) | Plan + usage | Teams standardized on one stack |
| Backend-as-a-service | Supabase, Firebase, Convex | Client SDKs + functions | Little | Usage | Front-end-heavy apps, MVPs |
Node.js hosting
Node.js runs on every option above. For an Express, Fastify or NestJS API: Render, Railway or Fly.io for the fastest start; Cloud Run or App Runner for managed containers; Lambda or Vercel Functions for serverless APIs; a VPS with PM2 or Docker for cost. Next.js route handlers are hosted with the front end; see hosting for React and Next.js. Official deployment guidance: nodejs.org.
Django, FastAPI and Python web app hosting
Django needs a WSGI/ASGI server (Gunicorn or Uvicorn), a database (PostgreSQL), static file serving and usually Celery or a task queue. Render, Railway and Fly.io host it with little setup; Cloud Run and App Runner run it in containers; a VPS with Docker Compose is the classic cost-effective route; PythonAnywhere suits small projects. FastAPI follows the same pattern with Uvicorn. Django’s own deployment checklist covers the security settings that must change from development.
PHP and Laravel hosting
PHP has the widest hosting support of any language: shared and managed hosts run it natively, and Laravel adds Laravel Cloud (managed), Forge (provisioning on your own DigitalOcean, AWS or Hetzner servers) and Vapor (serverless on AWS). For a business Laravel app, Forge on a VPS or Laravel Cloud is the usual choice; for WordPress-style PHP sites, managed PHP hosting. Documentation: Laravel deployment.
.NET and ASP.NET Core hosting
ASP.NET Core runs cross-platform in containers, on Linux VPSs and on Windows. Azure App Service is the most integrated option, with deployment slots, scaling and Entra ID; Azure Container Apps and AKS for containers; AWS and Google Cloud run .NET containers equally well; Windows hosting (SmarterASP, Windows VPS) suits legacy .NET Framework apps. See .NET development services and ASP.NET Core hosting docs.
Database hosting
Do not run a production database on a platform’s ephemeral disk or an unbacked-up VPS. Use a managed database: Neon, Supabase or Crunchy Bridge for PostgreSQL; PlanetScale or Aiven for MySQL; MongoDB Atlas for MongoDB; Upstash or Redis Cloud for Redis; or the cloud providers’ RDS, Cloud SQL and Azure Database. Managed services give automated backups, point-in-time recovery, replicas and upgrades. Keep the database in the same region as the application.
| Database | Managed options | Notes |
|---|---|---|
| PostgreSQL | Neon, Supabase, RDS, Cloud SQL, Azure Database, Crunchy Bridge | Default for new products; serverless options scale to zero |
| MySQL / MariaDB | PlanetScale, RDS, Cloud SQL, Aiven | Common with PHP and WordPress |
| MongoDB | MongoDB Atlas | Document store; Atlas runs on all three clouds |
| Redis | Upstash, Redis Cloud, ElastiCache | Caching, queues, sessions |
| SQLite at the edge | Cloudflare D1, Turso | Small datasets, edge apps |
| SQL Server | Azure SQL, RDS for SQL Server | Microsoft stacks |
Heroku alternatives
Heroku remains a capable platform, but after its free tier ended in 2022 many teams moved. The closest alternatives in workflow are Render, Railway and Fly.io (Git push or container deploy, managed Postgres, add-ons); DigitalOcean App Platform and Google Cloud Run offer similar simplicity on larger providers; Coolify and Dokku recreate the experience on your own VPS. Pick by language support, region needs and how the pricing scales with your usage.
| Platform | Model | Strengths | Consider when |
|---|---|---|---|
| Render | PaaS | Simple, managed Postgres, static sites, cron | Small teams wanting Heroku-like simplicity |
| Railway | PaaS | Fast setup, usage pricing, templates | Prototypes and small products |
| Fly.io | Containers on VMs, global | Regions worldwide, low latency | Apps needing multi-region |
| DigitalOcean App Platform | PaaS on DigitalOcean | Predictable pricing, DO ecosystem | Teams on DigitalOcean |
| Google Cloud Run | Managed containers | Scale to zero, GCP integration | Growth without Kubernetes |
| AWS App Runner | Managed containers | AWS integration | AWS shops |
| Coolify / Dokku | Self-hosted PaaS on a VPS | Lowest cost, full control | You can run a server |
DigitalOcean vs AWS for a back end
DigitalOcean is simpler and cheaper for droplets (VPS), managed databases and App Platform, with predictable pricing that suits small teams and agencies. AWS has every service and the deepest scaling and compliance options at the cost of complexity and a harder-to-predict bill. Start on DigitalOcean (or Hetzner, Linode) if you want servers you understand; start on AWS if you expect to need its ecosystem or already have AWS skills. See AWS vs Azure vs Google Cloud.
Choosing by situation
| Situation | Recommendation |
|---|---|
| MVP, no DevOps | Render, Railway or Fly.io + Neon/Supabase; or Supabase alone |
| Growing SaaS, containerized | Cloud Run or App Runner + managed Postgres + Redis |
| Spiky API traffic | Serverless (Lambda, Workers) with a serverless database |
| Cost-driven, skilled operator | VPS (DigitalOcean, Hetzner) with Docker, Coolify or Forge |
| Laravel app | Laravel Cloud or Forge on a VPS |
| .NET app | Azure App Service or containers on any cloud |
| Regulated data | AWS, Azure or Google Cloud with compliance controls; see SaaS hosting |
How Progression Agency hosts back ends
We start products on platforms or managed containers with managed databases, write the path to AWS or Google Cloud into the plan, use Cloudflare in front, and keep everything in the client’s accounts with infrastructure as code. See DevOps services and cloud migration services.
Need a home for your API or app back end?
We will recommend the platform for your language, traffic and budget, set it up and document it.
Getting found in search
AI, AEO and what is changing
Paid media and lead generation
Websites and design
Choosing and working with an agency
Software and app development
Web development, platforms and hosting
- React vs Vue vs Angular
- Svelte vs React
- Astro vs Next.js
- Next.js vs React
- Web development frameworks
- What is a tech stack
- SSR vs CSR vs SSG
- React Native vs Flutter
- Vercel vs Netlify
- Cloudflare vs AWS
- AWS vs Azure vs Google Cloud
- Web hosting types compared
- Hosting for React and Next.js
- SaaS hosting
- WordPress hosting guide
- Website hosting for small business
- Headless CMS vs traditional CMS
- WordPress alternatives
- Best CMS platforms
- Webflow vs WordPress
- Wix vs Webflow
- Framer vs Webflow
- Shopify vs WooCommerce
- Custom software vs off-the-shelf
- Website development cost
- Monolith vs microservices
- Custom website development services
- React development company
- Next.js development company
- WordPress development company
- Webflow development agency
- Front-end development company
- WordPress maintenance services
- Ecommerce website redesign services
- Website migration services
- DevOps services
- Cloud migration services
- Website speed optimization services
- Website security services
Social, content and brand
By industry and by situation
Frequently asked questions
What is the best hosting for Node.js?
What is the best hosting for Django?
What is the best hosting for PHP and Laravel?
What is the best hosting for .NET?
What is database hosting?
Should I self-host my database?
What are the best Heroku alternatives?
DigitalOcean or AWS?
What is a PaaS?
Can I host a backend for free?
How much does backend hosting cost?
Where should background jobs run?
Is serverless cheaper?
Which does Progression Agency use?
Can you migrate our backend off Heroku?
Need software built?We design, build and support custom software, web apps and SaaS platforms, with a written scope first.
Get a free marketing proposal
Tell us what you are trying to grow and we will come back with a plan, not a pitch deck. Same-day reply on weekdays.
