5 ms·
Ask HN: Alternative to Heroku
I am a bit in a pickle. Looks like I cannot trust or even use Heroku any more. The trust is broken a bit because of how they are handling the breach, that they had.
The "use" is even more complicated. I've used review apps extensively with their pipeline, and since they revoked GitHub integration 2/3 of Heroku are non-functional for me (no review apps, no staging migration pipeline).
I've been looking for alternatives and found them severely lacking in security scope or basic functionality.
Render.com
- There is no concept of read/manage permissions. Anyone who is invited into a team can delete the team, all apps, services etc. By design of their UI also possibly by mistake. Support responded that they have been working on this the last 2 years or something like that.
- /tmp folders are misconfigured. This means that if you send a large enough POST and the web server stores the payload into a temp folder, that seek file is lost. I noticed this after a week of random EOF errors that the web server reported. The support responded I should just use their disk offering and that ephemeral services should not use temp folders, mind that Heroku is also ephemeral but /tmp folder can still be used because otherwise you have above problem.
- GitHub integration. The problem is that only one team/user can link the app to the entire platform. This means that if other team members visit the "Blueprint Sync" page, they will see an error that GitHub integration is broken. And for every team that you have, you would have to create a new GitHub user, just to set up sync and only that user can then see sync status.
I feel they are working hard and are closest to the Heroku. Yet I feel they are not up to the task that Heroku was/is, in particular I think they are not using the service themselves otherwise they would fix these shortcomings a long time ago.
Railway.app
They have Teams properly solved, and GitHub integration also works as expected. But they have issues elsewhere.
- Builder is slow as hell. For example, 200mb bundle needed 6 minutes to be deployed (they don't have build cache) and I was able to do it only once. The second attempt resulted in timeout (builds in 179s on Heroku and on Render in ~30s).
- No support for scheduled executions. This is a feature that both Heroku (Scheduler) and Render (Cron Jobs) provide. What it does, it spins the bundle/container and executes something at specific interval, you pay extra, but that's the whole point so that you can run more demanding tasks. I would have to rewrite everything into fake web cron of PHP era.
Do you know any alternatives besides these two? What are your plans with Heroku?
- sph 4y agoThere's Dokku: https://dokku.com/ https://dokku.com/ I haven't kept up with it in years, so I'm not sure it's still the status quo.
- dz0ny 4y agoI would like to avoid the case where I have to manage the ops on my own.
- xrd 4y agoI would recommend trying dokku for thirty minutes. It's incredibly easy and once you use it you'll be a convert. I almost never do any maintenance and run dozens of services. All for the price of a VPS. It's very powerful and very inexpensive.
- xrd 4y agoAnd by the way, dokku has support for cron jobs and everything else you indicated, all for free. Dozens of plugins that support every database. Git push almost any app and it will detect and build, just like heroku. It's so good.
- danjac 4y agoDokku is fine and is great at what it does - running an Heroku-like on your own hosted server. I ran a hobby project for over a year without any serious problems on top of a cheap Digital Ocean droplet. It doesn't really have a story for when you want to scale up though - for example moving to multiple web servers behind a load balancer with your databases on some other vms. So it's great for side projects and demos, less so for anything you want to run in serious production mode.
- itake 4y agoI've been wanting to try fly.io. I also use Digital Ocean's App engine, but its definitely not as hands off as Heroku, nor does it have the generous free add-ins for small apps (e.g. free redis or pg). I've had a bear of a time trying to get elastic beanstalk to work on a rails app.