I would like to have a mechanism to set up a server automagically…
Similarly I would like to set up my user account settings (Tmux plugins, .zshrc and vim settings, etc) that I can replicate in multiple machines via a script (I have a custom script for this but I want a more solid alternative)
Thoughts on what infra-as-code solution would work best? Any similar experiences or use cases with one Thanks!
Cc @selfhost@lemmy.ml @selfhosted@lemmy.world
- Atemu ( @Atemu@lemmy.ml ) 11•10 months ago
I would like to have a mechanism to set up a server automagically…
NixOS.
Similarly I would like to set up my user account settings
Home-manager.
- hanke ( @hanke@feddit.nu ) 5•10 months ago
Make an ansible playbook
- Moonrise2473 ( @Moonrise2473@feddit.it ) 3•10 months ago
If it’s because you set new servers very frequently: Ansible
If it’s because moving stuff once every two years to a new server is an hassle: everything in custom docker images
- Zoë ( @Zoe8338@lemmy.ml ) English2•10 months ago
Hey, please remember to tag your post! Thank you
- johntash ( @johntash@eviltoast.org ) English2•10 months ago
You’re probably looking for some sort of configuration management tool like chef, ansible, saltstack, or puppet. If you’re not already familiar with one, ansible is pretty easy to get started with.
If you’re also wanting something that can create the server itself, terraform is great and supports most cloud providers and supervisors.