3 ms·
If you're using Go, Rust, OCaml etc. then you can deploy a static binary and have a systemd-service or similar take care of keeping it running with nginx as a r
by myaccountonhn 2y ago
If you're using Go, Rust, OCaml etc. then you can deploy a static binary and have a systemd-service or similar take care of keeping it running with nginx as a reverse-proxy. I do that with NixOS which enables me to also have my infra as code.
Another simpler alternative is to just run a cgi-bin on hetzner webhosting (https://www.hetzner.com/webhosting/level-9/ https://www.hetzner.com/webhosting/level-9/).
- creesch 2y agoStatic binaries make things easier, but even without them things can be quite manageable depending on what you need. I suppose it sits halfway in between as you do need the java runtime, but with fat jars you can also quite reliably and easily run on bare metal managed through systemd. There are a few things to consider outside of that, though those are also fairly easy to manage. Log rotation and clean up is something a lot of cloud native people will not be familiar with.