talks/homeserver.md

8.8 KiB

inlineSVG paginate
true true

the homeserver talk

bg


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.


bg


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


bg


bg


bg bg vertical bg


what I run?

Monitoring

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

bg fit


bg fit

[#](https://grafana.bb8.fun/d/_u2-GHSik/main-dashboard?orgId=1&fullscreen&panelId=3&from=now%2Fw&to=now)

Media

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

Content


hardware

bg


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

bg right


system76 Meerkat

bg


Other Alternatives

bg right

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

have some old laptops?

bg cover


really into networking?

bg cover


really want a cluster?

bg cover


Hybrid

  • Local Disk, Cloud Compute


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

glue

bg


software

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

pick something dumb

bg


containers?

  • secure
  • declarative configuration
  • orchestration is 100x easier

networking

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

bg cover


bg cover


security

bg


security

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

buy a raspberry pi today

bg


self-hosting references


questions?