Cloud and Self-Hosting

Building the Ultimate Homelab: A Beginner's Guide to Getting Started

Homelab guide for beginners: what a homelab is, the best hardware for virtualization, network and storage, Proxmox setup, first services and a build plan.

By Amjid Ali · · Updated · 6 min read

In this article
  1. Homelab build plan at a glance
  2. Why build a homelab?
  3. How to start a homelab: decide what it is for
  4. Essential hardware for your homelab
  5. Setting up virtualization
  6. First services to self-host
  7. Backups from day one
  8. What is a homelab hyperconverged infrastructure?
  9. Automation and workflows
  10. Homelab security essentials
  11. Homelab for beginners: mistakes to avoid
  12. Related articles you may like
  13. Conclusion: start building your homelab today

Prefer to watch? This video walks through it step by step. Prefer to read? The full guide is below.

A homelab is a small set of servers, network gear and storage you run at home to learn and self-host. To build one: decide what you want it to do, start with one PC or mini PC that supports hardware virtualization, install a hypervisor such as Proxmox VE, put your services in VMs and containers, add backups, and grow into separate networking (firewall, VLANs) and storage (NAS) only when you need them. You do not need a rack or new hardware to begin.

I have run a homelab for years: today it is a Proxmox VE cluster, a pfSense firewall and a TrueNAS storage server. This homelab guide is the order I would build it in again, from the first box to a small cluster.

Homelab build plan at a glance

Stage What you build Typical hardware
1. Start Proxmox VE on one machine, a few VMs and LXC containers Old PC, laptop or mini PC
2. Services Pi-hole, a reverse proxy, n8n, Home Assistant, a media server Same box, more RAM
3. Backups Proxmox Backup Server, offsite copy Second small box or NAS
4. Network Own firewall (pfSense or OPNsense), VLANs, managed switch Small PC with 2+ NICs, managed switch
5. Storage NAS with ZFS for files and VM storage TrueNAS box
6. Cluster Three nodes, HA, optionally Ceph Three similar mini PCs or servers

Why build a homelab?

A homelab is your personal playground for experimenting with technology. You can break things safely, practice for certifications (Linux, networking, cloud, security), test software before it goes near production, and self-host services you control. For IT professionals it is the cheapest way to get real hands-on time with virtualization, firewalls, storage, automation and Kubernetes.

How to start a homelab: decide what it is for

Before you buy anything, write down two or three outcomes you will use every week, for example:

  • block ads for the whole house (Pi-hole);
  • learn Proxmox and Linux for work;
  • automate tasks with n8n;
  • store family photos and files with snapshots.

Those goals decide the hardware, not the other way round.

Essential hardware for your homelab

Start with the basics: a reliable server, networking equipment and storage.

What is the best homelab hardware for virtualization?

For virtualization, the CPU must support hardware virtualization (Intel VT-x / AMD-V) and, if you want PCI or GPU passthrough, VT-d / AMD-Vi (IOMMU). Then RAM matters most, because every VM reserves its own.

Option Pros Cons Good for
Mini PC (Intel N-series, Core, Ryzen) Quiet, low power, small Few drive bays, limited RAM slots First lab, Pi-hole, containers, small cluster nodes
Small form factor business desktop (Dell OptiPlex, HP EliteDesk, Lenovo ThinkCentre) Cheap used, reliable, PCIe slot for a NIC Limited drives The best value all-round homelab server
Used rack server (Dell PowerEdge, HPE ProLiant) Lots of RAM, many drive bays, IPMI/iDRAC/iLO Loud, high power draw, heavy Big VM counts, storage-heavy labs
Workstation or custom build Room for GPUs and many drives Higher cost AI/LLM labs, GPU passthrough

My practical baseline for a Proxmox host: a CPU with 6 or more cores, 32 to 64 GB RAM, an NVMe SSD for VM disks (plus a small SSD for the OS if you can), and a 2.5 GbE or better NIC. The Proxmox VE system requirements list the minimums.

Networking

  • Router/firewall: your ISP router is fine at first. Later, run pfSense or OPNsense on a small PC with two or more NICs (or in a VM) to get VLANs, VPN and proper firewall rules.
  • Switch: a managed switch that supports VLANs (802.1Q) lets you separate lab, IoT and family devices.
  • DNS: Pi-hole for network-wide ad blocking and local DNS names.

Storage

  • Local SSD/NVMe in each host for VM disks.
  • NAS (TrueNAS or similar) with ZFS mirrors or RAIDZ for files and backups. RAID is redundancy, not a backup.

Setting up virtualization

Virtualization is the backbone of a homelab. Tools like Proxmox VE, VMware ESXi or Hyper-V let you run many virtual machines on one server. I recommend Proxmox VE: it is free, includes clustering and backups, and runs on almost any hardware (see Proxmox vs ESXi for why).

  1. Install Proxmox VE from the ISO on your host. Follow the Proxmox VE beginner's guide.
  2. Switch to the no-subscription repository so updates work without a subscription: how to do it.
  3. Create VMs for full operating systems (Windows, pfSense, Kubernetes nodes) and LXC containers for light Linux services.
  4. Run Docker inside a VM or container for apps that ship as containers: Docker for beginners.

First services to self-host

  • Pi-hole or AdGuard Home for DNS and ad blocking.
  • Reverse proxy (Nginx Proxy Manager, Caddy or Traefik) with HTTPS.
  • n8n for automation: self-hosting n8n on Ubuntu.
  • Home Assistant for smart home.
  • Monitoring: Uptime Kuma, or Prometheus and Grafana.
  • Identity: Keycloak for single sign-on: Keycloak in Docker.

Backups from day one

Install Proxmox Backup Server on a second machine (or the NAS) and schedule nightly backups of every VM and container. Keep one copy offsite or in S3 storage, and test a restore. Follow the 3-2-1 rule: three copies, two media, one offsite.

What is a homelab hyperconverged infrastructure?

Hyperconverged infrastructure (HCI) means the same nodes provide compute and shared storage. In a homelab that usually means three or more Proxmox VE nodes running Ceph: VM disks are replicated across nodes, so a VM can live-migrate or restart elsewhere if a node fails. The Proxmox Ceph guide recommends at least three nodes and a fast, dedicated network for Ceph traffic (10 GbE or faster). For a two-node lab, ZFS replication between nodes plus a QDevice for quorum is a simpler alternative.

Automation and workflows

Automate repetitive tasks with tools like n8n, Ansible or Home Assistant. Examples from my lab: n8n alerts when a backup job fails, scheduled updates, and reports from the Proxmox API. See the best software for homelab automation for a comparison.

Homelab security essentials

  • Never expose the Proxmox, NAS or firewall admin UIs to the internet; use a VPN (WireGuard, Tailscale) for remote access.
  • Put lab, IoT and guest devices on separate VLANs.
  • Use SSH keys, strong passwords and 2FA where available.
  • Keep hosts updated, for example the Proxmox VE 8 to 9 upgrade.

More in securing your homelab.

Homelab for beginners: mistakes to avoid

  • Buying a loud rack server before knowing what you will run.
  • No backups until something breaks.
  • Running everything on the host instead of in VMs and containers.
  • Not documenting IPs, passwords (in a password manager) and how things are built.
  • Ignoring power use; a lab runs 24/7.

Go further with Proxmox: my Proxmox Virtualization Environment: Complete Training course takes you from install to clustering, and pfSense Network Security & Firewall Management covers the firewall side of a lab.

Conclusion: start building your homelab today

Start small: one machine, Proxmox VE, one or two services you will actually use, and backups. Add a proper firewall, a NAS and more nodes as your goals grow. Every piece you build teaches you something you can use at work.

Frequently asked questions

What is a homelab?+

A homelab is a set of servers, network gear and storage you run at home to learn, test and self-host services. It can be one old PC running Proxmox or a rack with a cluster, firewall and NAS. People use it to practice IT skills, prepare for certifications and host their own apps such as Pi-hole, Home Assistant, n8n or a media server.

What is the best homelab hardware for virtualization?+

For most beginners, one or more small form factor business PCs or mini PCs with a modern Intel or AMD CPU that supports VT-x/AMD-V and VT-d/AMD-Vi, 32 to 64 GB of RAM, an NVMe SSD for VMs and an Intel or Realtek 2.5 GbE NIC. They are quiet and power efficient. Used rack servers give more RAM and drive bays but are loud and draw much more power.

What is a homelab hyperconverged infrastructure?+

Hyperconverged infrastructure (HCI) means compute and storage run on the same nodes and the storage is shared across them by software. In a homelab this is usually three or more Proxmox VE nodes running Ceph, so VMs can live-migrate and restart on another node if one fails. It needs at least three nodes and a fast storage network, ideally 10 GbE.

How much does it cost to start a homelab?+

It can cost nothing if you reuse an old PC or laptop. Proxmox VE, pfSense CE, OPNsense, TrueNAS Community Edition, Docker and most self-hosted apps are free. Most people then buy a mini PC or a used business desktop and a managed switch as the lab grows. Budget for electricity too, because the lab runs 24/7.

How do I start a homelab as a beginner?+

Pick two or three things you want it to do, install Proxmox VE on a spare PC, create one VM and one LXC container, then add a service you will use every day such as Pi-hole. Add backups early, document what you build, and only buy more hardware when you hit a real limit.

Do I need a server rack for a homelab?+

No. Most homelabs start on a shelf with a mini PC, a switch and the home router. A rack only makes sense once you have several rack-mount devices, a patch panel or a UPS to organize.

Sources

  1. Proxmox VE System Requirements, Proxmox Server Solutions
  2. Deploy Hyper-Converged Ceph Cluster, Proxmox Server Solutions
  3. Proxmox Backup Server documentation, Proxmox Server Solutions
  4. Pi-hole documentation, Pi-hole

Related videos

Video library
  • Cloud and Self-Hosting

    Power Up Your Homelab with Proxmox Cluster Example

    · 8:20 · 3.8K views

    Watch on YouTube