←back to thread

47 points todsacerdoti | 1 comments | | HN request time: 0.203s | source
Show context
fny ◴[] No.41910502[source]
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.

replies(1): >>41910581 #
1. __mattya ◴[] No.41910581[source]
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