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?
1 Reply
_Brian
Linode Staff
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.
Here is an example StackScript by one of our staff members that automatically runs through the steps in our Getting Started and Securing Your Server guides to give you an idea of how they work:
And here is where you can find our documentation on using StackScripts: