Details for Home Lab Server that I built to manage virtual machines and run self-hosted services across 3 compute nodes. Enabled with backups, replication, and an addition separate local machine dedicated to proccessing local AI Models.
 ## Overview I run my portfolio of virtual machines and self-hosted services on a three-node Proxmox VE cluster server. Proxmox allows for the management of multiple virtual machines and containers across individual nodes. Some of the services I am currently hosting include Nextcloud for file storage, Pi-hole for network-wide ad blocking, Nginx Proxy Manager for web traffic routing, and Uptime Kuma for uptime monitoring. A separate GPU server runs AI models locally for the rest of the network. ## How it works ```mermaid flowchart LR U[Isolated VLANs] --> C[3-node Proxmox cluster] C --> S[Nextcloud · Pi-hole · Nginx Proxy Manager · Uptime Kuma] C --> B[Nightly snapshot backups] C --> R[ZFS replication every 15 minutes] R --> N[Standby node] G[Local GPU server] --> C ``` - **Network segmentation.** VLANs divide the network into isolated segments, which limits what each device can reach. The services share one login. - **Replication and backups.** ZFS replication copies guest disks to a standby node every 15 minutes, which limits how much recent data a node failure can cost. Nightly snapshot backups are retained independently, preserving 7 daily, 4 weekly, and 3 monthly recovery points. - **Restart order.** After a host restart, a set boot order starts the primary workload first, gives it time to come up, and then starts dependent services. - **API tooling.** Two Python clients use the Proxmox REST API over HTTPS with certificate and hostname verification. The audit sends GET requests only and reports quorum, HA rules, replication and backup jobs, storage, and ZFS pool health. Backups and migrations go through a separate client that prints a dry-run preview, submits the change only with `--confirm`, and then follows the Proxmox task to its final result. ## Selected code | File | What it shows | | --- | --- | | [pve_audit.py](src/pve_audit.py) | GET-only cluster audit; a denied endpoint marks the report incomplete instead of leaving an empty section. | | [pve_ops.py](src/pve_ops.py) | Named `status`, `backup`, and `migrate` actions; backup and migrate are dry runs until `--confirm`. | | [backup-and-replication.md](docs/backup-and-replication.md) | Backup retention, replication cadence, boot order, and HA readiness checks. | | [tls.md](docs/tls.md) | Certificate verification for the Proxmox API, including a private CA option. | | [sanitize_audit.py](capture/sanitize_audit.py) | Turns raw audit output into the replay used for the demo. |