Alejandro Veintimilla
Alejandro Veintimilla

Reputation: 11523

Heroku dynos, mix free and hobby

Short Question - In my Procfile I have this:

web: gunicorn criptoweb.wsgi --log-file -
worker: celery -A criptoweb worker -events -loglevel info
beat: celery -A criptoweb beat

I have a problem though, in Heroku, I can't have more than 2 Free size dynos. If I click "upgrade to Hobby" next to my dynos, all of them change to Hobby. Given that it looks like I need three dynos ... Is there a way to have 2 Free Dynos and 1 Hobby dyno?

Upvotes: 1

Views: 2083

Answers (1)

Yoni Rabinovitch
Yoni Rabinovitch

Reputation: 5261

No. Every app using free dynos can include one free web, one free worker, and free usage of heroku run and Heroku Scheduler.

If you can refactor one of your Procfile processes to run either as "one-off" jobs (heroku run) or as scheduled jobs with Heroku Scheduler, then you could keep your app free. Otherwise, you will need to upgrade to hobby dynos.

See https://blog.heroku.com/archives/2015/5/7/new-dyno-types-public-beta for more details.

Upvotes: 4

Related Questions