
Heroku
Salesforce · Coding
Heroku is a cloud platform as a service (PaaS) that lets you deploy, run, and scale applications without managing servers yourself. You push code with Git, and Heroku handles the runtime, networking, and scaling behind it. It supports popular languages like Node.js, Python, Ruby, Java, Go, and PHP, plus managed databases through add-ons. The platform has been owned by Salesforce since 2010, and pricing now runs on a consumption model built around dynos. It suits developers who want app hosting to stay out of the way. The old free tier is gone, so nothing here is genuinely free.

About Heroku
What Is Heroku
Heroku is one of the original cloud platform as a service products, first launched in 2007 and acquired by Salesforce in 2010. The pitch hasn't changed much in nearly two decades: you write an app, push it to Heroku with Git, and the platform builds and runs it for you. No load balancers to configure, no operating system to patch.
That simplicity is the whole point. Heroku manages the runtime environment, so a small team can ship a backend API or a full-stack web app without hiring someone to babysit servers. Managed data services, add-ons, and one-command deploys cover most of what a typical project needs to get to production. The setup is fast.
The main catch is cost. Heroku removed its free product plans at the end of 2022, so you pay from the first dyno onward. Small side projects that once ran for nothing now start around $7 a month per dyno. Databases and caching stack on top. If your goal is the cheapest possible app hosting, Heroku isn't competing there anymore.
Getting Started
- Create a Heroku account and verify it with a credit card, since the platform no longer offers a free tier.
- Install the Heroku CLI (it needs Git), then run
heroku loginin your terminal. - Prepare your app with a supported language and add a Procfile or buildpack so Heroku knows how to run it.
- Deploy with
git push heroku main, then open the app withheroku open. - Add a managed database or other add-ons with
heroku addons:createas your project grows.
Product Information
A quick look at Heroku's pricing, supported platforms, and performance.
Best for
The users, tasks, and scenarios where this tool fits best.
Users
- Solo developers and small teams who want app hosting without server maintenance, and can budget for a paid dyno from day one.
- Backend and full-stack engineers shipping REST APIs, workers, or web apps in Node.js, Python, Ruby, or Java who prefer Git-based deploys over container plumbing.
- Teams already inside the Salesforce world that want a managed runtime close to their existing data and workflows.
Tasks
- Deploying a web app or API straight from a Git repository without writing infrastructure config.
- Running scheduled jobs and background workers alongside your app on the same platform.
- Spinning up a managed Postgres or Redis instance and wiring it to your app with a single command.
- Prototyping a product idea fast, then scaling dynos up or down as traffic changes.
Scenarios
- Shipping a first version of a SaaS backend before traffic justifies a more complex setup.
- Hosting internal tools and admin dashboards for a small company without a dedicated ops person.
- Moving an early-stage app off a laptop and onto a real URL in an afternoon.
Key features
Git-based deploys
You deploy by pushing to a Heroku remote, the same way you'd push to GitHub. Heroku detects your language, installs dependencies, builds the app, and releases it. Rollbacks are one command if a deploy goes bad. That takes the stress out of shipping on a Friday.
Dynos and simple scaling
Apps run on dynos, lightweight containers that Heroku manages for you. Scaling is a number: add more dynos for web traffic, or run a worker dyno for background jobs. You don't provision machines or tune a scheduler. So what's the catch? Dynos are priced per unit, and a busy app that needs several web dynos plus a worker running around the clock can quietly turn a small monthly bill into a much larger one before you notice.
Managed data services
Heroku offers Postgres, Redis, and Kafka through add-ons, all provisioned and connected with a single CLI command. Credentials land in your app's config automatically, so there's no manual connection string juggling and no chance you'll paste a production password into the wrong environment file by accident. That's it.
Multi-language support
Heroku runs Node.js, Python, Ruby, Java, Go, PHP, Scala, and Clojure through official buildpacks. You pick your stack; the platform adapts. That's the point. That flexibility means a small team can keep using the language it already knows rather than rewriting a working codebase just to match the constraints of a particular host.
Add-ons marketplace
Beyond databases, the add-on marketplace covers logging, monitoring, email, search, and more. Each add-on attaches to your app and shows up in the same dashboard. It's a fast way to get production tooling without signing up for five separate services and stitching their credentials into your config by hand at two in the morning.
Heroku Pipelines and review apps
Pipelines link your staging and production apps so you can promote a build through environments. Review apps spin up a temporary instance for each pull request, so teammates can click a real URL before merging. Small teams get continuous delivery without extra tooling. No CI setup required.
Heroku MCP for AI agents
Heroku now exposes Model Context Protocol (MCP) support, letting AI agents interact with platform resources through a standardized interface. It's part of Salesforce's push to connect apps and agents on the same foundation. For developers building agent-driven workflows, it's a way to reach real-time app context and compute without wiring up a pile of custom integrations by hand.
Pros and cons
Pros
- Deploying is genuinely simple: push code, get a URL, skip the server setup entirely. No SSH keys to manage and no firewall rules to get wrong at midnight. Simple as that.
- Strong multi-language support, so you aren't locked into one stack.
- Managed Postgres, Redis, and add-ons connect with a single command.
- Review apps and pipelines bring continuous delivery to small teams without extra work.
- Long-running platform with well-documented behavior and a familiar Git workflow.
Cons
- No free tier since late 2022, so even a tiny app starts around $7 a month per dyno.
- Costs scale fast once you add dynos, databases, and add-ons; a modest production setup can run well past $100 a month.
- Dyno restarts happen daily, which means apps must handle brief interruptions gracefully.
- Compared with raw cloud providers, you pay a convenience premium and get less low-level control.
Frequently asked questions
No. Heroku ended its free product plans on November 28, 2022, closing free dynos and free data services to prevent abuse and fraud. Every app now runs on a paid plan, starting around $7 a month for a Basic dyno. You can still explore the platform through a paid trial, but there's no permanent free tier.
Related content
Explore related tools, skills, and articles for Heroku.
Heroku Alternatives
Forefront
Forefront · CodingForefront is a web platform for building with open-source AI. It lets you fine-tune leading open-source language models on your own data, evaluate how they perform, and run them through an API or export them to host yourself. Developers who want the convenience of a closed-source platform but insist on owning their models and data are the target audience here.
Startkit
StartKit.AI · CodingStartkit is a boilerplate for building AI SaaS and AI wrapper products. Think of it as an AI startup boilerplate with the boring parts already wired up: authentication, Stripe and Lemon Squeezy payments, usage limits, transactional email, and an AI API starter that talks to OpenAI, Anthropic, Groq, or Llama. You clone the repo, set your price, and start on the part of your product that people actually pay for. It's Next.js under React and Tailwind, so most of the boilerplate code already feels familiar.
Testim
Tricentis · CodingTestim is an AI-powered test automation platform for building and running end-to-end tests across web, mobile, and Salesforce applications. It leans on machine learning to keep tests stable when an interface changes, so teams spend less time fixing broken selectors. Not bad for an automated testing tool you can start using today. You create tests by recording actions in a browser, then optionally add JavaScript when you need more control. It's a solid pick for busy QA teams.
