If price is the deciding factor then just build one.
Get an old i7 for dirt cheap, cram the thing with ram and storage to suit your budget.
Run something lightweight like Ubuntu Server.
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.
Resources:
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
If price is the deciding factor then just build one.
Get an old i7 for dirt cheap, cram the thing with ram and storage to suit your budget.
Run something lightweight like Ubuntu Server.
Or maybe a Xeon from Alibaba
Keep in mind this could drive up your energy bill.
It totally doesn't
I'm running a 14th gen i9 with a 4080. It's a power hungry boy. 1500w power supply. Generally using about 600-800w.
Running this 24/7 costs me <$10/month in electricity.
The old compaq presario with a Pentium II that probably pulled down 100w running Ubuntu server as described here made no statistically significant change in my electric bill. That is to say, it's about as much change as being good or bad at turning off your lights when you're not using them. It's negligible.
At 600 watts running continuously wouldn't that be 432 kWh a month?
Assuming you didn't mean you were running your gaming computer as the server.
At 100 watts that comes out to 72 kWh, in CT where I live rates are waaaay higher then what I calculate your rate to be (around 2.5 cents per kWh)
For me a 100 watt server is about ~$22 a month to run.
Are you sure your paying 2.5 cents per kWh?
Idk what I'm paying per kwh, I am just going off my monthly bills.
There are other power fluctuates, I'm sure. I pay it no mind I just look at the bill. 🤷♂️
So far no bill has arrived that made me change behavior.
Edit: I've also never measured what my machine actually pulls down continuously/when idle. I just know that it's components demand that range, and that I need the headroom in my power supply for spikes.
That's great if it works for you. However, a lot of us don't want the bigger power bill. It also has the problem of heating everything up.
I like CPUs with lower TDPs
No "old i7" as I suggested, is going to meaningfully increase the temp of your room if it has any cooling solution in place.
Your stubbornness around a perfectly practical solution is absurd. I won't bother convincing you further -- it's the obvious cost effective solution.
The problem is it isn't cost effective with electricity. You can pick up a CPU that is more efficient.
I'm not saying your wrong but what your describing is not great for some people including myself.
Your not wrong but there are also trade offs
It is still by far most cost effective.
Your argument amounts to nothing.
Shouldnt do so that bad. my raspberry pi 4b can do jellyfin and nextcloud without pushing 15W at full load.
x86 is inefficient, especially older models, but youll likely only push anything over 10W when actually streaming something that requires transcoding. Most of the time your home server is gonna sit idle or doing some tiny cron job that won't really blast the CPU at all.
I use an HP microserver gen 8, which I bought second hand (300$) and upgraded with a better CPU (20$ from ebay) and extra ram (80$) and 4 2TB SSD's (100$ per). I installed Windows server on it because I just wanted it to work in a way I'm familiar with, but a colleague of mine installed Synology OS on it. You can use the cd drive bay for the OS disk (with some tweaking). Since you already have the disks, this would fit your budget.
I have the gen 10 plus (with an upgraded cpu). I am very happy with that.
My go to for home servers for like 20 years has been used dell optiplexes. They are quite reliable, easy to find, pretty cheap, come in a few different standard physical sizes, and last a long time. The one thing they could do better at is energy efficiency. I spent a total of US $450 on the last two that I bought. I added an LSI HBA to one and it runs 4 HDDs in raidz1.
You could get one of those cheap N100 boards and a couple refurbished enterprise HDD's. Board costs about 150, case & PSU another 150, which leaves you with enough to buy 2 10ish TB drives, a boot drive and some additional RAM. Power usage should be pretty decent.
Another option is going with a second hand Mini PC and a DAS. I went with this myself because it's the cheapest and easiest option. It cost me about €150 combined (excluding the cost of the 2 drives I had laying around), and it has served me well for the past year. The CPU is a bit weak (i5-6500T) and it doesn't have a lot of RAM (8GiB), but it handles the 30ish docker containers and video transcoding (single stream) well.
I've also bought an old proliant micro server and I wouldn't really recommend it. It uses a lot of power and it was kind of a pain to get running. I'm planning on installing a HBA adapter and using it as a backup system.
Get a mainboard and CPU supporting ECC ram. Combine it with ZFS as the file system. With this setup you are safe from bitrot.
Currently ugreen has released some nas systems that seem powerful but have yet to be shipped (reviews are out though).
Truenas core/scale, custom built (easy) but the disks will be the main costs.. I think ik 2015 mine cost me 450$. Disks were 1200 :/
After seeing some of Craft Computing’s videos on YT I’m considering getting my hands on one of those cheap Erying mainboards off Aliexpress with a laptop CPU on it. Seen those as low as 140 bucks with a 13th-gen i5, just add a cooler and desktop DDR4.
I'd recommend a DAS setup (just a 4-bay USB 3.0 or better hard drive enclosure) with a server with any modern Intel CPU in it.
What would you use to RAID the drives? Die you try zfs for a USB das?
They're still mounted individually, so you do RAID5 or ZRAID on them, same as if they were internal. You can potentially be bandwidth-limited since USB 3.0 has a 5 Gbps speed limit, but realistically only for reads and you're still fine in terms of overall performance since they're all spinning disks anyhow and 5Gbps is fast enough for any media server/NAS unless you've got a 10-gig LAN/internet connection and feel the compulsive need to saturate it.
For lots of services that require little CPU and ram, I use tiny/mini/micro PCs, bought used. I get them for anywhere from $100-$400, and usually all I do is drop in an SSD. That includes Linux VMs when I'm testing distros or deployment on a distro, since 32gb ram on the host is more than enough to leave 4-8gb ram to the VM.
For some heavier applications, I also have a 4RU case stacked with drives, which I use as a third NAS (VM with drives passed through), large DBs, etc. Its just a 1700x with 64GB ram, and that's plenty.
For most things (DNS, a few web servers, git, grafana, Prometheus, rev proxies, Jenkins, personal fdroid repo, homepage, etc) I just use the tiny/mini/micro's. Imo, you can't go wrong with those for your services, and a big case with spare parts and lots of drives for your NAS. Especially at the price you mentioned. Just remember you can separate your services easily, so don't focus on getting everything in one spot, you can make your requirements (and cost) go up quickly.
I've been looking at getting a odroid h4 ultra as my next toy. It would suit you I think.
Get a old used desktop from eBay. Use either Intel QuickSync (Intel integrated) or a dedicated GPU.
Additionally, use a LTS and keep good backups. Fedora Server shouldn't be used for anything actively depended apon. You could move to Rocky Linux, Debian or something else.
Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:
Fewer Letters | More Letters |
---|---|
DNS | Domain Name Service/System |
Git | Popular version control system, primarily for code |
LTS | Long Term Support software version |
NAS | Network-Attached Storage |
NVMe | Non-Volatile Memory Express interface for mass storage |
PSU | Power Supply Unit |
Plex | Brand of media server package |
RAID | Redundant Array of Independent Disks for mass storage |
SSD | Solid State Drive mass storage |
ZFS | Solaris/Linux filesystem focusing on data integrity |
10 acronyms in this thread; the most compressed thread commented on today has 11 acronyms.
[Thread #745 for this sub, first seen 12th May 2024, 12:45] [FAQ] [Full list] [Contact] [Source code]
idk what resolution you use for streaming but my raspberry pi 4B runs plex at 1080p just fine as long as it isnt using x265/AV1 (but on jellyfin you might be able to use the Pi's GPU for transcoding).
I use nextcloud too but it's a tiny bit slower than I'd like, but that's likely a wifi issue i think.
Literally any PC on Amazon for $200 CAD, then add your own SSD. I'd say 8GB of RAM but that's just for cache, youll rarely go over 4 in general use.
That, or a raspberry pi 4B/5 which runs you about $150 once you get a case, power supply, powered USB dock for sticking SSDs into (just for safety since technically the pi's USB ports cant handle certain SSDs power reqs.) and then stick SSDs into that.
Use dietpi (dietpi.com) for setting up your services and it'll run nice and smooth for anything not H265, which might be annoying but Plex and possibly jellyfin let you transcode stuff in the background which is nice.
500GB HDDs? If you don’t need hot swap, with your budget, buy new ones. Transcoding is solved by using any modern-ish Intel CPU. I built one for $230 using a used office desktop and three 4TB HDDs plus a small used NVMe for TrueNAS.
Look at the 3 minute mark for transcoding accelerated CPUs: https://youtu.be/WCDmHljsinY
Here is an alternative Piped link(s):
https://piped.video/WCDmHljsinY
Piped is a privacy-respecting open-source alternative frontend to YouTube.
I'm open-source; check me out at GitHub.