Prompt
I'm unhappy with Heroku for our SaaS app; what are the better options?
Latest observation
If you’re unhappy with Heroku for a SaaS app, the “better” option usually depends on what you dislike most: cost, scaling limits, deployment flexibility, or operational control.
Common alternatives to Heroku
1. Render
Best for: simple deployments with less ops work
- Very Heroku-like developer experience
- Easy Git-based deploys
- Managed databases, background workers, cron jobs
- Usually cheaper/more transparent than Heroku for many workloads
Tradeoff: still a managed platform, so less control than raw cloud infrastructure.
2. Fly.io
Best for: global apps, edge deployment, Docker-based workloads
- Deploy containers directly
- Good for apps needing low latency near users
- Flexible and often cost-effective for small-to-medium apps
Tradeoff: more infrastructure concepts to learn than Heroku.
3. Railway
Best for: fast setup and dev-friendly workflows
- Very easy to get started
- Good for prototypes and early-stage products
- Nice for small teams
Tradeoff: can become expensive or less predictable as usage grows.
4. AWS Elastic Beanstalk
Best for: teams already on AWS who want a managed PaaS layer
- Handles deployment and scaling
- Integrates with AWS ecosystem
Tradeoff: more clunky and less pleasant than Heroku; AWS complexity still leaks through.
5. Google Cloud Run
Best for: containerized apps with spiky traffic
- Serverless containers
- Scales to zero
- Great for stateless web services and APIs
Tradeoff: not as “app-platform” friendly out of the box; background workers and stateful pieces need more design.
6. Azure App Service
Best for: Microsoft-heavy stacks or Azure-centric orgs
- Managed app hosting
- Good for .NET and enterprise environments
Tradeoff: not usually the first choice for startup SaaS teams unless you’re already in Azure.
7. VPS + Docker (DigitalOcean, Linode, Hetzner, etc.)
Best for: lower costs and full control
- Run your own containers with Docker Compose, Coolify, Dokku, CapRover, or similar
- Often much cheaper at scale than Heroku
- More control over networking, storage, and performance
Tradeoff: you own operations, patching, monitoring, backups, and incident response.
8. Managed Kubernetes
Best for: larger teams with platform engineering needs
- Strong scalability and portability
- Good if you have many services and a platform team
Tradeoff: too much complexity for many SaaS startups.
Good rule of thumb
- Want Heroku-like simplicity: Render or Railway
- Want containers + global placement: Fly.io
- Want cheap and flexible: VPS + Docker
- Want cloud-native scaling: Cloud Run or AWS
- Want enterprise integration: Azure
If you’re a SaaS startup, my practical shortlist
- Render if you want the least friction
- Fly.io if you’re comfortable with Docker and want more flexibility
- Cloud Run if your app is containerized and traffic is variable
- VPS + Docker if cost is the main pain point and you can handle ops
A migration checklist
Before switching, compare:
- Deployment workflow
- Database support and backups
- Background jobs/queues
- Observability/logging
- SSL/domain handling
- Autoscaling and idle behavior
- Cost at your current and expected usage
If you want, I can recommend the best option based on:
- your stack (Ruby, Node, Python, etc.)
- whether you use Docker
- whether you need workers/cron
- your traffic level
- your budget and ops tolerance