←back to thread

6 points asim | 1 comments | | HN request time: 0.312s | source

Simple question. Where and how do you host your Go apps? I feel like either you have to run a VM or pay for the complexity of a Google cloud.

I'm sure some people will now say things like Fly or Railway but curious to know firsthand.

Personally I'm still using DigitalOcean, I git pull, compile from source and run the Go binary, occassionally with a shell script. It's fronted by nginx and certbot/letsencrypt. That's it. For some reason I wish this was some simple solution instead of the endless variety of hosting out there. I always worry about Fly, Railway or someone else going out of business. I find other tools really complicated, and dedicated app hosting too expensive. A VM plus some open source works well. But I guess when you offloading that hosting to someone else you start expecting all sorts of tools. Maybe if there was just a dedicated CLI based thing. Who knows.

1. lbhdc ◴[] No.44424261[source]
My preference is to deploy them to Cloud Run on GCP. Partially because I am already using GCP, but also because its pretty easy to make it always on while staying in the free tier (or very minimal cost).