- You always wanted a personal server, but consumer-grade hardware is too expensive and used corporate hardware consumes more energy than you oven running 24/7?
- You are a student and building a server from scratch, even using cheap parts would require at least 200€ without shipping?
- Does the country you live in have extremely overpriced electricity?
- Paying monthly subscription for a virtual machine in a server farm does not give you cool boy points?
Those were the problems I've faced when playing around with the idea of a personal server. Something that I could tinker with, without any rules or major monthly expenses. And then I remembered - there is a partially broken laptop laying around in my basement.
At first thought, a laptop sounds like a terrible idea for a server, right? They have low power CPUs, only two RAM slots, and most likely just two SATA connections. You are limited to two fast drives or multiple drives sharing a single connection.
At second thought, laptops are cheap. Getting a laptop with a broken display or keyboard or a heavily damaged laptop with a working motherboard will be considerably cheaper than building a cheap full-sized server.
Advantages of a laptop-server: Low power CPU will drastically reduce power consumption. Since my server has no GPU, CPU remains the biggest consumer of resources. In my case, it is a 15W TDP i7-6500u. It has a built-in UPS. That's right, it comes with a free UPS that will keep your server running, even if the electricity goes out for a few minutes. Low noise. I took out the motherboard from the restrictive plastic body and attached it on a cheap wooden board. Air flows freely, the fan stays off until CPU has to do heavy work, which does not happen very often. And laptop fans are generally pretty silent. At least mine is. Free monitor for your sexy Grafana dashboard. If you get a laptop with an intact screen, you now have a nice dashboard to display cool graphs - it is worth having a homelab just for those nice graphs.
My homelab consists of a laptop mainboard, Raspberry Pi Zero running PiHole, unmanaged switch, and 15.6 inch LCD. All of them together consume between 12W and 25W depending on the load. It costs me around 2.6€/month to run this beast:
- It runs a Proxmox VE, which handles 5 different virtual machines.
- It runs a 10 slot Minecraft Server with a constant 20 TPS.
- It runs my Discord bot and it's databases.
- It runs various smaller Python projects I've written, like the lil_logger and lil_ripper.
- It acts as a Samba server in my local network. I have a 500-gigabyte hard disk serving my archived media to everyone on my LAN.
- It archives YouTube playlists for offline viewing. Do you have a few hundred watch later videos, and a lot of them get deleted? Yeah, that's why I have a local copy.
- It runs Grafana/Proxmox setup to generate those nice looking dashboards you see in the picture.
And it never exceeds 50% CPU usage doing that. If I had the money for an additional 8-gigabyte memory stick, it could probably do a lot more.
That's it. I just wanted to tell someone about my server. It runs fine, does not require maintenance and attention. It just works... unlike Fallout 76 at launch.