DevOps & Network Infrastructure

Hyper Efficient Web Server

Self-Hosted Edge Routing with Raspberry Pi & Cloudflare Tunnels

Executive Summary

Architected and deployed a production-grade, self-hosted web server using a Raspberry Pi. I implemented a Zero Trust architecture using Cloudflare Tunnels to securely route global traffic without opening vulnerable router ports.

Repurposed a Google Home Mini power supply for stable operation. Total server costs to run 24/7 is roughly $5/YEAR.

Infrastructure & Networking

  • Hardware: Raspberry Pi running headless Debian Linux via SSH.
  • Reverse Tunneling: cloudflared daemon creates an encrypted outbound-only bridge to Cloudflare’s edge.
  • SSL Offloading: Managed at the edge to reduce Pi processing overhead.

Web Stack & Deployment

  • Server: Nginx on 0.0.0.0:80.
  • Pipeline: VS Code SFTP extension for automated sync on save.

Security & Analytics

Cloudflare Bot Fight Mode secures the edge. Logs monitored locally via tail -f access.log.

Network Architecture & Zero Trust Flow

Network Architecture
Hardware Setup Tunnel Status Analytics