Series to Building Your Own Homelab: Part 1

·

·

,

Ever Feel the Need to Host Things Yourself? Welcome to Homelabbing!

Seven years ago, I found myself asking this very question, and it led me down a rabbit hole into the fascinating (and sometimes frustrating) world of homelabbing. This part-time job (disguised as a hobby) has not only expanded my knowledge as a Software Engineer but has also introduced me to technologies I never imagined I’d touch a few years back.

From mainstream buzzwords like Kubernetes, Docker, Virtual Machines, Reverse Proxies, Firewalls, Network Attached Storage (NAS), Hypervisors, DNS (which usually explains why my home network is a mess), to the less glamorous but crucial Documentation (I know it’s important, but who really loves writing documentation? 😅).

It all started when I was building a new computer and didn’t know what to do with the leftover parts. Instead of selling them, I repurposed them into a (you guessed it) homelab server. That’s when the chaos began. I had a computer—now what? Little did I know this would propel me into a world of sleepless nights, long Saturdays, and figuring things out just to forget them a week later (yes, documentation would have solved that).

I’ve lost data (not afraid to admit it) and still consider myself a newbie in this realm. That’s why I’m a Software Engineer and just to clarify for anyone from work reading this—I’m not giving up programming! Homelabbing is just a side quest for my insatiable curiosity.

Growing Up with Technology

Thanks to my dad (Happy Father’s Day!), who put a computer in my hands early on, I developed a keen sense of discovery and curiosity that has driven me ever since. He was always tinkering with technology, and his enthusiasm was infectious. I still remember the days of playing Mavis Beacon, trying to improve my typing skills (I know, I’m really showing my age here). Those sessions were more than just practice; they were the beginning of a lifelong journey into the world of computers and technology. If you’re wondering what Mavis Beacon is, it’s a classic typing tutor program. Here’s the wiki link for more nostalgia: Mavis Beacon Teaches Typing. Those early experiences laid the foundation for my passion for learning and exploring new tech frontiers.

So You Want to Start a Homelab?

If your answer is yes, the next questions should be, “What do I want to learn?” and “What do I need to learn?” Notice the difference between ‘want’ and ‘need’. In my honest opinion, there’s no right or wrong way to build a homelab. While there are security no-nos, a few articles can help you avoid major pitfalls. You want to build a homelab, and this series of blog posts can be your guide. Plus, this is my sneaky way of finally documenting my setup. So, let’s dive in!

What Are We Learning?

This is my way—one way—so for you System Administrators/Homelab geniuses, please be gentle. If you see room for improvement, let me know (nicely 😊). My goal is to help people start their journey. If you have any questions while going through this series please leave a comment and if I know the answer to your question, you will too. When I first started, I was curious about virtual machines, networking (you’ll see why later), and storage. Over the years, my setup has constantly changed (thanks to my indecisiveness).

Introducing the NAS: Enhancing Your Homelab Storage Solutions

I started with Network Attached Storage (NAS). Here’s a simple definition: “Imagine your home is a library. Each room has its own books, but you want a central place where everyone can access any book they need, anytime they want.” (Thanks, ChatGPT, for making it sound easy). Let’s talk about how I use it. My NAS has been the one thing that’s changed the least (because I’m too lazy for data migration). Here are a few NAS options:

Unraid:

  • Link: Unraid
  • Synopsis: A versatile NAS OS that maximizes performance and capacity with various storage devices. It supports Docker, VMs, and has an intuitive web interface. Known for flexibility and running on both new and old hardware.

Synology:

  • Link: Synology
  • Synopsis: Offers dedicated NAS hardware with DiskStation Manager (DSM). DSM provides a user-friendly interface with apps for backup, file sharing, and virtualization. Renowned for robust hardware and seamless software integration.

OpenMediaVault:

  • Link: OpenMediaVault
  • Synopsis: A Debian-based NAS solution for small offices and home use. It features a web-based interface for managing storage, users, and services, with support for plugins and customization.

TrueNAS Core:

  • Link: TrueNAS Core
  • Synopsis: FreeNAS rebranded. A free, open-source NAS OS based on FreeBSD and ZFS. Offers robust data protection, scalability, and features like snapshots, replication, and encryption.

TrueNAS Scale:

  • Link: TrueNAS Scale
  • Synopsis: A new Linux-based addition to TrueNAS, designed for scale-out storage. Supports Kubernetes for container management, combining ZFS’s strengths with Linux benefits.

These descriptions may sound too good, and yes, AI helped generate them. Work smarter, not harder, right? I must say I’ve used most of the options on this list but Personally, I prefer TrueNAS Scale for its enterprise software feel with a user-friendly UI. Let’s break down my current TrueNAS setup

My Setup

  • Repurpose: Old Dell Optiplex
  • Processor: Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz
  • RAM: 24GB Non-ECC (Upgrading soon)
  • Networking: 1Gb (working on 10Gb setup)
  • Version: Dragonfish-24.04.1.1
  • HD Array: Two 8TB drives in mirroring (for pictures, home movies, files)
  • Flash Array: Two 1TB drives in mirroring (dedicated to Proxmox VMs)
  • Software Running: Proxmox Backup Software and NextCloud
  • Snapshots: Daily
  • Offsite Backups: Cloud sync to S3 for PBS and NextCloud data

My NAS might not be fancy, but it meets my needs. You don’t need expensive equipment to start. Repurpose old gear or buy refurbished. Your setup will be different, and that’s great! Explore, learn, and grow. As we continue this homelab series, remember to use it as a guide, not a tutorial. My way isn’t the only way—it’s just my journey. Now, I leave you with one question: How will you build your homelab today?



Leave a Reply

Your email address will not be published. Required fields are marked *