Live data from Hacker News

Self-Hosted Homelab Website

hydn.dev

11–20 of 121 posts

Re: Self-Hosted Homelab Website

#12
Sweet! Here's my homelab - https://i.imgur.com/QS0o4ni.jpg - I should self host an about page, too.

- Netgear Cable modem

- Edgerouter ER4

- 8-port POE Edgeswitch, powers the nanoHD AP in my hallway and acts as the backbone of the network.

- Raspberry Pi 3 as a dedicated pihole DNS server

- TPLink 16 port switch serves all the 'lab' gear.

- 2x R720's. One is off, the other is a VMWare ESXi host.

- ESXi is pretty light at the moment - running Unifi controller and a dedicated VM that just runs Elasticsearch for a side project. For a while I was heavily using it to simulate an AD deployment for a small business.

- Synology DS918 is a network drive and network time machine backup destination. It backs itself up to Backblaze nightly.

- Everything is on a simple Cyberpower 1500VA UPS. I can run everything for about 80 minutes without power, but if I shut down the R720 the runway gets much longer.

I got my start in about 2003-2004 by trying to run my own mini ISP out of my home during High School. I was doing everything over a residential DSL connection that only got 1.5mbit down and a fraction of that for upload.

I still remember asking my bud to help me 'test my mail server' which was a Qmail installation via the Qmail rocks guide. The machine was a Pentium 3 with 128mb of RAM. My bud Anand (Founder of Gyrosco.pe) sent a handful of test emails to it and brought it to its knees! Absolutely hilarious incident at the time.

I wish that I had more photos of that time in my life.

Re: Self-Hosted Homelab Website

#13
Nice!

I have a raspberry 2b+ with several services: ldap, syncthing, gitea, cups server, minidlna, torrent server, NFS, nginx for PHP stuff like phpldapadmin, phpmyadmin, nextcloud, etc.

I realized that I don't need a public IP. I set up zerotier on all my machines and pointed a subdomain that I own to that IP. OK, other people can't visit it, but I rarely need them to.

It's perfect, but nextcloud is slow :( Maybe an upgrade to rpi 4 will help it be faster.

Re: Self-Hosted Homelab Website

#15
I went down the edgerouter path (edgerouter x sfp) and have regrets, in case others get ideas (or if someone has fixes, I'm all ears). Don't get me wrong, the device works great, I was entertained by it running vyatta which I had experience with at the time, and I just got https://github.com/nextdns/nextdns running on it which is super awesome. But I have a bunch of devices connecting to wifi, which seems to work waaay better integrated with the unifi line of products. I'm probably going to swap it out one of these days, and I can make due with running the controller on a 24/7 box to smooth it out a bit, but I'd totally go unifi down the line if I had to do over.

Re: Self-Hosted Homelab Website

#16

I haven't self-hosted a website in a long time. Do you still need a static IP in order to do so, or do you have some kind of service that updates the IP? How does it interact with DNS?

I'm using a Caddy app I wrote that updates my DNS records, and it works for any DNS provider that has an API: https://github.com/mholt/caddy-dynamicdns/

Re: Self-Hosted Homelab Website

#17

I have simple note server[1] running on raspberry pi. I want it to be accessible from Internet but my ISP uses double NAT and theirs no other way around it. :/ [1] : https://github.com/quaintdev/pinotes

Tailscale or Zerotier are good ways around that.

Or setting up a really cheap server (e.g. I like RamNode) as a central VPN point.

Re: Self-Hosted Homelab Website

#18
post #15

I went down the edgerouter path (edgerouter x sfp) and have regrets, in case others get ideas (or if someone has fixes, I'm all ears). Don't get me wrong, the device works great, I was entertained by it running vyatta which I had experience with at the time, and I just got https://github.com/nextdns/nextdns running on it which is super awesome. But I have a bunch of devices connecting to wifi, which seems to work waa…

I tried to start with an edgerouter and a Unifi AP and quickly switched to an all-Unifi setup. I recently switched from a cloud key to running the controller on a $5/mo Digitalocean VM when the UCK died for whatever reason. I’m not sure about how ultimately reliable it’ll be but I like it fine. The remote adopt function in the iOS app is extremely slick.

Re: Self-Hosted Homelab Website

#19

Sweet! Here's my homelab - https://i.imgur.com/QS0o4ni.jpg - I should self host an about page, too. - Netgear Cable modem - Edgerouter ER4 - 8-port POE Edgeswitch, powers the nanoHD AP in my hallway and acts as the backbone of the network. - Raspberry Pi 3 as a dedicated pihole DNS server - TPLink 16 port switch serves all the 'lab' gear. - 2x R720's. One is off, the other is a VMWare ESXi host. - ESXi is pretty ligh…

That is sweet! Yes cyberpower ups are really great. I regret not going 1500va as well.

Re: Self-Hosted Homelab Website

#20
Looks awesome! I went down the homelab-ish rabbit hole recently myself and it was probably the most fun I've had in a long time on a project. My goals were more about hosting a bunch of IoT stuff internally (sensors, cameras, etc), but I wrote up a bit about at least the rack/equipment here: http://cra.mr/my-journey-into-home-automation/

At some point, I'm hoping to dive a bit deeper on the software side, which was also super fun.

Post reply on HN