๐ My Homelab Infrastructure - Self-Hosted Services & Learning Lab
๐ My Homelab Infrastructure
By Ahmed โข September 21, 2024
Welcome to my homelab journey! This is where I experiment with self-hosted services, learn new technologies, and build my personal cloud infrastructure. From media streaming to network monitoring, I run everything locally for privacy, learning, and pure enjoyment.
๐ฏ What is a Homelab?
A homelab is a personal environment where you can experiment with hardware and software without the constraints of production systems. Itโs your playground for learning, testing new technologies, and hosting services for your home network.
Whether itโs a single Raspberry Pi running Pi-hole or a full server rack with enterprise hardware, the goal remains the same: hands-on learning and practical experience with real-world technologies.
๐ฅ๏ธ My Hardware Setup
Proxmox Nodes
- PVE1 (Primary): Dell PowerEdge R720 - Main virtualization host
- Ahmed2 (Secondary): HP ProLiant DL380 - Backup and clustering node
Kubernetes Cluster
- Control Plane: Lenovo ThinkCentre M710q Tiny (Intel i3, 16GB RAM)
- Worker Nodes: 2x Raspberry Pi 4 (4GB RAM each)
Storage & Networking
- Storage: 8TB RAID-10 array for VM storage
- Network: pfSense firewall, managed switches, and VLANs
- Backup: Automated daily backups to external storage
๐ง Self-Hosted Applications
Here are the key services running in my homelab:
๐บ Media Services
Plex Media Server
Personal Netflix alternative with hardware transcoding support.
- Access: plex.tv
- Features: 4K transcoding, mobile apps, remote access
- Storage: 4TB media library
Jellyfin
Open-source media server with no subscription requirements.
- Access: jellyfin.org
- Features: Free forever, hardware acceleration, live TV
๐ Home Automation
Home Assistant
Central hub for all smart home devices and automation.
- Access: home-assistant.io
- Integrations: 50+ smart devices
- Automations: Lighting, climate, security systems
๐ก๏ธ Network & Security
Pi-hole
Network-wide ad blocker and DNS sinkhole.
- Access: pi-hole.net
- Features: Block ads across all devices
- Stats: 30%+ of requests blocked daily
Bitwarden
Self-hosted password manager for secure credential storage.
- Access: bitwarden.com
- Features: End-to-end encryption, family sharing
- Security: Self-hosted for complete control
๐ Monitoring & Management
Grafana
Beautiful dashboards for monitoring all infrastructure metrics.
- Access: grafana.com
- Data Sources: Prometheus, InfluxDB, MySQL
- Dashboards: 15+ custom monitoring dashboards
Prometheus
Time-series database for collecting and storing metrics.
- Access: prometheus.io
- Metrics: System resources, application performance
- Alerts: Real-time notifications for issues
Portainer
Docker container management made simple.
- Access: portainer.io
- Features: Web-based Docker management
- Containers: 30+ running containers managed
โ๏ธ Cloud Services
Nextcloud
Personal cloud storage and collaboration platform.
- Access: nextcloud.com
- Features: File sync, calendar, contacts, notes
- Storage: 2TB personal cloud storage
Nginx Proxy Manager
Reverse proxy with automatic SSL certificate management.
- Access: nginxproxymanager.com
- Features: Auto SSL, custom domains, access control
- Certificates: Letโs Encrypt integration
๐ฎ Entertainment & Media
Sonarr & Radarr
Automated TV show and movie collection management.
- Sonarr: sonarr.tv
- Radarr: radarr.video
- Features: Automatic downloads, quality profiles, calendar
๐ Infrastructure Monitoring
System Metrics
- CPU Usage: Average 15-25% across all nodes
- Memory: 60-70% utilization during peak hours
- Storage: 4TB total, 65% utilized
- Network: 1Gbps backbone, 100Mbps internet
Service Uptime
- Overall Uptime: 99.8% across all services
- Planned Maintenance: Monthly update windows
- Backup Status: Daily automated backups successful
- Security Updates: Auto-applied for critical patches
๐ง Technology Stack
Virtualization & Containers
1
2
3
4
5
platforms:
virtualization: "Proxmox VE 8.0"
containers: "Docker & Docker Compose"
orchestration: "Kubernetes (K3s)"
storage: "ZFS with snapshots"
Networking
1
2
3
4
5
network:
firewall: "pfSense with VLANs"
dns: "Pi-hole + Unbound"
vpn: "WireGuard for remote access"
monitoring: "PRTG Network Monitor"
Automation
1
2
3
4
5
automation:
configuration: "Ansible playbooks"
monitoring: "Prometheus + Grafana"
backups: "Restic + Rclone"
updates: "Watchtower for containers"
๐ Future Plans
Upcoming Projects
- AI/ML Lab: TensorFlow Serving on Kubernetes
- Edge Computing: Additional Raspberry Pi nodes
- Security Lab: Vulnerability scanning and SIEM
- Development: GitLab CE for code repositories
Hardware Upgrades
- Storage Expansion: Add 10TB NAS for long-term archival
- Network Upgrade: 10Gbps backbone infrastructure
- Power Management: UPS systems for clean shutdowns
- Cooling: Improved ventilation for summer months
๐ Learning Resources
Documentation
All configurations, scripts, and documentation are available in my GitHub repository:
Repository: github.com/ahmed86-star/Homelab
What Youโll Find
- Docker Compose files for all services
- Ansible playbooks for automation
- Network diagrams and architecture docs
- Troubleshooting guides and best practices
๐ก Key Takeaways
Building a homelab has been an incredible learning journey. Here are the most important lessons:
- Start Small: Begin with one service and gradually expand
- Document Everything: Future you will thank present you
- Monitor Proactively: Know when things break before users do
- Backup Religiously: Test your backups regularly
- Security First: Keep everything updated and secured
๐ Connect With Me
Want to discuss homelab projects or need advice on self-hosting?
- Website: ahmed1.live
- GitHub: @ahmed86-star
- Repository: Homelab Documentation
๐ Current Service Status
All services are monitored in real-time with automated health checks:
Service | Status | Uptime | Notes |
---|---|---|---|
Plex Media Server | ๐ข Online | 99.9% | Hardware transcoding active |
Home Assistant | ๐ข Online | 99.8% | 50+ devices connected |
Pi-hole | ๐ข Online | 99.9% | Blocking 30% of requests |
Nextcloud | ๐ข Online | 99.7% | 2TB storage, 5 users |
Bitwarden | ๐ข Online | 99.9% | Secure vault operational |
Grafana | ๐ข Online | 99.8% | 15 dashboards active |
Proxmox Cluster | ๐ข Online | 99.9% | HA configuration active |
*Last updated: September 21, 2024 | Built with passion for learning and self-hosting ๐* |