Six-Year homelab history in pictures
blog.networkprofile.org
blog.networkprofile.org
I just got a Dell R720 off Craigslist to do an experiment with the Firecracker MicroVM of all things. It's got 48gb of ram and dual hex-core Xeons. It's a lot of fun to play with this kind of gear.
Ikea sells a 'rack' (not the Lackrack, https://wiki.eth0.nl/index.php/LackRack) that is really great for holding gear: https://www.ikea.com/us/en/catalog/products/S39031411/
Some pix of my recent setup: https://imgur.com/a/xXc6720
Back in ~2014 I had a similar tiny setup in my basement with a UPS and an older (and much louder) Poweredge 2950: http://i.imgur.com/zxYxuLq.jpg
Biggest issue is fan noise. You have to tuck them away somewhere.
e.g. https://www.ebay.com/itm/Dell-PowerEdge-C6220-GEN-II-4-x-Nod...
Then I use wireguard to connect it to my home network and make it act like a server in the home network. (All the traffic even gets directed through home)
I still have the main storage server locally though because otherwise I'd not be able to even watch movies if my internet went down.
My dream would be an all SSD storage server being near silet.
Can anyone share other use cases they’ve found to be practical with their homelab setup?
- Guest Wi-Fi VLAN with UniFi + PfSense
- NAS with automatic backups of client machines via Syncthing
- Automatic file history of backups with ZFS Snapshots via FreeNAS
- Automatic mirroring of backups to the cloud with Duplicati + Sia
- Home media server via Plex
- Home automation / web dashboard via Home Assistant
- Minecraft server with MineOS in a VM
Those are all things I either have working, or am currently working on setting up on my own network.
I’m also looking for more performance related tunes as well. To that end, I’ve configured Cloudflares DNS but not sure what else yields results. It sounds like squid caching is mostly useless due to most traffic being HTTPS.
I did look into fq_codel but I don't believe that was a practical option on PfSense back when I was setting everything up. I might have to revisit that now that it has native support in PfSense 2.4.4.
How does one "get hold" of a $3k SSD? This is awesome though, you clearly put a lot of work into this.
Some people also use them to run Plex/Pihole/Pfsense and the like as well.
For others though it really is a hobby in the sense of building to build.
I play model datacenter the way my grandfather played model railroad. Good news is that I spend way less than he did. The future is awesome.
I also have some old rack-mount servers. But their fan-control systems are all Windows-based, and they're impossibly loud with Linux. I keep meaning to do some crude electrical hack -- basically a manual speed control -- but just haven't gotten around to it. And there's also the fact that I don't need that much muscle locally. Because I like to keep my network activity minimal.
Everything is on a 0.25kWh UPS (3kW maximum load). With a kill switch on my desk. The UPS and a pfSense perimeter router/firewall (and a rack with the old servers) live in a well-ventilated closet.
As long as you doing mind the noise + power they're not a bad deal.
I run mine in a basement in place of a small utility heater. If I'm going to burn the watts anyway, might as well get some processing cycles out of it.
Some high-end Xeon chips are dirt cheap, like $50 each or less, as parts. Certain models were made by the millions and are still good, but got tossed as more energy efficient versions came to market. It's just not economical to use them at scale.
I've had bits and pieces of a home setup over the years (currently just an HP microserver with disks and VMs) but lots of cost and noise for something I probably won't use a lot of.
A Hetzner dedi is more cost effective for some workloads.
I just decommissioned it all (still have a few network hard drives for local backup of laptops etc). The power it was drawing was about 300-400 watt. That is 7.2-9.6 kWh/day and 2600-3500 kWh/year. (At about $0.1/kWh.)
That is about equivalent of powering a Tesla Model 3 (160 Wh/km) 16000-22000 km, which is about what I drive per year.
Our garage has a south east facing roof which with solar panels could deliver about 3000 kWh/year. That installation isn’t terribly efficent due to scale, and would cost me about $15000 to install.
Instead we decided to move the email to a Swiss email provider (Migadu) that cost about $4/month. We may install solar panels later amyway, but moving the servers into the cloud cost $48/year and gave us enough equivalent electricity to drive the whole year.
Hmm, if he is talking about the EdgeRouter Lite, I have one, going strong since ~2014, didn't have any clue it has problems with flash drives, and there certainly isn't any need to open the case and mess with internal components. It's a good little router and I have few complaints with my Ubiquiti gear. I have not placed mine in a rack without adequate ventilation, however.
Some people have also had issues after installing OpenBSD on them without limiting writes.
Hey, it even comes with a USP!
Set the fans to max and do direct DC off of a DC UPS.
There’s lots of perfectly good hardware out there for cheap that may be beyond it’s useful life for top end production workloads but is still great for other projects or just tinkering.
My little TS140 with it's Xeon running Proxmox does just about all I need. My Synology does the backups and my EdgeRouter-X does the routing to round things out.
You can also just use VMs for this.
networking seems to be a hit or miss for people, some people find it very logical and "easy" while others seem convinced it's black magic.
networking basics is rather easy, the problem is complexity that gets added when you scale. (although i doubt you would reach that point in a homelab though).
You seem convinced it’s not black magic, so recommend a book/mooc/resource that’ll prove it. :-P
And this one will fill out your knowledge on the routing side, although it is rather dry: https://www.amazon.com/Network-Routing-Algorithms-Architectu...