News for hackers. Stuff that matters.
Re:Ask HN: How do you deploy your side project? by Jemaclus on Friday January 07, 2022 @03:00PM (#29843957)
I have this problem as well, and I'm commenting here in part to follow the thread.

I have a Go project, so all I really need to do is deploy a binary. My go-to in the past is just to SCP onto my server, but since the other binary is already running, there's some blue/green swap thing that has to happen, and I struggle with this.

My side projects don't make any money, so I want this to be as free as possible, and so I've so-far resisted complex CI/CD pipelines, but it feels like I'll need to put more money into this if I want the CI/CD thing instead of SSHing in to disable the server, SCPing the new binary, and then SSHing back in to restart the service.

If anyone has any recommendations for CI/CD deployments of Go binaries onto an AWS EC2 server, I'd love to hear more.

Re:Ask HN: How do you deploy your side project? by jcuenod on Friday January 07, 2022 @04:28PM (#29845073)
Yes, I'm definitely also looking for the cheapest way of making this happen. So the idea of using some container registry is not appealing to me.