DEV Community

Cover image for 9 Hand Picked FREE Heroku Alternatives [2023]
Gourav Khunger for Genics Blog

Posted on • Originally published at genicsblog.com

9 Hand Picked FREE Heroku Alternatives [2023]

Beginning November 28, 2022, Heroku, one of the most popular go to choice used by developers to host their apps, announced that it would be shutting down its free tier.

Note: Listen to the audio version of this article at genicsblog.com.

The Platform-as-a-Service (PaaS) provider's free tier used to provide a generous 550 hours of dyno uptime which could be easily extended to 1000 hours with a verified credit card.

Even though these dynos shut down after 30 minutes, it could be resolved by various methods to keep Heroku apps awake, thus becoming the easiest way to host software projects for free.

The free tier shutdown news left many developers in search for alternative hosting platforms that could provide a similar API and website hosting services free of cost. As a result, I have compiled a list of the top 9 free Heroku alternatives to use in 2023.

If you are interested in watching a video format of this article, check this out:

While there are many hosting platforms available in the market, these carefully selected services provide the best options for developers to host their Frontend/Backend applications, APIs, Servers, etc.

These alternatives offer features similar to Heroku, such as support for multiple programming languages, easy deployment, and scalability. So whether you are a seasoned developer or just getting started, keep reading to discover the top free Heroku alternative hosting platforms:

1. Deta

Deta space is a relatively new comer to the market but their offerings make them top our list. You can host both static and dynamic content within minutes.

Image description

Whether it be building frontend or backend applications with any technology, Deta has got you covered with their infrastructure they call as the "Personal Cloud".

Pros

  • No credit card verification required.
  • Easy project deployments through their CLI application.
  • No limits on the number of builds / deployments.
  • Support for any kind of technology/framework to build your application.
  • Free hosting for Node.js / Rust / Go / Custom backend apps as well as SvelteKit / Next / Static Apps.
  • Free application uptime throughout the month.

Cons

The pros far outweigh the cons of Deta making it the best choice for developers to host their projects and applications and move away from Heroku.

  • Deploying on Deta requires initial project configuration and setup changes.
  • Resource usage limits are generous but may not be sufficient for everyone.

2. GitHub Pages

GitHub Pages is a free web hosting service provided by GitHub. You can easily create and host static websites served directly from your project's GitHub repository.

Image description

It offers a simple and efficient way to serve static websites built with HTML, CSS, and JavaScript.

It also supports popular website generators such as Jekyll, Hugo, Gatsby, etc. You can also use custom GitHub Actions to create your own publishing pipeline in a matter of minutes.

GitHub Pages provides support for custom domains, HTTPS encryption, and easy integration with other GitHub features such as Git version control and issue tracking all for free!

Pros

  • Free web hosting for static websites.
  • Easy integration with other GitHub features.
  • Support for popular static site generators.
  • Simple and intuitive user interface for creating and managing websites.
  • Ability to collaborate with other developers on the same repository and website.
  • Good performance and reliability due to GitHub's infrastructure.

Cons

  • No support for dynamic websites or web applications.
  • No support for server-side scripting or database integration.
  • 1 GB storage and 100 GB monthly bandwidth soft limit on the free tier.
  • Not suitable for websites that require higher levels of security or scalability.

This service is perfect for those who want to showcase their side projects, blogs, or portfolios without the need for complex infrastructure or hosting setups.

3. Oracle

Oracle Cloud's free tier has been a game changer recently. The Always Free services provide unmatched resources for developers to build and deploy their apps, without worrying for usage limits.

Image description

Pros

  • Reliable services from Oracle.
  • Host any kind of applications.
  • VMs stay up indefinitely — No fret about downtime.

Cons

  • Requires credit card verification to begin usage.
  • Platform complexity makes it not so easy to use.
  • Manual configurations required for deployment.
  • Overkill for small / medium projects.

4. Cloudflare Pages

Cloudflare Pages is a part of the numerous services provided by Cloudflare for building and deploying static websites, APIs, and applications.

Image description

It provides a simple way for developers to create high-performance websites that are scalable, secure, and easily integrated with other Cloudflare services.

Whether you are building a personal blog or a complex web application, Cloudflare Pages offers a range of features and benefits that make it a great choice for web development.

Pros

  • Free web hosting for static and dynamic websites, including unlimited bandwidth and custom domain support.
  • Full stack support with serverless functions using Cloudflare Workers.
  • Unlimited preview deployments for your projects!
  • Support for redirects and headers for files.
  • Automatic SSL encryption and security features, including DDoS protection and firewall rules.
  • Easy integration with popular Git-based version control systems like GitHub, GitLab, and Bitbucket.
  • Support for popular web frameworks like React, Next.js, Vue.js, Angular, etc.
  • Fast and reliable global content delivery network (CDN) powered by Cloudflare's infrastructure.

Cons

  • 500 builds per month hard limit.
  • A maximum of 20,000 files per deployment where each file should be less than 25 MiB.
  • Complexity for developers who are not familiar with serverless architecture or the Cloudflare ecosystem.
  • No built-in database support, although these can be integrated with third-party services.
  • Limited support for legacy web technologies or platforms that are not Git-based.

This service is the most suited for those who already use Cloudflare services with their existing websites and are looking to migrate to a different hosting platform.

5. Vercel

Vercel is a cloud-based platform that provides users with the most modern UI/UX to deploy their websites and applications within minutes. It is focused on providing an easy-to-use solution for building and deploying websites and applications.

Image description

It has become a popular choice among developers who are looking for a platform that can offer serverless deployment, scalability, and performance. With Vercel, developers can easily deploy their code and enjoy fast loading speeds, excellent scalability, and reliability.

Pros

  • Best for Next.js powered projects.
  • Easy to use dashboard built for fast deployments.
  • Automatic serverless deployment and scaling using its cloud infrastructure and CDN.
  • Easy for developers to handle traffic spikes and scaling needs.
  • Extensive library of plugins and support for integrations, and add-ons.
  • Excellent documentation and community support.
  • Vercel Sponsorships for open-source projects.

Cons

  • Vercel's free plan has various limitations.
  • Although it supports popular web frameworks like Next.js and Nuxt.js, it is not the best choice if you require more flexibility and control over your stack.
  • It is a cloud-based platform, which means that developers do not have complete control over the underlying infrastructure and environment.
  • Vercel's recently launched serverless storage solutions are relatively new.

6. Railway

Railway is like a copy of Heroku but with slight differences. The platform's UX is top notch, and their pricing and restrictions are good enough to make it a viable Heroku alternative.

Image description

Pros

  • Platform experience is very similar to Heroku with the UI being very modern.
  • Deploy any kind of API / website tech stack.
  • Great documentation to get started with.
  • Easy integration with GitHub to deploy your repository.
  • All plans include preview environments for each PR, Multiple custom domains with SSL, deploy from any GitHub repository, etc.
  • Built-in database integrations.

Cons

  • Limited resources without credit card verification. Once verified, it is generous enough to sustain small / medium scale projects for free.
  • Even though they bill for resource usages by the minute, it can become expensive quickly if you pass the limits.

7. Render

Render is a powerful cloud platform designed to simplify the process of building, deploying, and scaling websites and applications. It has gained popularity among developers due to its ease of use, reliability, and robust set of features.

Image description

Pros

  • Render offers a generous free tier with ample resources, including free SSL certificates and custom domain support.
  • Automatic scaling and zero-downtime deployments, ensuring your website or application can handle traffic spikes and updates without interruption.
  • Support for a wide range of programming languages and frameworks like Node, Python, Go, Rust, PHP, Elixir, Docker, etc.

Cons

  • Render deletes Free tier PostgreSQL databases after 90 days from creation, making their database services unusable without paying a fee.
  • May become expensive for scaling.

8. Cyclic

Cyclic is designed to streamline your DevOps workflows and revolutionize the way you approach continuous integration and deployment. With Cyclic, developers can harness the power of automation to build, test, and deploy their applications effortlessly.

Image description

Pros

  • Apps on Cyclic do not sleep even on the free tier.
  • Cyclic's smart caching technology delivers the best performance globally.
  • Features its cron jobs technology with 1 second precision triggering.
  • Easily scalable.

Cons

  • As of now, Cyclic supports JavaScript, TypeScript, and Python runtimes only.
  • Good for APIs but not for other types of projects.

9. Fly.io

Fly.io is an edge computing platform that empowers developers to optimize their applications for lightning-fast performance and global delivery.

Pros

  • Fly.io features a vast network of edge servers strategically placed around the world to bring your applications closer to your users.
  • Generous free allowance to run small scale apps.
  • Supports many languages and frameworks like Go, Crystal, RedwoodJS, Python, Ruby, Deno, etc.
  • Seamless traffic shifting and canary deployments to roll out updates gradually, ensuring a smooth transition while minimizing the risk of errors or downtime.
  • In depth migration from Heroku guide.

Cons

  • The learning curve to use Fly.io can be steep.
  • Better alternatives exist to host small scale apps.

Notable mentions

  • Netlify and Firebase are also great tools to deploy basic frontend apps for free.
  • If you need finer control over your stack, AWS / GCP / Azure are the leading cloud services.

Conclusion

I hope this comprehensive list of 9 hand picked Heroku alternatives that you should be using in 2023 helps you evaluate your options for deploying your backend APIs and frontend applications.

Did I miss any great option? Leave a comment below to start a discussion.

Thank you for reading so far!

Top comments (27)

Collapse
 
foxonthe1 profile image
Fox Scarlett

I have apps on Render, Vercel, and Heroku. Have been putting all new things on Render since last year, working good so far, one key thing on Render is you get shell access ❤️. Netlify is great for a free basic front end app, I have a simple thing on there and it was effortless. Vercel is excellent for a serious app but def more complicated (beyond simple stuff) and hard to stay free. You could look at Supabase for a free backend and put the front end on Netlify. Looking to move off of Heroku as soon as feasible, it seems like more and more problems with them.

Collapse
 
gouravkhunger profile image
Gourav Khunger

Thank you for your input! 🙌

Collapse
 
iq9 profile image
Russ Brooks • Edited

Missed one. Deno Deploy. My site is running on it. Also puts your site on 35 international POPs. Zero latency for my friends in Australia:

russbrooks.com/colophon

Deno Deploy is just a great service.

Collapse
 
gouravkhunger profile image
Gourav Khunger

Damn awesome stuff. Thank you for adding this!

Collapse
 
syeo66 profile image
Red Ochsenbein (he/him)

VPS' with Caprover is my goto solution.

Collapse
 
jannisdev profile image
Jannis

I also just a VPS (from Contabo) and host with Coolify which is really great.

Collapse
 
gouravkhunger profile image
Gourav Khunger

Great! What VPS do you currently have? Any recommendations?

Collapse
 
syeo66 profile image
Red Ochsenbein (he/him) • Edited

I can recommend Contabo. Anyways it's not really free. But really cheap

Thread Thread
 
gouravkhunger profile image
Gourav Khunger

Great, I had heard of BuyVM too but this seems even cheaper. Thanks a lot!

Collapse
 
ra1nbow1 profile image
Matvey Romanov

What's about Netlify?

Collapse
 
gouravkhunger profile image
Gourav Khunger

Netlify can be considered similar to Vercel. Maybe check this out. Thanks!

Collapse
 
ra1nbow1 profile image
Matvey Romanov

Thanks

Collapse
 
daliusbeckjr profile image
Dalius Beck jr

I usually use either the github pages or even cloudflare but those are awesome for beginners. I am thinking about moving towards AWS to get more into their web services and have a familiarity to get my certificates

Collapse
 
gouravkhunger profile image
Gourav Khunger

GitHub Pages and Cloudflare Pages work seamlessly 💯

Collapse
 
akashpattnaik profile image
Akash Pattnaik

Render.io is my personal favourite in the sense of a free server.

Collapse
 
gouravkhunger profile image
Gourav Khunger

Yup, great service! Though Deta is my current go to platform for deploying hobby projects :)

Collapse
 
alisdairbr profile image
alisdairbr

Have you checked out Koyeb?

Collapse
 
gouravkhunger profile image
Gourav Khunger

Nice stuff. Seems better than railway.app with their recent pricing change. Thank you!

Collapse
 
alisdairbr profile image
alisdairbr

Let me know if you have any questions or feedback as you check out Koyeb and get started. More than happy to chat and help!

Collapse
 
crazy_man profile image
crazy man

Deta looks very good. I have deployed my django rest api application for free on Deta Space.
Now, I definitely love it

Collapse
 
gouravkhunger profile image
Gourav Khunger

Yup, Deta is really good!

Collapse
 
leob profile image
leob

A bit apples and oranges?

Collapse
 
gouravkhunger profile image
Gourav Khunger

Compared to other articles on this topic, I think I covered most aspects of what free services are comparable to Heroku specifically for hobby projects. Free services will never provide services closer to paid products. But I think these tools do the job for hosting simple projects, which one can avoid paying money for.

For backend application, you have Deta and Cyclic.
For frontend, GH Pages, Cloudflare Pages, Vercel, etc.
For a managed solution more closer to Heroku, Railway.
All rounder, Oracle.

Collapse
 
leob profile image
leob • Edited

Yeah that's just what I meant, Heroku is a PaaS where you can deploy/host/monitor/manage your traditional Rails or Django "full stack" app - so Railway would be more "apples to apples", within that category.

Well, and also Fly.io apparently, they have a very detailed "cookbook" on how to transfer your Rails app fro Heroku onto their platform.

But for Fly.io I'd add as a "con" that their pricing model is way more complex compared to some others who have more like 3 tiers along the lines of "hobby, pro, enterprise" (with a base monthly price and optionally an "on demand" component) - with Fly.io it seems thoroughly unclear up front what the costs will be.

Vercel, Cloudflare, Github Pages and most others are more the new school "JAMStack" thing - build (and host) a SPA, and build an API (often using "functions" or comparable 'serverless' technology).

So you first have to consider what kind of 'stack' you want for your app (a traditional monolith, or "JAMStack", SPA + API) - and then the options that make sense are already greatly reduced.

But it's an interesting overview, thanks for that - there are even some options which I'd never heard of, the choices are MANY ... do you think all of these platforms/providers will survive in 5 years from now? This market is starting to look rather crowded.

P.S. and Deta is neither "JAMStack" not "Heroku" it seems - it goes more a bit in the direction of Github Codespaces? Having your own 'machine' somewhere in the cloud ... and what about platforms like Firebase and Supabase? JAMStack "with a twist" ...

Thread Thread
 
gouravkhunger profile image
Gourav Khunger

Very true! Fly.io's system is a bit complicated. Maybe because they care to build and manage things themselves to provide too much flexibility, it gets overkill for an average user.

Regarding the tech stack, I think most of the people on Heroku's free tier, like me, used it only for simple Node.js backend api's and discord bots. That segment of users is already not too concerned where they are hosting their apps — the only condition being they get the service for free. I have some open source projects requiring a simple backend (e.g. deref and jekyllex), and I do not plan to pay a monthly fee to host them anytime soon.

I also agree that free services like these are not for the long term. If one is very concerned about the uptime of their services for as long as possible, they are better off paying some established hosting platform. There is always a trade off using things that are free — in this case it being migrating every now and then as free plans shut down.

Deta had a transition from what it called "Cloud" to now "Space". Cloud was more concerned with hosting micros (small backend services which exposed endpoints), that stored data in their NoSQL database "Base" or file storage "Drive". The transition has introduced the concept of installing apps to user accounts. This is similar to forking repositories on GitHub. You can install apps from their marketplace, set up your environment (so your app data stays with you), and update apps when new versions are available. This was done to introduce monetization in their service. But hosting backend and frontend applications without listing your project to their marketplace is still possible. I have had a great experience so far and thus it is my current go to platform to host my hobby/open-source backend projects.

Thanks a lot for your input!

Thread Thread
 
leob profile image
leob

Thank you too! Interesting stuff :)

Collapse
 
crazy_man profile image
crazy man

Here is a project deployed on Deta Space for definitely free.
I used Django and restframeowork as a backend, and used React.js as a frontend.
Please take a look at this project, and If you think it's useful, please give it a star.
github.com/crazy-man22/django-reac...