How can I run Heroku server 24/7

Viewed 2726

I need to be able to run my Heroku app 24/7 even when no one is currently viewing it. It's primarily a server side application that I need to constantly be running at all times.

What's the cheapest and best way to go about doing this. I don't mind paying as long as I'm not paying unnecessarily.

Thank you.

1 Answers

You have three options:

  • Hobby subscription
  • Free Web Dyno
  • Free Worker Dyno

(1) Go for the Hobby subscription: 7$ per month, the Dyno is 24/7 up and running

(2) Use the Free tier, register a valid credit card which gives you extra free Dyno hours (total of 1000 hours) and make sure the Dyno is always up.
The Free Web Dyno sleeps after 30 min inactivity (ie no incoming requests for 30 minutes): you can prevent this sending a request (from an external tool or script) every 20 min.

(3) Use the Free tier (again register a valid credit card to be eligible to 1000 free hours) with a Worker Dyno only (free worker dyno do not sleep)

More info at Free Dyno Sleeping

Related