the homeserver talk

whoami

agenda

  1. What counts as a homeserver?
  2. Why you should run one?
  3. How do you get started?
  4. All the gotchas!
  5. CTA

homeserver

A computer which runs service(s) for personal use.

motivation?

  1. owning your data

motivation?

  1. owning your data
  2. de-googling

motivation?

  1. owning your data
  2. de-googling
  3. backing up your data locally

motivation?

  1. owning your data
  2. de-googling
  3. backing up your data locally
  4. learning/experimenting with tech

motivation?

  1. owning your data
  2. de-googling
  3. backing up your data locally
  4. learning/experimenting with tech
  5. playing mario

drop-shadow

time?

<5 hr a month

what I run?

Monitoring

  • Prometheus
  • Grafana
  • speedtest-exporter
  • ACT Exporter
  • CAdvisor

Media

  • Airsonic (🎵) (Google Play)
  • Jellyfin (🎥) (Netflix)
  • Kodi (📺) (Home Theater)
  • Audioserve (🎙 📖) (Audible)

Content

hardware

Specs

  • Intel i5-7600 3.5GHz
  • Nvidia 1050 Ti 4GB
  • 2x8GB DDR4 RAM
  • 3x3TB Internal HDD
  • MSI B250I Motherboard

☁️

  • DO 1vCPU / 2GB RAM / 30GB SSD ($10/mo) (BLR1 region)
  • + 100GB disk

A VM on the ☁️

  • Scaleway: 4ARMv8/2GB/50GB - 300 INR
  • AWS Lightsail: 1vCPU/512MB/20GB - 250 INR
  • Digital Ocean: 1vCPU/1GB/25GB - 350 INR

Beware of Persistent Storage cost

☁️

  • Security: Footgun
  • Batteries included
  • OpEx

cloud storage

Storage Cost/month Retail
1TB-SSD $100 $99
3TB-SSD $300 $224
1TB $25 $45
3TB $75 $84

Indicative AWS:EBS Prices

Raspberry Pi 3

  • 📝 1GB RAM
  • 🌐 Wireless/BLE/Ethernet
  • ⛓ 4 USB ports
  • 🎵 Audio/HDMI/Composite VGA
  • ⚡️ 2.5A
  • 💸 ~3k INR
  • 📷, GPIO

system76 Meerkat

Other Alternatives

  1. Intel NUCs
  2. Hetzner Server Auctions (20-50USD/mo).
  3. NAS/Network device.
  4. Gamer? r/pcmasterrace/wiki

have some old laptops?

really into networking?

really want a cluster?

Hybrid

  • Local Disk, Cloud Compute

Cloud Pi PC* Hybrid NAS
Security 🔒 + ++ ++ + ++
Utility +++ - 💵 ++ -
Cost 💸 +++ ++ + ++
Setup-Ease + + - -- ++
Ops-Ease ++ - + - ++
Storage -- - + ++ ++
Gaming -- - ++ ++ --
HTPC 💵 + ++ ++ +

glue

software

  1. docker *
  2. kubernetes
  3. ansible/puppet/chef
  4. helm?
  5. tool-of-your-choice
  6. Unraid
  7. HomelabOS

pick something dumb

containers?

  • secure
  • declarative configuration
  • orchestration is 100x easier

networking

  • Public + Static IP Address
  • Floating/Elastic IP
  • VPN
  • Wildcard DNS/TLS

security

security

  1. Don't expose services
  2. Expose services without auth over VPN only
  3. Don't expose management services over Internet
  4. Keep services behind Auth (even Basic Auth works)
  5. Go Hybrid

buy a raspberry pi today

self-hosting references

questions?