Surviving a never-ending stream of lectures and regular group projects ain’t easy, and I say that as someone who somehow managed to graduate college a few weeks ago. While my trusty textbooks and reliable comrades made this journey a lot more bearable, my paraphernalia deserves just as much credit. And I don’t just mean my MacBook, smartphone, or gaming consoles either.
After finally collecting enough grub from my part-time jobs, I ended up building a home lab around the same time as I started uni – mostly because I wanted to tinker with different Linux distros. But as time went on, my workstation nodes evolved into reliable companions that not only aided my CS major, but also made my college life a lot easier – to the point where I’d recommend building a home lab if your major involves computing.
Home labs are perfect for DevOps projects
Nothing beats hands-on experience with industry-grade tools
Virtualization platforms and container deployment tools are essential if you’re planning a career in the DevOps and sysadmin fields. While I wouldn’t go so far as to say that building a home lab will land you a job, it’s easily the best way to get some hands-on experience with the platforms, services, and utilities prevalent in the server ecosystem.
On the virtualization front, you’ve got the industry-tier Proxmox. Being able to deploy LXCs and (KVM-powered) virtual machines is already useful for getting into the nitty-gritty of Linux, but Proxmox includes several other sysadmin facilities, including a robust SDN stack, HA provisions, and distributed storage. Heck, even Broadcom has reinstated the free ESXi license. Although I’m still bitter about the whole ESXi fiasco, it’s still an essential hypervisor that’s often used in the server industry, and a home lab can help you gain a lot of experience with the platform.
Meanwhile, the container department includes Podman and Docker as the runtimes, though Kubernetes is what you're really looking for if you're studying DevOps. For a normal home labber, a dedicated container orchestration platform like K8s can seem rather overkill. But for tinkerers seeking more DevOps experience, you can get accustomed to workload scaling, service rollback, YAML/JSON scripting, and other essential containerization tasks with Kubernetes. Then you’ve got full-on automation services like Terraform and Ansible. The best part? You can get accustomed to these tools by using them in tandem with ESXi, Proxmox, Kubernetes, Podman, and other virtualization/containerization platforms. Trust me, if I had to worry about paying for AWS, Azure, or other cloud platforms just to tinker with Ansible and Terraform, I probably would’ve failed my sysadmin exams.
VMs serve as incredible dev environments
No need to choke your daily driver with project files
Before I’d built my home lab, my main PC was in a state of disarray. I had multiple Python environments set up on my gaming machine-turned-workstation, with all the conflicting packages making code compilation a royal pain. I also had dozens of project files – some from my high school classes, others from my Discord servers – and you’d probably have a good idea of how convoluted my PC had gotten.
While my file management habits haven’t gotten any better, my daily driver no longer looks like a psychopath’s lair. That’s because I’ve relegated all my projects to a Windows 11 dev machine. Thanks to nested virtualization, I also use Arch Linux using WSL inside this isolated development environment. And in case things go wrong, I can easily restore an older snapshot and get back into the coding fray.
Self-hosted services can simplify your uni life
And spare your wallet from subscription fees
So far, I’ve only highlighted the scenarios where my home lab aided my major. However, there’s the other side of college days – navigating the sheer madness called adult life. There are expenses to track, taxes to pay, and groceries to manage – all while ensuring I stay on top of my studies, keep up with my mates, and spend time on my hobbies. As weird as it may sound, self-hosting certain services simplified my life a lot.
For example, I never used cloud-based bookkeeping utilities because I didn’t want third-party firms to gain control over my financial data. Hosting a Firefly III container solved that problem instantly, as I was able to track my expenditure, budget, and savings with this tool. Likewise, I’ll always mention Paperless-ngx whenever I can, because it’s the sole reason I’ve been able to maintain my tax records, invoices, bills, and other annoying documents.
On the hobby front, wger served as my fitness companion by tracking my workout sessions, while Mealie not only documented my favorite recipes, but also helped me stick to my diet plan. Then there’s Pterodactyl Panel, which I heavily relied on for Minecraft sessions with my buddies. Similarly, Jellyfin was the centerpiece of many movie nights.
Heck, I even have a Nextcloud server outfitted with multiple apps, and it served as a Microsoft 365 alternative for my coding team. For instantaneous file transfers, we’d often rely on PairDrop. HomeBox provided a neat way to catalog my hardware, though I’m a bit miffed that I encountered this app pretty late into my college years.
Home servers don’t cost a lot either
All you need is an old machine and a bit of patience
If you’re worried about home servers requiring a lot of monetary investment, you’ll be glad to know that workstation nodes are cheaper than ever. In fact, I started my home lab journey on a mere first-gen Ryzen PC from 2016, and it still functions as a reliable workstation to this day.
Circling back to Proxmox (which I’ll never stop gushing over), the virtualization platform can work on practically any machine released in the last decade. I used to run my dev environment alongside a dozen LXCs on my ancient machine without running into any performance hiccups. Heck, even something as hardcore as Kubernetes can be run on a single node if you simply want to tinker with the platform for your DevOps experiments. Budget-friendly mini-PCs can double as amazing VM and container-hosting workstations, and you can even convert old laptops into server nodes after taking a couple of precautions.
Just one final tip: remember to keep your energy consumption in mind when picking a server node. Consumer-grade systems tend to be more energy efficient, though older systems can hog a little more wattage than their modern counterparts. And be extra cautious when spending on used server hardware, as these warmachines are complete electricity hogs. Source? My 21-year-old self, who got shell-shocked by the sky-high energy bill after running a dual Xeon workstation 24/7 during the first month of getting the system.
