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

This is a bit naive. If you've ran a production system with any decent traffic and never needed to SSH into machines, congrats. I haven't and I don't know anyone who has. You might need to go in for anything from auditing to troubleshooting, even if it's rare.

PS: How is your automated provisioning system reaching your cluster if not by SSH?




OpenStack + cloud-init + SaltStack


"SaltStack"

Saltstack is either using SSH to communicate or opening it's own port. I'd much rather trust an open ssh port for securely provisioning/management than allow any other piece of software to keep a port open (upto and including TLS based protocols).


SaltStack has an agent that communicates with a master on a different server. The agents on the clients don't need an open port (other than egress).

This allows me to have one central server that is well secured and protected that allows ingress from the remote hosts, and then all the clients reach out to the master to get their tasks.


logging and metrics are sent elsewhere to be consumed and queried.

I build machine images with packer that get provisioned during the deployment pipeline. That single machine is then put into a cluster with x number of copies. If one dies I don't care, the cluster provisions another automatically.


How do you debug things when you discover that machines are randomly dropping logs for x minutes?


>PS: How is your automated provisioning system reaching your cluster if not by SSH?

Not sure about moondev, but Terraform + Cloud-init + Container Orchestrator means that I basically never need to SSH into my nodes, except in extreme/rare circumstances.


Except when you need to troubleshoot complex issues.


> except in extreme/rare circumstances.

So you do need ssh after all?


I said "I basically never need to". Not that I never need to. But yeah, I basically never, ever need to. Short of needing to take a coredump or docker shits the bed, I don't really ever need to log into my nodes.

I guess that's an offensive thing to point out judging by my score...


So you need SSH.


Are you kidding me?

>I said "I basically never need to". Not that I never need to. But yeah, I basically never, ever need to

It is interesting to imagine why this innocuous comment has ruffled so many feathers.


Boy, I sure hope I'm helping someone really sad feel better about themselves. Downvote away, it's not going to change a damn thing.


I do love me some terraform. Mainly use spinnaker these days




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

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

Search: