K8s - streamline the hardening process for a server
I was wondering if there is a way to streamline the hardening process for a server.
- adding a new user + disabling root
- switching from SSH password to keys only
- setting up 2FA
- set behind load balancer + disable public IP
- failban, firewall, ports
From what I know this is usually a pretty manual process, but maybe docker/k8s has a magical pill?
It sounds like you're looking for StackScripts, which is our service that allows you to deploy new Linodes a bash script to be executed during provisioning. With StackScripts you can automate the installation and configuration of just about anything your Linux distro allows.
And here is where you can find our documentation on using StackScripts: