1
7 Comments

Rails on Heroku

Hello. Am learning Rails 6 (thanks Michael Hartl). Heroku seems like a great Rails host. Anyone care to share stats? Traffic, dynos, cost etc?

on January 8, 2020
  1. 3

    Hi @dazzledonkey

    Heroku is great, and easy to get started with.
    I use it for my side projects and at work.
    However, the convenience comes at a cost, especially down the line. So go with Heroku if you do not want to deal with servers, firewalls, containers and what have you.

    1. 1

      +1 to this -- very well-said.

      @dazzledonkey I still run a Rails 3 (!) site on Heroku, and even though it's ~$200/month, I have to do absolutely zero maintenance on it. Pushing new code - though rare - is as simple as git push heroku master and you can't beat that one-liner for ease.

      Yes, I could probably do something by hand and get that $200/month down to $50 by setting things on on AWS or GCP directly and switching to some free services, etc. etc., but the hours of time it saves aren't worth it yet.

      I'd also check out Google App Engine while you're at it -- I haven't used it directly, but apparently it's almost as easy as Heroku and less expensive.

    2. 1

      Thanks madsobel. I'm guessing it still works out cheaper than having dev ops, even at scale?

  2. 1

    You should take a look at Qovery which is the future of Heroku. There is no vendor lock-in and the motto is "if it runs on local, then it runs on Qovery".
    Qovery relies on the great AWS infrastructure.

    Disclamer: I am a Qovery co-founder

    Please let me know if you are interested to give a try, we have 5 companies and 32 users using it in private beta.

  3. 1

    Heroku is kinda pricy. I use digital ocean with the capistrano gem for my server deploment. It is cheap and easy. Look at this link for a detailed tutorial. https://gorails.com/deploy/ubuntu/18.04

  4. 1

    In the same tune as Heroku is convenient at a cost, I would look into Hatchbox, or Render both seem like they have more reasonable pricing structure with the simplicity of deploying. Hatchbox was created by the founder of GoRails a popular rails tutorial site, it tends to have a solid community of support.

  5. 1

    I know a lot of people like Heroku, but every time I try to use it there ends up being something missing or adding it would be really expensive. If I were deploying a Rails app I would probably use HatchBox.io.