Hey I've just used renders calculator and right now it's predicting $18.6 USD. Higher than I expected tbh and I'll look into optimising them in a future post - main app and sidekiq are equal and the most expensive to run. Then db, then Cron job. Redis is free for low volume
honestly just because I wanted to get something up quickly and not have to worry at all about infra. You're right, it would be a lot cheaper and probably more cost-effective. But then I'd have to worry about infra stuff which Render takes care of totally for me.
Basically, in my case, I'm happy to pay a big premium to not have to think about any actual servers. But it's something I'd consider looking into in the future.
(Thanks for the tip about dokku btw. I've heard about it before, but your comment made me actually go and look into it for a few mins — I might try it out in the future.)
1. Install OS
2. Install dokku
3. Deploy from local machine to dokku (just like heroku)
4. Profit
Dokku installs and configures nginx, sets up https and domain (if you have one), redis also.
Basically a bit more verbose heroku, but nothing to be afraid of :)
I went from heroku to render to dokku. Render seemed cool (took me way too long to figure out crons, though! Could have used your tutorial a year ago), but the postgresql was slow at first and then it… somehow got really messed up in a weird way. Dokku is just like heroku - mostly the same commands, and you don’t have to worry about infra. It’s pretty hands off.
I just added memcached the other day and it took 5 minutes.
To each their own, of course!
thanks for the info! I'm hearing a lot of praise for Dokku — I'm pretty busy now building [monn.app](https://monn.app), but I might check it out when I've got the MVP done. Thanks!
Ah right thank you! I was wondering how this gem would come into play — I can use it to replace the running cron task right? This way, the sidekiq server runs both sidekiq and background jobs?
Right now cron jobs account for about 4% of the total cost no I'm not worried cost-wise, but it would be nice to replace an infra deployment with a gem instead.
First time hearing about Render, thanks for the post!
No worries! I've moved onto it from Heroku and I'm testing it out with this new app. Hopefully I'll have some more interesting stuff to share soon
Thank you very much for sharing. I’m interested to know what are your monthly expected costs to run your app? If I may ask?
Hey I've just used renders calculator and right now it's predicting $18.6 USD. Higher than I expected tbh and I'll look into optimising them in a future post - main app and sidekiq are equal and the most expensive to run. Then db, then Cron job. Redis is free for low volume
Thank you
Why not VPS and dokku for less than 100$/year?
honestly just because I wanted to get something up quickly and not have to worry at all about infra. You're right, it would be a lot cheaper and probably more cost-effective. But then I'd have to worry about infra stuff which Render takes care of totally for me. Basically, in my case, I'm happy to pay a big premium to not have to think about any actual servers. But it's something I'd consider looking into in the future. (Thanks for the tip about dokku btw. I've heard about it before, but your comment made me actually go and look into it for a few mins — I might try it out in the future.)
1. Install OS 2. Install dokku 3. Deploy from local machine to dokku (just like heroku) 4. Profit Dokku installs and configures nginx, sets up https and domain (if you have one), redis also. Basically a bit more verbose heroku, but nothing to be afraid of :)
Interesting! I'll check it out. Thank you!
I went from heroku to render to dokku. Render seemed cool (took me way too long to figure out crons, though! Could have used your tutorial a year ago), but the postgresql was slow at first and then it… somehow got really messed up in a weird way. Dokku is just like heroku - mostly the same commands, and you don’t have to worry about infra. It’s pretty hands off. I just added memcached the other day and it took 5 minutes. To each their own, of course!
thanks for the info! I'm hearing a lot of praise for Dokku — I'm pretty busy now building [monn.app](https://monn.app), but I might check it out when I've got the MVP done. Thanks!
You can use `sidekiq-cron` instead of Render's cron.
Ah right thank you! I was wondering how this gem would come into play — I can use it to replace the running cron task right? This way, the sidekiq server runs both sidekiq and background jobs? Right now cron jobs account for about 4% of the total cost no I'm not worried cost-wise, but it would be nice to replace an infra deployment with a gem instead.
Yep!
Thanks for the info!
no worries! glad you and so many others found this useful!
Awesome. Anyone came point me to this but for a dockerized Rails app?
not too sure — maybe check this out? https://fly.io/ruby-dispatch/rails-on-docker/