The challenge
Keep shared hardware, private networking, storage, and more than 20 containerized workloads manageable.
05 / Infrastructure & Systems Engineering
Self-Hosted Infrastructure, Automation & Live Monitoring
An Ubuntu homelab for private applications, AI workloads, storage, and live infrastructure monitoring. I built and maintain it to learn how real services behave over time.
Keep shared hardware, private networking, storage, and more than 20 containerized workloads manageable.
Compose-managed services, private DNS and routing, observability, and a restricted Python telemetry API.
Private application hosting and public server metrics without exposing management APIs or Prometheus.
Explore the architecture
Illustrative simplified overview, not a complete network topology. Select a category to reveal its components and documented connections.
Explore the original diagrams in the project media gallery.
Live monitoring
Live host telemetry from the existing read-only monitoring endpoint. Expand the status panel to inspect utilization, uptime, hardware, and the two monitored services: Node Exporter and cAdvisor.
Overview
I designed and maintain an Ubuntu-based homelab supporting containerized applications, private networking, AI workloads, storage services, and infrastructure monitoring. I built the environment to gain hands-on experience with Linux administration, networking, deployment, service orchestration, and operational troubleshooting.
Problem
Running multiple applications on shared hardware requires reliable networking, persistent storage, service isolation, monitoring, and controlled access. As the environment expanded, maintaining those components consistently became an engineering challenge.
Approach
I organized services using Docker Compose and systemd, configured private access through Tailscale and Technitium DNS, and implemented Caddy reverse proxy routing. I added Prometheus and Grafana for observability and developed Python APIs for system telemetry and operational tooling.
Architecture
Ubuntu Server 26.04 LTS runs on an AMD Ryzen 7 7800X3D with 32 GB RAM and an NVIDIA RTX 4070 SUPER. Docker networks isolate application traffic, while persistent volumes retain service data.
Technical implementation
I developed a dedicated Python monitoring service that queries Prometheus for CPU, memory, filesystem utilization, and uptime. I deployed it as a restricted systemd service and exposed a sanitized, read-only JSON endpoint through Cloudflare Tunnel, keeping administrative APIs and internal infrastructure private.
I configured container networking, persistent volumes, reverse proxies, and service dependencies, and diagnosed issues involving Docker network attachments, changing container addresses, firewall policies, and upstream connectivity.
Results
The environment supports more than 20 containerized workloads, AI inference, private application hosting, and infrastructure monitoring. I integrated real server telemetry into the public portfolio without exposing Prometheus or privileged management endpoints.
What I learned
Operating a system over time requires more than deploying applications. Network boundaries, permissions, monitoring, recovery procedures, and predictable service configuration are essential for maintaining reliable infrastructure. Troubleshooting production-like failures has been particularly valuable in developing practical systems engineering skills.
Tech stack
Ubuntu Server · Linux · Docker Compose · Python · systemd · Caddy · Tailscale · Technitium DNS · UFW · Prometheus · Grafana · Node Exporter · cAdvisor · Cloudflare Tunnel · NVIDIA CUDA
Project media