问HN:你们在哪里托管你的Go应用程序?

2作者: asim10 天前原帖
简单的问题。你在哪里以及如何托管你的 Go 应用?我觉得要么你需要运行一个虚拟机,要么就得为 Google Cloud 的复杂性付费。 我相信现在会有人提到 Fly 或 Railway,但我还是想知道你们的亲身经历。 就我个人而言,我仍在使用 DigitalOcean,我通过 git pull 获取代码,从源代码编译并运行 Go 二进制文件,偶尔会用到一个 shell 脚本。前面是 nginx 和 certbot/letsencrypt。就这样。出于某种原因,我希望这能成为一个简单的解决方案,而不是市面上各种各样的托管服务。我总是担心 Fly、Railway 或其他公司会倒闭。我觉得其他工具真的很复杂,而专用的应用托管又太贵。使用虚拟机加上一些开源工具效果很好。但我想,当你把托管工作交给别人时,你就开始期待各种各样的工具。也许如果有一个专门的基于 CLI 的工具就好了。谁知道呢。
查看原文
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.<p>I&#x27;m sure some people will now say things like Fly or Railway but curious to know firsthand.<p>Personally I&#x27;m still using DigitalOcean, I git pull, compile from source and run the Go binary, occassionally with a shell script. It&#x27;s fronted by nginx and certbot&#x2F;letsencrypt. That&#x27;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.