Heroku
Salesforce-owned platform-as-a-service that runs apps in managed containers (dynos) with add-ons for databases and other services.
Alternatives
Tech stack
No tech stack added yet. Sign in to suggest some
Note: We couldn't retrieve the content of the official website this time, so the following was written based on existing knowledge of Heroku. Please check the official website for the latest details on pricing, plans, and so on.
Overview
Heroku is one of the earliest cloud platform-as-a-service (PaaS) offerings and is now owned by Salesforce. Its core idea is to let developers focus on writing code, while the platform handles operations work such as server configuration, operating system maintenance, load balancing, and scaling. Developers push their code to Heroku, and the platform automatically detects the language, builds the app, and runs it.
Key Features
- Dyno container runtime: Apps run in lightweight Linux containers called Dynos. Dynos come in several sizes, and you can scale horizontally or vertically from the command line or the dashboard.
- Automatic builds with Buildpacks: Official support covers Node.js, Ruby, Python, Java, PHP, Go, Scala, Clojure, and more, and you can also use community or custom Buildpacks. Deployment with Docker containers is supported as well.
- Git push deployment: Run
git push heroku mainto deploy, or connect GitHub for automatic deploys. - Managed data services: Fully managed data services are available, including Heroku Postgres, Heroku Key-Value Store (Redis-compatible), and Apache Kafka on Heroku.
- Add-ons marketplace: Connect third-party services for logging, monitoring, email, search, caching, and more with a single click.
- Pipelines and Review Apps: Use pipelines to manage multiple environments such as development, staging, and production, and automatically generate a temporary preview app for each Pull Request. Heroku CI is also available for continuous integration.
- Enterprise features: Private Spaces provide dedicated, network-isolated runtime environments, and Heroku Shield is aimed at use cases with compliance requirements.
Target Users and Use Cases
- Individual developers and startup teams who want to launch MVPs and prototypes quickly
- Small and mid-sized teams that don't want to invest in dedicated operations staff, using it to host web apps and APIs
- Enterprise applications that need to integrate with the Salesforce ecosystem
- Teaching, demos, and hackathon projects
Core Strengths
- Great developer experience: Low barrier to entry, a simple deployment workflow, and thorough documentation.
- No ops required: The platform takes care of system patches, runtime updates, routing, and load balancing.
- Mature ecosystem: A rich add-on marketplace and plenty of community resources.
- Easy scaling: Adjust the number and size of Dynos as needed.
How to Use
- Sign up for an account on the official website and install the Heroku CLI.
- In your project directory, run
heroku loginandheroku createto create an app. - Run
git push heroku mainto deploy your code. - Use commands such as
heroku ps:scale web=1to adjust running instances, andheroku addons:createto add services such as databases.
Things to Note
- Heroku eliminated its free plan at the end of 2022, so it now requires payment. Entry-level options include low-cost Dyno plans such as Eco and Basic.
- It is a closed-source, commercial managed service and cannot be self-hosted. For self-hosted options with a similar experience, take a look at Dokku, Coolify, CapRover, and others. Commercial alternatives include Render, Railway, Fly.io, and others.
- Under high load, costs may be higher than using IaaS cloud servers directly.
Discover more
Render
Cloud platform for deploying web services, static sites, background workers, cron jobs and managed Postgres from a Git repository.
Vercel
Frontend cloud platform for deploying web apps and Next.js sites with preview deployments, serverless functions and a global edge network.
ShellBean
ShellBean is a platform that simplifies the creation and deployment of web applications by automating infrastructure management and development workflows.
92five
Self-hosted project management application.
AWS Amplify
AWS Amplify is Amazon Web Services' full-stack web and mobile app development platform. You define data models, authentication, and business logic in TypeScript, and it automatically provisions and deploys the corresponding AWS cloud resources. It also offers Git-based frontend hosting and CI/CD, so users don't need deep knowledge of cloud services.
Aastro
Extensible API Gateway written in Go. Load custom plugins to extend functionality.