Heroku seems to be tightening rules around free ti...
# tribe
r
Heroku seems to be tightening rules around free tier offerings. I want to continue using brilliant paas like Heroku but it's getting costlier. I've had very bad experiences with AWS and family. I'm looking for a guide on self hosting. Is there something that you recommend?
t
Never used these personally, but heard good things about them 1. Fly . io 2. Railway
r
Yeah I saw a few of them but I'm thinking that maybe I should self host. How can I learn that? P.S. I find devops a bit scary
m
fly.io is pretty easy if you have a dockerfile https://twitter.com/SathyaBhat/status/1520858245996367874 if you want to get started with self hosting, install Linux in a VM on your local system & install whatever you want to run.
both railway as well as fly.io take much of the ops out of you, they do all the heavy lifting.
šŸ‘ 1
r
I use Linux primarily for dev but I guess using it for prod is a bit different? Like have to setup ssl, data backups, restart on crash etc etc
Will try fly.io
l
I am using railway for a while now and it is quite good. And our good friend @helpful-raincoat-87337 works at Railway - so more the reason for us to give it a shot šŸ™‚
šŸ’Æ 3
šŸ’š 1
h
Heyo, on vacation currently so not really been on Slack but happy to answer any questions regarding Railway! šŸ˜„
āž• 1
r
@helpful-raincoat-87337 is there a guide on how to migrate a rails app from Heroku to Railway? I wanted to use the trial to evaluate a few things.
h
We have a generic guide but regarding your app, it should just work? Have you faced any issues when deploying it? https://blog.railway.app/p/railway-heroku-rails
r
I saw it says multiple processes in procfile won't work
h
You can create multiple services inside a project instead of having multiple processes in the Procfile within a single service.
The linked section has a video of the same + the entire changelog is basically everything we have on transitioning from Heroku to Railway.
r
Okay cool checking this
h
Boarding a flight in a couple of hours so I am a little caught up and will be offline for a bit but feel free to join our Discord, the community is super helpful and most issues are resolved without our intervention!
f
render.com is also a great Heroku alternative
r
Yes render.com is coming on the top from what I read. Also have you used Render @freezing-whale-32835?
f
Yes @refined-psychiatrist-35519, I’m using Render to deploy a side project of mine (Ruby on Rails server + Postgres + 2 Redis instances + cron jobs + background workers service). The free tier is good enough, has autoscaling built in, and costs grow linearly as the infra grows
šŸ’Ž 1
r
Thanks I've a very similar need. Will check it out.
d
If you don't mind self-hosting, then have a look at https://porter.run/
r
Yes I'm definitely more interested in self hosting then ever assuming it's not very time consuming. And this looks nice. Just a silly question isn't using K8 for smaller app going to be costlier? Right now my Heroku bill is around 30$
m
k8s is overkill for this.
d
Porter gives you a Heroku like experience. It uses K8 under the hood, but you will not need to touch it.