mirror of
https://github.com/captn3m0/talks.git
synced 2024-09-28 13:22:49 +00:00
8.8 KiB
8.8 KiB
inlineSVG | paginate |
---|---|
true | true |
the homeserver talk
whoami
- Nemo
- @captn3m0
- @razorpay (💸 💳)
- me@captnemo.in
agenda
- What counts as a homeserver?
- Why you should run one?
- How do you get started?
- All the gotchas!
- CTA
homeserver
A computer which runs service(s) for personal use.
motivation?
- owning your data
motivation?
- owning your data
- de-googling
motivation?
- owning your data
- de-googling
- backing up your data locally
motivation?
- owning your data
- de-googling
- backing up your data locally
- learning/experimenting with tech
motivation?
- owning your data
- de-googling
- backing up your data locally
- learning/experimenting with tech
- playing mario
time?
<5 hr a month
what I run?
Monitoring
- Prometheus
- Grafana
- speedtest-exporter
- ACT Exporter
- CAdvisor
[#](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
- Nextcloud ☁️ ✅ (Drive/Calendar/Contacts/Documents)
- Miniflux (🗞️
RSS
) (Feeds) - Timemachine (💻 ⏮)
- wiki.js
- Radicale 📅 🗂️ (Contacts/Calendar)
- RSS Bridge
- Gitea (GitHub)
- ZNC (IRC)
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
- Intel NUCs
- Hetzner Server Auctions (20-50USD/mo).
- NAS/Network device.
- 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
- docker *
- kubernetes
- ansible/puppet/chef
- helm?
- tool-of-your-choice
- Unraid
- 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
- Run everything in isolation
- Don't expose services
- Expose services without auth over VPN only
- Don't expose management services over Internet
- Keep services behind Auth (even Basic Auth works)
- Go Hybrid