News for hackers. Stuff that matters.
Re:How to secure your new VPS: a step-by-step guide by fny on Monday October 21, 2024 @10:11PM (#41910502)
It’s insane to me that in 2024 it still takes this much back and forth to set up a server.

I even recently tried automating this but quickly realized I was falling into an XKCD trap because the process is so damn painful.

Re:How to secure your new VPS: a step-by-step guide by __mattya on Monday October 21, 2024 @10:23PM (#41910581)
Most cloud providers will accept a cloud init cloud config file. Sometimes they call it a “script” but they still accept the Yaml file if it has the `#cloud-config`.

There are modules for setting up ssh, adding users, installing packages, etc.

https://cloudinit.readthedocs.io/en/latest/index.html