this post was submitted on 21 Dec 2023
93 points (97.9% liked)

Selfhosted

40645 readers
132 users here now

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:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. 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.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

Hi friends. I'm a newbie in self-hosting, though I've been managing (virtual) linux servers at work for a couple of years. I'm completely ignorant on the hardware choices out there, hopefully you can point me to the right direction.

Here are my requisites:

  • Low power consumption, I plan to have it connected 24/7 and I'm kinda concerned on how much it will impact the electricity bill
  • Ethernet port, preferably gigabit but whatever
  • Graphical performance is not important as I don't plan to connect it to any display. As long as I can ssh into it, I'm good.

Services I plan on installing, for starters:

  • casaOS
  • pi-hole, or equivalent
  • Home Assistant
  • Kitchen Owl (nice to have)
  • Paperless-ngx (nice to have)

I live in europe and my budget is around 80 euros or so. Thanks in advance!

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 70 points 1 year ago (3 children)

Risking sounding like a broken record, I always suggest Tiny/Mini/Micro 1L form factor office PCs. Lenovo, Dell, and HP all create ultra small office PCs that make great low power servers. A Pi will use 5-9w at idle, while these PCs will use 11-13w idle. They also use more standard components such as NVME drives, 2.5" drives, and replaceable RAM. Easy to find under $100 USD used, I'm sure you can find them under 100 euro.

[–] [email protected] 2 points 1 year ago

We buy the HP Pro/Elitedesk 1L pcs as backup servers and attach storage.
Works pretty good and they are pretty cheap with the power they can provide.

[–] [email protected] 2 points 1 year ago

Good point.

The Pi Zero is 2w max... It's downside is it draws 2w MAX. Power is power, only so much you can do in 2w. As you pointed out, the 4 and 5 can do more, because they can draw more, (or they draw more so can do more, it's all related).

The key seems to be ability to minimize the idle power while still capable of ramping up to something useful when you need it - like the micros you've listed.

[–] [email protected] 31 points 1 year ago* (last edited 1 year ago) (3 children)

Try a used laptop. Cheap, power efficient, built in UPS, small. Can be quite powerful and some are even upgradable

[–] [email protected] 8 points 1 year ago (1 children)

Dammit, I have a few of those, you're killing my excuse to buy a new toy!

[–] [email protected] 3 points 1 year ago

Let me help you with that: what if you need more power? or what if you need something smaller due to size constraints or maybe what if the old battery can't handle 24/7?. Pick one!

[–] [email protected] 3 points 1 year ago

Even has a KVM for emergency access ;)

[–] [email protected] 2 points 1 year ago

absolutely this.

[–] [email protected] 12 points 1 year ago* (last edited 1 year ago) (4 children)

As a point of reference regarding power consumption:

I've been running a desktop non-stop for the last ten years (built as a gaming rig) as a file/media server, so it's probably the worst thing you can run this way, power-wise. Has an 800 watt power supply, running windows.

I've done the math many times, costs me about $1/day in power at mostly idle.

Just presenting a worst-case example as a guideline.

I've recently spun up a Raspberry Pi Zero W for PiHole, DHCP, DNS, Tailscale, Joplin and Bitwarden. It's maximum power draw is TWO WATTS. Haha

Currently running a watt meter on the desktop, should have some decent actual numbers from it soon, but can't imagine idle is any less than 50 watts.

So there's two extremes. Don't be me (looks like you aren't!)

Edit: I wouldn't recommend the Zero W for this, it's underpowered. I'm already overloading it with just PiHole and Tailscale, honestly.

[–] [email protected] 4 points 1 year ago

Yeah same. I have several machines that whirrr all the time. The power cost and usage is fairly negligible. The real costs in the house are appliances. OP will save more energy by getting a more power efficient fridge or dishwasher than worry about a computer being on in the closet

[–] [email protected] 4 points 1 year ago (2 children)

Throwing in my own data, I have a small server rack at home that runs a brocade icx4630 switch and dell r720, idles around 250w. My desktop setup, monitors, amp, computer itself etc idles around 200w.

[–] [email protected] 4 points 1 year ago

Oof. Maybe my power is worse than I thought!

[–] [email protected] 3 points 1 year ago

Adding my data as well:

My server is diy desktop pc - mbo MSI Z270-A PRO with celeron G3930 and 16GB RAM, 3x SSD on 550W PSU, idles at 23W. After adding another 3.5" HDD consuption went up to 34W. 34W in Ctoatia is around 34€ a year.

Some SFF PCs are at 10-15W. SBCs like rpi should be below 10 W, but dont think you can get anything new for 80€

load more comments (2 replies)
[–] [email protected] 9 points 1 year ago* (last edited 1 year ago) (1 children)

Look into a NUC on ebay. I was able to snag a new 11th Gen i3 for 200 eur. Power draw is about 7w with a headless Debian. Running a media server, nextcloud, pihole, an arr stack and I'm planning to add home assistant and a zigbee bridge which I now run on a pi.

If you aren't planning to run to much on it a rpi4or5 will actually be enough and these things can draw 15 on absolute max load.

[–] [email protected] 3 points 1 year ago (1 children)

Wow, 7w. And has real horsepower unlike RPi.

[–] [email protected] 3 points 1 year ago

Im really impressed with the thing. Cpu idles at 30C as well. Very similar to rpi4 with 5 times the performance.

[–] [email protected] 8 points 1 year ago

I have an Intel NUC I got on eBay for £50. It’s running 30 containers, 10W draw

[–] [email protected] 7 points 1 year ago (3 children)

Lenovo m900 tiny. Low cost and power.

[–] [email protected] 3 points 1 year ago

They're also surprisingly easy to upgrade for their size. Swapped RAM, CPU, and hard drive in about 15 minutes total on one of mine.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

I second Lenovo tiny. I have 3 x m920q with a gigabit switch and total combined power draw is about 53w

[–] [email protected] 2 points 1 year ago

Think centre tiny gang rise up :-) !

[–] [email protected] 6 points 1 year ago

A raspberry pi or orange pi could definitely run all of those things at very low power consumption.

[–] [email protected] 4 points 1 year ago

Any Intel NUC(the small 4x4 ones) 8th gen or forward will fit the bill.

[–] [email protected] 4 points 1 year ago (2 children)

@pathief I think what you are looking for is intel n100 since it only uses like 6-watt TDP, but before jumping to that, you should look at Heaven video. If you only want to run for a year or two, maybe the older CPU is much better.

https://www.youtube.com/watch?v=PisIPpbMkTc

I hope you found what you are looking for.

[–] [email protected] 1 points 1 year ago

Here is an alternative Piped link(s):

https://www.piped.video/watch?v=PisIPpbMkTc

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I'm open-source; check me out at GitHub.

load more comments (1 replies)
[–] [email protected] 3 points 1 year ago

Have a look at the ServeTheHome site and channel on youtube ... he's done a load of good reviews of AliExpress devices and some tiny/mini/micro devices (think thinclients)

He covers power consumption and some interesting points (like which recent multi-Gb NICs are supported by pfSense / Proxmox / etc)

Just watching those should at least help you decide what you need.

I was going to build my own virt server and I ended up with a low power, silent, passively cooled box to run all my VMs in... for much cheap.

[–] [email protected] 3 points 1 year ago (2 children)

Not to state the obvious one, but there's always the Raspberry Pi.

The supply has gotten better on those, so you can probably pick one up in your price range, and the power draw is super minimal.

[–] [email protected] 3 points 1 year ago

In my country pi4 8GB ram with PSU 130€ and then you need SD card and/or SSD

[–] [email protected] 3 points 1 year ago (3 children)

Raspberry Pi was my first choice, but apparently I can't even back order it :/

[–] [email protected] 4 points 1 year ago (4 children)

Alternatively, there are also some options from pine64.com, maybe scroll through there! Same for odroid.nl

load more comments (3 replies)
[–] [email protected] 3 points 1 year ago

If it’s been a while since you checked, it’s worth checking again. RPi has been becoming more available over the last month or two, and I was able to get one of the new RPi 5!

Someone put together a great locator tool

load more comments (1 replies)
[–] [email protected] 3 points 1 year ago

Hey fellow european!

Tinytronics.nl -> Pi4 model B 8GB: 87€ and in stock. The 4GB model is 68€. They also have orange Pi for a higher budget.

Kiwi-electronics.com -> Pi 4 model B, 4GB? 63€. They also have all the pi accessories you could want.

If you are going to use paperless for important documents, and if you want to not lose data for sure, get a 1TB cheap HDD or something and a USB3.0 adapter. SD cards will eventually fail.

Otherwise, get an old used laptop 2nd hand. I used an old HP probook G1 laptop for about a year for my server. It didn't use much power at all.

[–] Kalcifer 3 points 1 year ago

HP EliteDesk 800 G3 Mini (or equivalent)? You can get them for pretty cheap on eBay.

[–] [email protected] 3 points 1 year ago

A cheap android box + armbianOs is also an option if you're looking for low power. I have a 7watt one that's running 24/7 for the last few years.

[–] [email protected] 2 points 1 year ago

At around 80 euros then for lowest power you should go Raspberry Pi, for most performance while still being low power an old business laptop is fine, and since you don't need the screen you can buy one with a broken screen.

[–] [email protected] 2 points 1 year ago (1 children)

A used Android pixel phone. You can root it and install Pideploy and run PiHole through it.

I have an old Pixel 3a doing exactly this. The other services I don’t quite know if they have an Android implementation.

Doesn’t suit your every use case, but I figured I’d share.

[–] [email protected] 3 points 1 year ago (1 children)

termux-root has a docker package. That still doesn't cover everything but a lot of popular services have docker images

[–] [email protected] 1 points 1 year ago

Ooo learn something new every day. I’m going to have to try this out later. Thanks!

[–] [email protected] 2 points 1 year ago (2 children)

A refurbished elite desk sff PC works great.

load more comments (2 replies)
[–] [email protected] 2 points 11 months ago

My whole "homelab" is made of either things I literally found in the trash, hand-me downs and 2nd part stuff I got for extremely cheap. It's no speed deamon, but it's got 8cores, 16GB ram and gigabit... What I'm trying to say is, that is most likely also an option for you and there is no reason to buy the latest and greatest of hardware for running simple things like pi-hole. As for the electricity bill, unless you're running something computationally intensive 24/7 or just a ton of hard drives, I wouldn't worry about it.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

+1 for CasaOS! The simplest and best I've tried.

Lots of good suggestions here already but nobodys mentioned the Asrock A300 DeskMini. Low power consumption and you could probably find one for pretty cheap.

Obviously an old laptop you don't use anymore is a great and affordable choice too. Comes with a built-in battery backup!

load more comments
view more: next ›