Skip to content

ashendge/raspberry-infra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

raspberry-infra

Raspberry infrastructure related and networking projects

Raspberry Pi Infrastructure Lab

A hands-on homelab built on a Raspberry Pi 4, combining real-world networking, monitoring, and Infrastructure as Code (IaC) projects to sharpen system design and DevOps skills.


Table of Contents


Project 1: DNS Server (Pi-hole + Unbound)

Overview

A self-hosted DNS server that blocks ads and trackers while resolving domains via a local recursive resolver (Unbound).

Stack

Setup Steps

  1. Install Pi-hole on Raspberry Pi
  2. Configure your device’s DNS to point to Pi-hole (e.g., 192.168.1.100)
  3. Install Unbound for recursive DNS
  4. Configure Pi-hole to forward DNS to Unbound (127.0.0.1#5335)
  5. Verify using dig and nslookup

Screenshot / Demo

dig fb.com @127.0.0.1 -p 5335 | grep SERVER
;; SERVER: 127.0.0.1#5335(127.0.0.1)

Project 2: Network Monitoring (Grafana + Prometheus)

Overview

A dashboard for monitoring home network traffic, latency, system health, and uptime across devices.

Stack

Setup Steps

  1. Install Prometheus and Grafana (via Docker or native)
  2. Add Prometheus data source to Grafana
  3. Use Node Exporter or Pi.Alert to expose metrics
  4. Create dashboards to monitor:
    • Raspberry Pi CPU/RAM
    • Connected devices
    • Ping latency
    • Speedtest (optional)

Screenshot / Demo

Add sample dashboards or Pi.Alert UI screenshots.


Project 3: Infrastructure as Code (Terraform + Docker)

Overview

Automate infrastructure on the Raspberry Pi using Terraform to define and deploy containers like Grafana, Prometheus, and Pi-hole.

Stack

Goals

  • Use Terraform to define infrastructure in .tf files
  • Provision Docker containers for monitoring and DNS
  • Simulate real-world IaC workflows

Basic Terraform Project Structure

About

Raspberry infrastructure related and networking projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published