Redoing home lab and need insights
I recently switched from TrueNAS to Synology for my NAS. TrueNAS had served me well, but I no longer had the time to manage it effectively.
On this occasion, I decided to overhaul my entire home lab, which had gotten pretty messy over the years. As part of this overhaul, I will be discarding my old TrueNAS device due to its high power consumption and bulkiness. I will keep a NUC and another NUC alternative with slightly lower specs, but with 2+ LAN ports.
With this configuration, my plan is to use Proxmox on the NUC as the primary system and use the second NUC as a backup. The backup NUC however ha a dedicated connection via multiple LAN ports directly to the Synology NAS, so that would be ideal to storage intensive tasks.
My primary use case will be running containers and a few VMs for services like Git, Pi hole, backup services and more. Although my Synology NAS supports running containers and VMs, I prefer to keep things separate. I've already taken care of my infrastructure needs and won't be hosting pfSense or similar services.
Since I haven't looked into best practices lately, I'm very interested in learning new technologies like Ansible for automation.
I'm especially interested in understanding how to automate installs and updates while working with containers and VMs. I am considering whether to stay with Proxmox or go for a simpler distribution like Debian, Fedora or others.
Thanks for you insights!
Ansible is definitely worth exploring. As usual, there are a million tutorials on YouTube that will walk you through a quick deployment and some basic playbooks, but if you want a more fulsome understanding and deeper overview, I'd look at Techworld with Nana's Ansible course. She's extremely thorough, and she has a bunch of other videos that might give you some ideas on how to clean up your lab, especially since you're starting fresh.
Just wanted to add that you can get Jeff Geerlings book "Ansible for DevOps" for free right now:
https://leanpub.com/ansible-for-devops/c/CTVMPCbEeXd3
Awesome, thanks for the recommendation!
Thanks! How would you say the learning curve for Ansible is? I want to dedicate a week only to that so I got a little bit of time at the moment. My goal is to automate everything as much as possible and make the whole system low maintainance. I don't have the time anymore to fix stuff or maintain the whole thing multiple times a month.
I know, selfhosting always comes with the risk of everything crashing down, but that risk I'm taking and trying to mitigate it as much as possible with best practices etc.
Thus far I've had very little in the way of difficulty with my self-hosting. Just remember that backups become even more important.
As is the case with homelab in general, it's pretty simple and easy to get the basics, but Ansible can scale up to enterprise-grade complexity if you really want to go down a rabbit hole. For what you're describing, I think you'll find it to be pretty straightforward.