As a dev that is looking to do the same any recommendations for materials?
- https://www.digitalocean.com/community/tutorials
- https://community.hetzner.com/tutorials
For example:
https://www.digitalocean.com/community/tutorials/ufw-essenti...
Learning how all these things fit together, when to use what, etc is much harder of course. Wisdom like that often requires time, effort and persistence.
"UNIX and Linux System Administration Handbook"
was the starting point back then.