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.
I even recently tried automating this but quickly realized I was falling into an XKCD trap because the process is so damn painful.