I am working on setting up a home server but I want it to be reproducible if I need to make large changes, switch out hardware, or restore from a failure. What do you use to handle this?

you are viewing a single comment's thread
view the rest of the comments
[–] 6 points 10 months ago (2 children)

Terraform and ansible. Script service configuration and use source control. Containerize services where possible to make them system agnostic.

  • source
  • hideshow 2 child comments
  • [–] 2 points 10 months ago (1 child)

    How do you decide what's for Terraform and what's for Ansible?

  • source
  • parent
  • hideshow 1 child comment
  • [–] 3 points 10 months ago

    They're good at different things.

    Terraform is better at "here is a configuration file - make my infrastructure look like it" and Ansible is better at "do these things on these servers".

    In my case I use Terraform to create proxmox VMs and then Ansible provisions and configures software on those VMs.

  • source
  • parent