My Homelab Services so far!

Homelab Setup Overview Hardware Specs: 3x Intel NUC 13th Gen (32GB RAM, 1TB NVMe each) Synology DS1821+ NAS (40TB raw storage) Ubiquiti Dream Machine Pro Raspberry Pi 4 cluster (8 nodes) Core Stack: Proxmox VE (Virtualization) TrueNAS Scale (Storage) K3s Kubernetes (Container Orchestration) Docker Swarm (Legacy container management) Core Infrastructure Services 1. Proxmox VE Purpose: Bare-metal hypervisor for VM management Key Features: LXC containers, ZFS support, cluster management Why I Use It: Perfect balance between enterprise features and homelab usability 2. TrueNAS Scale Storage Setup: 40TB ZFS pool (RAID-Z2) Services Hosted: SMB/NFS shares for media storage iSCSI targets for VM storage S3-compatible object storage via MinIO 3. K3s Kubernetes Cluster Nodes: 3 master nodes (NUCs), 8 workers (RPi cluster) Key Components: Longhorn distributed storage Traefik ingress controller Cert-Manager for SSL certificates ArgoCD for GitOps deployments Networking Services 1. OPNSense Firewall Features: VLAN segmentation, IDS/IPS, WireGuard VPN Bandwidth: 1Gbps symmetric fiber handling Custom Rules: Isolated IoT network, guest WiFi restrictions 2. Pi-hole + Unbound Stats: Blocks ~30% of DNS queries (50k+ domains) Setup: Dockerized with gravity-sync for redundancy Custom: Whitelist for streaming services 3. Tailscale Mesh VPN Use Case: Secure remote access to homelab services Integration: Exit node for secure browsing anywhere ACLs: Role-based access to specific services Media & Entertainment Stack 1. Plex Media Server Library Stats: 4K HDR movies, automated TV show downloads Hardware Acceleration: Quadro P2000 passthrough Users: 15 family members with shared access 2. *Arr Suite Components: Sonarr, Radarr, Lidarr, Readarr Automation: Triggered by Overseerr requests Storage: 20TB media library on TrueNAS 3. Audiobookshelf Content: 500+ audiobooks, 300 podcasts Features: Mobile sync, progressive web app Backup: Nightly sync to Backblaze B2 Development & Automation Tools 1. GitLab CE Features: CI/CD pipelines, container registry Integration: Auto-deploys to K3s via ArgoCD Stats: 150+ private repositories 2. Home Assistant Devices: 80+ connected IoT devices Automations: 45 Node-RED flows Dashboards: 6 custom UIs for different family members 3. Vaultwarden Usage: Family password manager Security: Behind Authelia with 2FA Backup: Encrypted daily snapshots Monitoring & Observability 1. Grafana + Prometheus Dashboards: 15+ custom boards Metrics: 200k+ time series collected Alerts: Slack/Pushover notifications 2. Uptime Kuma Monitored Services: 45 endpoints Status Page: Public-facing with SLA metrics Incidents: Automatic Discord notifications 3. NetData Real-time Monitoring: Per-second metrics Anomaly Detection: ML-powered alerts Integration: Kubernetes cluster insights Backup Strategy 3-2-1 Rule Enforcement: ...

2024-12-04 · 3 min

Automating Your HomeLab with Ansible

What You’ll Need A Linux-based control machine (Ubuntu, Debian, CentOS, etc.). Multiple target machines to automate (can be Linux servers, Raspberry Pis, or virtual machines). SSH access to target machines. Basic understanding of command-line usage. Step 1: Install Ansible Update the system and install Ansible sudo apt update && sudo apt upgrade -y sudo apt install ansible -y Verify the installation ansible --version If Ansible is installed correctly, you should see the version information displayed. ...

2025-02-27 · 3 min

Automating Backups in Your HomeLab with Borg and Rclone

What You’ll Need A server or device to act as the backup source. BorgBackup installed on the source. Rclone for cloud storage synchronization. A cloud storage account (e.g., Google Drive, AWS S3, Backblaze). Step 1: Install BorgBackup Update and install BorgBackup: sudo apt update && sudo apt install -y borgbackup Verify the installation: borg --version Step 2: Initialize a Borg Repository Create a directory for backups: mkdir -p ~/backups/borg Initialize the Borg repository: ...

2024-12-04 · 3 min