Hacker News new | past | comments | ask | show | jobs | submit login

Totally agree with the author, for my side projects in Node.js, I use the following:

- pm2 for uptime (pm2 itself is setup as a systemd serivce, it's really simple to do and pm2 can install itself as a systemd service)

- I create and tag a release using git

- on the production server, I have a little script that fetches the latest tag, wipes and does a fresh npm install and pm2 restart.

- nginx virtual host with ssl from letsencrypt (setting this stuff was a breeze given the amount of integration and documentation available online)

Ridiculously simple and I only pay for a single micro instance which I can use for multiple things including running my own email server and a git repo!

The only semi-problem that I have is that a release is not automagically deployed, I would have to write a git hook to run my deployment script but in a way I'm happy to do manual deployments as well to keep an eye on how it went :)




Honestly, you could do that in almost the same time on Kubernetes.

I understand why people might not want to invest the time onto learning a new technology, but that's not a reason to say it's a bad fit. If you know how to use Kubernetes, doing these bash scripts and doing a few YAML files will take basically the same time and the end result will be vastly superior on Kubernetes.


Good luck setting up an email server on kube. Or a git repository for that matter


I would say: good luck setting up an email server anywhere

Really not sure what Kubernetes has to do with this argument though.


Why exactly do you think someone needs luck with that? I'm honestly curious.


Drone CI could make this whole process automated and preserve your ability to inspect the logs.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: