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

Selfhosted

40296 readers
343 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 1 year 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
[–] jecht360@lemmy.world 69 points 11 months 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.

[–] guitarsarereal@sh.itjust.works 18 points 11 months ago (3 children)

Bonus: there is a literally endless supply of used x86 SFF hardware from large institutions, so unlike SBC's, there's no special, weird supply chain managed by an English educational nonprofit that could just suddenly decide to not sell to the public for years at a time.

load more comments (3 replies)
[–] BearOfaTime@lemm.ee 2 points 11 months 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.

[–] Appoxo@lemmy.dbzer0.com 2 points 11 months 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.

[–] UnPassive@lemmy.world 31 points 11 months ago* (last edited 11 months ago) (3 children)

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

[–] BearOfaTime@lemm.ee 8 points 11 months ago (1 children)

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

[–] kernelle@0d.gs 3 points 11 months 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!

[–] ares35@kbin.social 2 points 11 months ago

absolutely this.

[–] Atemu@lemmy.ml 2 points 11 months ago

Even has a KVM for emergency access ;)

[–] BearOfaTime@lemm.ee 12 points 11 months ago* (last edited 11 months ago) (3 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.

[–] dogma11@lemmy.world 4 points 11 months 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.

[–] BearOfaTime@lemm.ee 4 points 11 months ago

Oof. Maybe my power is worse than I thought!

[–] rambos@lemmy.world 3 points 11 months 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€

[–] scrubbles@poptalk.scrubbles.tech 4 points 11 months 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

[–] Crispy_Mate@lemmy.world 1 points 11 months ago (1 children)

Pi Zero could be underpowered but the bigger pi's sound like a perfect match. I would recommend looking into a used pi 3 or 4, because the pi 5 is new and always out of stock (at least in europe) so you pay around 150$.

load more comments (1 replies)
[–] PieMePlenty@lemmy.world 9 points 11 months ago* (last edited 11 months 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.

[–] BearOfaTime@lemm.ee 3 points 11 months ago (1 children)

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

[–] PieMePlenty@lemmy.world 3 points 11 months ago

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

[–] jaykay@lemmy.zip 8 points 11 months ago

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

[–] MSgtRedFox@infosec.pub 7 points 11 months ago (3 children)

Lenovo m900 tiny. Low cost and power.

[–] CalicoJack@lemmy.dbzer0.com 3 points 11 months 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.

[–] Valmond@lemmy.mindoki.com 2 points 11 months ago

Think centre tiny gang rise up :-) !

[–] tristan@aussie.zone 2 points 11 months ago* (last edited 11 months ago)

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

[–] Dran_Arcana@lemmy.world 6 points 11 months ago

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

[–] aku@anakmanis.com 5 points 11 months 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.

[–] PipedLinkBot@feddit.rocks 1 points 11 months 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.

[–] krash@lemmy.ml 1 points 11 months ago* (last edited 11 months ago)

This. I did extensive research and will get myself a n100 or n200 for my on-prem server. Itcaps out at 16 GB ram, but I'll survive. N305 has 3x the power consumption as n200 at around 15W. Asrock even has a mITX mobo for the n100. And its fanless!

RPI5 would be the other obvious choice, but it's impossible to get a hold of.

Edit: Also, check out this thread: https://discuss.tchncs.de/comment/2340730

[–] Bitswap@lemmy.world 4 points 11 months ago

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

[–] JustEnoughDucks@feddit.nl 3 points 11 months 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.

[–] m12421k@iusearchlinux.fyi 3 points 11 months 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.

[–] Cyber@feddit.uk 3 points 11 months 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.

[–] Kalcifer@sh.itjust.works 3 points 11 months ago

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

[–] roofuskit@lemmy.world 2 points 11 months ago (2 children)

A refurbished elite desk sff PC works great.

load more comments (2 replies)
[–] ninjan@lemmy.mildgrim.com 2 points 11 months 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.

[–] PerogiBoi@lemmy.ca 2 points 11 months 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.

[–] seatwiggy@lemmy.dbzer0.com 2 points 11 months ago (1 children)

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

[–] PerogiBoi@lemmy.ca 1 points 11 months ago

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

[–] Presi300@lemmy.world 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.

[–] unsaid0415@szmer.info 2 points 11 months ago* (last edited 11 months ago)
[–] Upakae@discuss.tchncs.de 1 points 11 months ago

This serves a couple services, incl. kitchenowl and paperless-ngx very fine for me.
Once, I got it for around 45€.

[–] stown@sedd.it 1 points 11 months ago* (last edited 11 months ago)

I just got a mini AMD box from CWWK off Amazon and I'm quite impressed. I even got a free CPU upgrade (ordered a 5600u but received 5825u)

[–] Kuinox@lemmy.world 1 points 11 months ago (2 children)

I just bought a cheap Intel i3 10100T that have a TDP of 35W.
There is a bios option to reduce that to 25W.
Thoses are not sold to end users and must be purchased through craiglist or equivalent.

[–] Valmond@lemmy.mindoki.com 2 points 11 months ago

TDP is like the maximum so not very reliable when figuring out general power consumption. Stuff hooked up to the internet and not used very often, but always on, needs a low base consumption.

[–] Nickall01@lemmy.world 2 points 11 months ago (1 children)

TDP is not related to power consumption, it's related to dissipation.

[–] Kuinox@lemmy.world 3 points 11 months ago (1 children)

The thermal dissipation is directly linked to the amount of power consumed.

[–] Atemu@lemmy.ml 2 points 11 months ago

It's not and it's insane. TDP is a fucky "metric".

[–] Corgana@startrek.website 1 points 11 months ago* (last edited 11 months 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 ›