Live data from Hacker News

Ask HN: So you moved off Heroku, where did you go?

news.ycombinator.com

131–140 of 322 posts

Re: Ask HN: So you moved off Heroku, where did you go?

#131
I moved to a Hetzner dedicated instance with cloudflare in front. Rails Postgres memcached all run on docker.

Vs

Heroku with cloudflare in front Postgres from heroku and memcached with an add on.

1. Very little. I put the app in docker a long time ago for local development but still used heroku for prod. I dumped my db and imported it into a docker run db on Hetzner. One thing to note: I did not expose the db to the internet. The app connects to the db over a docker network.

2. I do DevOps for a living.

3. It did not add to my learning.

4. $30/month for a large Hetzner dedicated instance and $12 for S3 (backups) vs $25 for the app (I added 2 more for 8 hours a day during busy season) and $25 for a job runner and whatever they were charging for DB. My total cost now is $42/month and on Heroku it was around $120 during busy season and $100 during non busy season.

5. Rails Postgres memcached and delayed job. I had to expand my app tier during busy season by up to 3 instances (winter). With my load testing the Hetzner instance handles much more than the 3 instances ever did in my load testing.

6. I added db dump cron jobs along with restic backups to S3.

Re: Ask HN: So you moved off Heroku, where did you go?

#132

Controversial opinion: given the vast majority of answers here: cheapskates looking for free tiers wherever they can find them. Heroku should’ve closed that free tier years ago! Now they added some very very cheap plans as well which is fantastic for them = gets rid of some of the horrendous cost from platform abuse they dealt with every quarter. Good for you Heroku, you were always under appreciated by the enterpris…

> Now they added some very very cheap plans as well which is fantastic for them

Can you share a link to their new plans? The pricing listed on their old page (https://www.heroku.com/pricing) still showing $7/mo as their cheapest option and it's already an overkill for my applications. In comparison, the cheapest option on fly.io is $1.94/mo (https://fly.io/docs/about/pricing/).

Note: I know $7 is the maximum cost, but by default their hobby tier app will not sleep, so I guess it still costs $7/mo to run in the end?

Thanks!

Re: Ask HN: So you moved off Heroku, where did you go?

#133

We moved from Heroku to GCP after approximately two years of using Heroku. (This was three years ago so some information may have changed) The move worked out incredibly smoothly and has saved us money and allowed us to "modernise" our infrastructure to take advantage of some of the newer trends in Infrastructure and Security. To address your direct questions: 1. Not very long. We were running a NodeJS app with a web…

I‘m curious about your reasons to decide against Kubernetes and instead opt for plain VMs + Packer, especially when already familiar with the platform.

Re: Ask HN: So you moved off Heroku, where did you go?

#134
post #101

1. Not a lot of work, probably a day to move things. 2. Almost none. I used Heroku and understood what it was doing on a very surface level. I knew I could push my repo and my project would automagically be "there", but since I was early on in my learning process, I didn't know for sure what was happening. So the migration was a great experience to understand how to setup my website, how to setup a reverse proxy, how…

> the migration was a great experience to understand how to setup my website, how to setup a reverse proxy, how to prepare the certificates, how to secure a linux box If you have any resources on the topics you had to learn, please share! > I went as far as to setup my own home server. Congrats! How long did it take you to skill up from Heroku to home server?

I started with Digital Ocean (DO) and Linode's guides to get an idea of the setup in general - https://www.digitalocean.com/community/tutorials/initial-ser... (you can change distros if you're wanting the guide for something else) and https://www.linode.com/docs/guides/set-up-and-secure/

I used DO because I had gotten some free credits as a student and they were valid for a year, so it gave me time to experiment. Once I went through the guides, I started researching the topic further, each time expanding on anything I didn't know or understand.

To go from Heroku to home server, I spent about a year all in all doing the research, learning what needs to be done, what hardware, what security considerations and so on. Before buying the server hardware and doing that, I setup a VM with the Linux distro I wanted to use, mimicked the storage setup and then went about doing the whole setup from start to finish and documenting things along the way. Installing, setting up users, changing login policies, adding drives, formatting them, hard drive error checking and automated notifications, setting up docker containers, docker container backups, container updates, limiting access of containers, setting up network shares, LAN sync, multimedia playback, software backups and automated server backups.

Each new step would highlight a new learning opportunity and would raise new questions. It's really interesting and I went ahead and installed Pop OS (initially I used Zorin os pro) on all my devices which gave me a place to test out small scripts to automate a system reinstall/setup. My next goal is to collate all of this information and organize it into a guide that explores this setup from start to finish, but that's a few months out.

After that I want to move away from a single Linux install running to a Proxmox install on my home server, a couple of VMs running my services and space set aside to allow me to start a new VM when I want to test something out. I also want to build my own router using Open BSD. Hope this helps!

Re: Ask HN: So you moved off Heroku, where did you go?

#135

I went with render.com (no affiliation). Found them fairly easy to use, really excellent support.

I'll chime in and say that I did the same. A lot of people like Fly but I wanted super low complexity. My hope has mostly panned out. I was able to move without too much difficulty and I'm happy with how it turned out.

Yes exactly. I tried fly.io first from recommendations on HN, then on setup realised i needed a full docker workflow which was not what I wanted coming out of heroku.

I’ve found render the closest to heroku. I was able to setup a service for my rails app, for Postgres and for sidekick.

Not as polished as heroku or maybe fly but like I said they made up for any gaps from the bend over backwards live chat support.

Re: Ask HN: So you moved off Heroku, where did you go?

#136
We have been running a Rails monolith in Heroku for over 5 years. Our application has pretty strict uptime requirements and in the last 24 months we've had several major outages that were entirely due to Heroku. We're in the range of 5-10 million requests per day.

Heroku's erratic performance over the last year or so combined with what we see as a steady decline in the responsiveness (and sometimes quality) of Heroku's support made it too painful to ignore. Their security breach was obviously also a big motivation, but by then we had already made the decision.

We are moving as much as we can into GCP.

- Web app: Cloud Run

- Background jobs: Compute Engine

- Heroku Postgres: Google Cloud SQL

- Heroku Redis: Redis Cloud (https://redis.com/redis-enterprise-cloud)

- Deploys: Custom scripts

- Provisioning: Terraform

It has taken about 6 months for me to do most of the work, with some help from the team on some of the heavy lifting. It's not full-time work though, so perhaps 3-4 months if you count person-hours.

I have decent linux sysadmin experience, but that's about it. Had to brush up on Terraform. Testing GCP services took a long time. Their docs are often good, but important details are sometimes missing or not easy to find when you're doing initial research. I don't trust the GCP console (web UI) much these days; the `gcloud` command shows your actual resources and not some half-baked abstraction. Sometimes resources aren't even visible in the UI.

The learnings were valuable for me personally. I've been interested in doing more ops-related things. For the company, the extra control we get over our own service levels is the major benefit. It has a cost in terms of developer experience and resources we need to allocate to ops as well.

Costs are about the same. Cloud SQL seems cheaper. Redis Cloud is almost exactly the same price (which feels like a lot tbh).

If you're interested in working with us (remotely) with ops, send me an email at other.water6357@fastmail.com

Re: Ask HN: So you moved off Heroku, where did you go?

#137

I have moved a Rails and Go app to https://northflank.com . I have my Rails app running in their free project (limited to two services and 2 jobs) and my Go app in a paid project. I find the pricing to be very reasonable and considerably cheaper than Heroku. I was looking for somewhere I could run web services and cron jobs both in the same place. They have a Heroku importer, however I think you need to ask to have i…

I'm just in the process of moving to Northflank from Heroku for my Django app after trying SO MANY other PaaS services. I really like how they organise things (apps have multiple services, the build stuff makes sense) and their support so far has been amazing. One of the few where I'm confidant they're not going to work as I need without too much work from me and not cause me stress in the future.

Re: Ask HN: So you moved off Heroku, where did you go?

#138

Hey, Andras here, founder of Coolify ( https://coolify.io ). Coolify is an open-source & self-hostable Heroku / Netlify alternative. Lots of features are added day-by-day and I'm open for new ones. Visit our Github ( https://github.com/coollabsio/coolify ) or our feedback page ( https://feedback.coolify.io/ ) to get more info. A few months ago, I quit my job and started to work on it full-time (best decision I've mad…

This (coolify) looks very interesting. Since others may have the same question as i do: Does it scale horizontally? We actually have our own racks in datacenter and if i gave 3 machines to it would they handle that?

I saw you mention the K8s soonest: is that your scaling solution? Seems it would be simpler.

Regardless I think we may look into this.

Re: Ask HN: So you moved off Heroku, where did you go?

#139
I moved 4 personal websites with a total of 7 services to railway.app (no affiliation) this weekend and was very impressed with how simple it was. Previously these websites were hosted using a combination of GitHub Pages + Heroku + Fly.io but it’s nice to have all of them hosted in a consistent way now.

I vastly preferred the railway.app migration to the fly.io migration but fly.io feels much more production ready than railway. This isn’t a big deal as none of the projects I moved have paying users so downtime would be acceptable if it happens. I was able to deploy all of my applications from the UI without ever having to install any company specific CLI which I prefer. Railway being such a small company has lacking docs and is very difficult to google for specific question about the provider —- most “railwayapp” google responses are for actual railways. Pretty much everything was intuitive and didn’t require the docs though which was much more pleasant than my experiences with fly.io.

To get the custom domains working I had to move my DNS to cloudflare for all sites which was something I had planned on doing anyways but felt annoying in the moment. I was previously using my domain registrar’s (namecheap) DNS but they don’t seem to support CNAME flattening which allows for CNAME apex domain entries which were required for getting custom domains on railway.

I moved all of the services in about a day and everything has been running pretty well. I do think railway is slower than fly but everything is still plenty fast so far. All projects have automatic github deployments which have been working well so far. Overall for a new project made by a small team I have really really enjoyed using railway for hosting. Railway is organized in a way that matches how I think about project hosting and most things seem well thought out with lots of good stuff still coming.

The websites moved were https://trentprynn.com https://habitapper.com https://weightwatchapp.com https://samueldebartolo.com

these are all open source and can be viewed from my github https://github.com/trentprynn

Re: Ask HN: So you moved off Heroku, where did you go?

#140
post #90

Earlier quoted context omitted.

When I looked at CapRover recently, the GitHub integration in the docs required manually setting up a GitHub Actions integration and I couldn't exactly figure out what parts I needed to change since the example was for a NodeJS app, and I'm assuming it needed to be added or changed for each repo you want to track git pushes from. In contrast, with Coolify, you simply login with your GitHub account and it installs a (…

There are a bunch of ways to deploy via GitHub, I would check out this action, it's the easiest and most straightforward. There should be no need to adapt it based on different frameworks: https://github.com/marketplace/actions/caprover-deploy You can also use the built-in webhook from inside CapRover control panel but it requires you to log in via your GitHub account in Cap (I created a secondary CI account for this…

> Installing a GitHub app comes with challenges, it basically gives Coolify access to your account should they want it

Depending on the permissions they ask for, this may be limited to modifying webhooks in the repositories you specify.

Post reply on HN