A larger sized used motherboard or even a new cheap one often has more capability if you can deal with something that is larger..
Selfhosted
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Rules:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
-
No low-effort posts. This is subjective and will largely be determined by the community member reports.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
Oh, I can deal with something that's larger....
-wait, not like that.
Cheeky.
I see a ton of i5-8th gen 2-in-1s with dead batteries, but under 100 on ebay
Unless you specifically need ultra low power draw, a minipc is always a better bang for your buck, the cheapest solution is the dusty old laptop sitting on the shelf at the back of your closet....
This was my approach. Broken screen? Who cares! It'll run headless anyway. Dead battery? Whatever, I'll be plugged in 24/7.
It always starts small. I started with a 15 year old pre-ryzen AMD laptop, and an old external USB 4TB hard drive. NEW the laptop was $299.
A year later, I have a ruckus/brocade managed switch, a Lenovo M700 Tiny running home assistant and Jellyfin, while my main media/file server is a Xeon E3-1275v3 with 2 SSDs, and 6 8TiB SAS3 enterprise hard drives in a ZFS pool. And a Pi5 running adguard home as my DNS server.
And I've already used 60% of it. 🤣🤣
Great advice. I found an old laptop and I'm putting it through the paces now, and I'm really surprised at how easy all of this is. Setting up my own Invidious instance took minutes. Immich is where I'll need to plateau out, I expect. My partner will immediately fill up the laptop by dumping her phone onto it, so that will need to wait for a long-term solution. That being said, a Lenovo mini whatever seems like a solid standard.
Get a NUC or old laptop and install your distro of choice on it. Much less hassle than barely supported ARM boards with ancient kernels.
Used micro PC is often the best deal. Companies offload old SFF i5 and lower machines all the time. They’re all over eBay.
I used to be of the erroneous mind set that a server had to be some big honkin', dim the lights, piece of equipment, but that's not necessarily true now days with modern architecture. Doesn't take a lot to get a lot back.
Just look at the processors in the Synology offerings, you didn't need much to run a bunch of services.
I was thinking about waaaay back in the day, before the popularity of Synology, but you are correct. I think this is the year I will finally rid myself of these boat anchors.
Dude same. Back in the day I was dead set on getting older blades and a couple Dell 710 in a rack and “that’s what a real homelab is.”
Now, I still got the rack because I think they look cool, but it’s all decommissioned workstations, a white box unRaid server, and micro/mini PCs; there’s not a single traditional server box in place.
Now, I still got the rack because I think they look cool
I recently decommissioned one of my Dell T320s, and replaced it with the Dell Optiplex 7020 SFF with the i7-4790 and maxed out to 32 gb RAM. I paid $117 USD for the Optiplex 7020 SFF which came with 8GB RAM, and I maxed it out with three more 8 GB RAM sticks for about $75 USD.
The Dell T320 costs ~$40/month in electrical costs in my locale to run. The Dell Optiplex 7020 SFF costs $5-8/month to run. So, less than the duration of this year, I will have recouped my initial $200 investment in the Optiplex 7020 SFF just in power consumption alone, and I'll have 'left over' money if I wanted to get yet another Optiplex 7020 SFF. I have 40+ containers running on the Optiplex 7020 SFF, and it hasn't broke a sweat yet. Far more quieter than the Dell T320 and less heat funneling into the server room.
I'm going to sell the T320 which is also maxed out at 32 GB RAM, so I'll have more $$ to replace the other T320. Winner winner chicken dinner.
For a first machine a used Mac mini, especially one that precedes the T2 chip(although that’s not a deal breaker) is probably the best bang for the buck, solid hardware that will get what most people really want from a server unless they want a full on homelab, and they are easy to find cheaply on eBay. Also comes with the advantage of being able to run OSX with fewer hoops if you had a specific use case for that(running blue bubbles in the background or syncing to iCloud… mostly just convenience stuff if you have a leg in that ecosystem could also make a potential slow migration away less irritating)
If you can find a cheap NUC first tell me where because they are great options
Lenovo think centers can be found refurbed for under $100 too and will also be available for a long time because those fuckers were in every bank, hospital/drs office, and all manner of non-tech related offices for years and years.
Or you could be like me and jump two feet in with a used enterprise server, I dunno if I’d recommend this but I do know a lot more than I did when I started and have tons power and capacity to expand. And I’ve gotten more than enough use out of them to justify the $300ish I paid for my Poweredges plus electric bills. But do your research it took me a year to find documents on how to bypass the idrac drive virtualization bullshit and my power draw significantly dropped afterwards
I run a RockPro64 with Arch Arm. No need for a monitor - you just connect over SSH.
I've owned a few devices like Orange Pi but really more as a curiosity that I never did much with. I have, however, seen discussions suggesting that when you move away from the RasPi ecosystem, support for various tooling gets more complicated because you're in a much smaller pool of hardware and this makes them more effort to setup. I don't know the validity of that, but it sounded plausible to me.
Just get a Pi. Just because you don't need wifi doesn't mean it won't potentially be useful down the road.
Also to consider are NUCs. I for one got a Firebat with N100 and 8 or 16 GB of RAM and it was already a few years ago cheaper than a RPi 4.
N100 CPU beats any SBC in every aspect except maybe power? Still very low consumption tho. This will leave you headroom for years of selfhosting, because once you get going, there is no coming back.
Nothing more valuable in privacy terms than keeping your photos off the cloud (immich), then data off the cloud (copyparty, nextcloud,...). It never stops and the n100 will support that no problem.
N100/N150 doesn't use that much more power and going for x64 instead of ARM could be a pretty big benefit too. Depends on what you want of course.
Going directly against your ask: a raspberry pi 3b is cheap and has what you need. :)
Scrounge an old laptop, maybe super cheap if the screen isn't completely working. Plug in a monitor to deal with screen problems.
Get an old Android phone, possibly with a dead screen (bootloader must be unlocked). Flash PostmarketOS on it, or (if not supported) Termux. Its idle usage (with WiFi on, screen off) may be considerably less than 1w. It'll have considerable amounts of CPU cores and RAM, more than a cheap VPS.
I just bought a Mac mini for $50 from a local university’s surplus store. I plan to use it as spare hdd space for another device (it came with a 1tb drive), but even being older, it’s still very capable.
Perhaps a similar device could work for you?
Yep, I forgot we have an older MBP that can still manage minimums for Docker. Already had redlib up on it.
radxa has very good sbc’s at the most economical pricing and great software support. only thing is they get sold out pretty quickly. something like X4 or rock 5B will be best for your needs. dragon q6a is also extremely efficient but they get sold out almost immediately after stock comes.
they sell through https://arace.tech/ so subscribe to them if for back in stock alerts
Lenovo thinkcentre tinys
As others mentioned used SFF PCs, here's my recommendation based on my own experience.
I bought several used Dell Wyse 5070. The 5070 was announced in May 2018 and used as thin client.
They're tiny, silent (no fan) and you can fit a NVMe SSD via adapter (PCIe A/E key -> M key) in the WiFi card slot next to a SATA SSD. I picked the ones with Intel Celeron J4105 (Quad Core) with 1.5GHz, up to 2.5GHz burst and put 32 GB RAM in one of them (that was before prices went nuts).
Beware, only if you pick the right dual ranked RAM modules (e.g. Patriot PSD416G26662S), you can have a max. of 2x16 GB. To start your journey, 4 or 8 GB might just be enough and don't cost an arm and a leg.
Now I have a PVE (Proxmox Virtual Environment) running with several virtual servers and lxc, one 5070 hosts a PBS (Proxmox Backup Server) and both devices are far from their limit. In case of hardware failure I have spare 5070s.
Each 5070 cost around $65 and runs at around 8 watts at average. Dunno about current prices though.
It fits my needs and will continue to do so for the foreseeable future.
Maybe it fits your needs as well?
Have a look at DietPi. That is a single-board-computer optimized Linux distribution that, in contradiction to what the name might suggest, runs on (almost) all of the SBC’s out there. It has stripped away all the things you don’t need and only installs and loads what is needed to run the software you choose, resulting in a very lightweight but powerful operating system for these kinds of devices. It has its own software catalog with a broad selection of optimized software, but you can of course install anything you want. Ive been running this on a Raxda Rock4 without any problems, and would definitely suggest this even on a Raspberry over the regular Pi image.
+1 on dietpi
Have it running on a HP t630 I got for <20€, as "the wifi stick is no longer detected".
...right.
Also got a Wyse 5070 for about 50€ with 8gb ram. The HP is pulling a little less Watts, so it's the pihole/unbound server for now
It probably isn’t going to cost less to get something without wifi.
If you dont need an sbc or something arm based mini pcs/thin clients/laptops work well. I run redlib, yamtrack and a monero node on hp t630 w/ 16GB ram (bought before the rampocalypse for ~ $60) and a torrent seedbox/streaming nas on wyse 3040 (~$10). Here's a great website about thin clients https://www.parkytowers.me.uk/thin/hware/hardware.shtml
I actually have one of these: Dell Optiplex 3020 Micro
Has a 16 GB RAM max. Doesn't come with HDMI but you can utilize one of these VGA/HDMI or Display port /HDMI
Surprisingly snappy little machines. Drop in another 8 GB stick of RAM for $25 and you're off to the races.
Dell Optiplex 7020 SFF with the i7-4790 maxed out to 32 gb RAM are pretty nice too and can be found on Amazon for around $125.
I went rpi4>n100> a couple n100s and that pi> the dxp4800, I think it's a pentium, and those n100s. I think I'm ok here, I have networking, compute + local backup, and storage all in their own box.
This was just posted to selfhosted, and does a great job showing what RPi is competing with.
It's a tool for seeing actual idle wattage draw for a lot of mini-PCs.
Many are in the single-digit idle power - the RPi claim to fame - but have a lot more capability than Pi, plus come in useful packages.
Just thought it would be a useful link for here.
If you don't mind some low specs, and are focused on lowest price, a potato pi runs for about $30 IIRC, and is plenty to do small stuff like an openvpn server.
Nanopi. I have a couple. They’re not bad.
There are companies dealing with used and refurbished hardware. There are loads of PCs around that are not bloated enough for Win11, but still make good home servers. Depending on specs and prices, buy more than one for extra RAM, a second SSD, and spare parts.
I have a RPI 4b and 3 lenovos (m93p, m710q, p330).
You can't beat the RPI for power draw (~2w idle and ~7w under max load) but I suspect if you wanted to look at $ to utility measure you'd probably prefer the Lenovo M93P. $50 USD. Mine has i7-4785t, 16GB ddr3 (2x8iirc?) with ethernet, USB etc. Bought 2023/4. I expect base model is still that price now (mines upgraded). The only caveat is that it doesn't have HDMI, it has display port out, but that's just a $5 dongle or SSH issue. M73 would be a touch cheaper.
Iirc the TDP is 35w max and can be lowered / undervolted a touch (don't update the BIOS - it blocks throtlestop).
I turned mine into a retro PC slash game server for the kids (luanti etc). But the siren call of doing truly impossible things with the RPI is too beguiling :)
Eg: running diet pi (headless) with all of my services (media stack, privacy, docs, search, images etc) takes about 300 megabytes (or 650mb if I have to boot into xfce).
300mb, 2-3w.
That shouldn't be possible. I love it.
My next goal is to create an expert system / pseudo llm that sources answers based on user provided markdown or PDF, ZIM files and 4get search or Tavily.
The advantage here is that 1) speed will be stupid fast as no neural network crap (outside of optional extra Markov chain garnish) 2) not stochastic (but allow for llm as optional "plug in module" - pi might actually run a 135M at non glacial speeds) 3) still serves openAI compat endpoint.
Thanks for this, this sounds like where I'm headed. I just hadn't even considered thin clients/mini PCs, and it sounds like a lot of people are using Lenovos for this exact thing. I'm not at the point yet of doing something big, just small home lab, but I would like to get to the point of hosting immich for the family, and maybe having an LLM or SD in there at some point. But by then I'm hoping the RAMpocalypse is easing up. For now, it's just privacy front ends until I know what I'm doing.
Go for it! The m73 is cheap enough (and powerful enough) to run all that and ddr3 is still not insane (say, 2x8gb 1600mhz sodimm if want / need). $100 or so, all up, if you shop around / your local market pending.
Raspberry pi is more elegant / more constrained / more "fuck you, figure it out" but unless you need the challenge, Lenovo is simpler and all around easier first step :). You can't stick a gpu in it (I think the m920 is the oldest one that has pcie - dunno what they go for. The usual combo is something like a 920 and a Quadro P1000 4GB GPU. Maybe ~$300 all up if we're guessing. At which point, there are better, non shoe box options)
Last I checked (roughly 2 years ago, preRAM price spike) SBCs weren't the most cost effective option for self hosting anymore. I would actually look into used thin clients or desktops. Even new, the hardware is often less expensive and more capable than SBCs. Sometimes they're also more power efficient.
As for community support for the SBCs other than RPi, for most of them it has been close to non existent. Some better than others but the RPi was the community favorite and got all the attention due to its low price at the time.