this post was submitted on 16 Jun 2023
49 points (100.0% liked)

Selfhosted

40563 readers
586 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
 

I'm trying to start out self-hosting and was looking for some good servers. I have a budget of ~100 USD and am in the US. I was initially going to get some type of raspberry pi but they seem to always be sold out here

top 38 comments
sorted by: hot top controversial new old
[–] [email protected] 19 points 2 years ago (4 children)

I'd go with something like this Lenovo M900 for $80-$90 used. Sometimes you'll get lucky and find one with a single 8GB stick, then you can get another for ~$20 and you've got a quad core x84-64 machine with 16GB of RAM for right around $100.

The downside would be power consumption compared to a Pi if you're trying to fit in a severely power-constrained setup, but the M900 will draw around 11-13W idle and 55W under higher load. so it's not bad my any means.

[–] [email protected] 7 points 2 years ago

^ Lenovo tiny thinkcenters are the best thing ever. Heck, I use the older haswell-era M73s that you can get for $30-40 on ebay and they're amazing. Only drawback is no m.2 and no PCIe expandability but if you're on a budget and want a starter homelab you can literally cluster 3 of these things for ~$100

[–] spectre 1 points 2 years ago (1 children)

is there a good way to set up storage for a mini pc for something like plex or jellyfin?

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

I believe the M900 has both a SATA port and a M.2 slot, so some options for internal storage.

You could also plug in a big spinning drive via USB 3. USB 3 can move data faster than a magnetic drive can pull it off the platters.

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

I have an m900 that i got free at work, and upgraded it with a 2TB 2.5" sata ssd... in raid 0. if it burns it burns, but i also dont have any important data on it. Can really recommend the tiny lenovo for plex/jellyfin setup for 2-5 people.

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

Try the Oracle Cloud free tier. It's the best price you can get for a very beefy server: 4 arm64 cores with 24 GB RAM and 250 GB storage. Just don't put too personal data on there.

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

Just wanted to add that you also get two free AMD64 servers (1C/1GB). Been using mine for a year now but I do agree - don't use it for anything personal or critical. Make backups!

[–] ProfessionalBoofis 2 points 2 years ago

Yeah they are known to randomly pull them for no reason

[–] [email protected] 5 points 2 years ago* (last edited 2 years ago)

Try second hand old computers? All my parts were sourced second hand. Whole thing including case was around $40, after some RAM and other upgrades and storage it's about $150 altogether for dual core 16gb ram 3TB, 128gb ssd, GT710 for decoding, and a nice and quiet noctua CPU cooler.

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

People usually forget that home machines for server require:

  • stable internet connection
  • stable electricity supply
  • hardware maintenance
  • upgrade of hardware

I had all that when I was a student, it's wonderful to learning opportunity. Now I grew up, I use VPS in cloud and pay for all that with ~16eur/month and could be even cheaper. But considering my work hour, I can pay for that amount with half an hour of work with my job.

[–] [email protected] 4 points 2 years ago* (last edited 2 years ago) (1 children)

While I totally agree that managing hardware at home can be cumbersome, if you need large and slow amounts of storage - e.g. for torrenting o plex - VPS are too expensive. With a ~250 € investment I could get a server with 2TB HD that consumes 50W at max while the same VPS would cost me twice - if not more - for 12 months.

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

Yes the immediate cost is lower, but when drive fails? You need to consider some RAID setup then so that means at least 2 of them. Well depends how much your data is worth...

Also consider that computers need external battery power for short power shortage and lightning protection. At least battery requires replacement every few years.

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

Thank you for your comment, however, considering that renting a VPS with similar specs would cost twice, if not more, for a single year, I believe that factoring in a second drive for RAID configuration and a potential UPS (although I would not mind the downtime) is more than possible.

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

Hey, we can continue if you would like. Downtime is not a problem, the problem is sudden cut of electricity of a machine. That can cause write issues on disks and not to mention HW failure. And 2TB volumes in cloud are a pricing problem if you need them. But for 99% of cases there is no need for it. You can use R2 or B2 which costs ~250eur/year at 2TB Also depend what you store there. On these storages you should not store illegal data, at least not unencrypted.

[–] [email protected] 5 points 2 years ago* (last edited 2 years ago) (2 children)

Look for some refurbished thinclients or use a second-hand laptop. If needed upgrade it with a SSD.

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

Something like this my only question is do you have to use the HP firmware or can you just run Linux on it?

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

You can easily install Linux on it. I actually have that exact model, but the CPU is a bit weak for most stuff.

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

just make sure you get something with intel or amd cpu. some very old thin clients used via.

[–] ComradeMiao 1 points 2 years ago

Old computer is a great option. Mine only pulls 50 watts which means no more than 40 dollars a year.

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

Check out Hetzner, you can get a very powerful dedicated server for under that budget.

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

Trying not to do monthly for right now

[–] [email protected] 3 points 2 years ago

That depends on what you're wanting to do with it. If you're just playing around rn I'd almost recommend seeing if you can get an older desktop and mess around with virtualization/containers that way.

Advantage: a desktop machine is gonna be more expandable than a single board computer and easier to migrate when you have the money for something with more power.

[–] [email protected] 3 points 2 years ago

My first server was a Lenovo Thinkpad T420. It was given to me for free from my job. It did great. Built in screen, mouse/keyboard, and a built in UPS. Eventually I upgraded my server, and my new one has none of those.

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

I second what others are saying about finding some used mini PCs. My lab consists of server hardware mainly doing storage stuff plus some mini PCs for most services.

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

I use dell 7050s from amazon in mine. I used to have legit xeons 56xxx procs on super micro boards etc.

The power consumption is night and day and the sff is nice but still expandable. Totally serviceable for any workload I throw at it. I can toss 10gbe in it etc.

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

I tried to move to my storage onto a bunch of ODROID HC4s in a cluster of some sort, but found them to be quite unreliable. Also, needing one machine for every 2 disks was going to be a nightmare from a space (they are not space efficient or designed to be racked), networking, power (PSU and wiring), cost (~$100 per unit including overhead for networking and wiring), and management perspective. I am running 32 disks and always growing, I just bought a Supermicro JBOD that has 36 bays in 4u plus the SAS cabling and card I needed for well under the $1600 the same number of HC4s would cost.

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

Yeah I just use iscsi from a nas for storage. Specifically using cheaper sata SSDs.

Have considered moving to 10gbe and nvme SSDs for the bandwidth increase but the lab does fine as it tbh.

[–] [email protected] 2 points 2 years ago

I have a stack of lenovo m93s & M900s from when our hospital was bought out by a larger one. Installed opensuse on a couple to act as web/app servers for dinking around with.

My storage server is an old Ryzen desktop someone was going to recycle with a bunch (24TB) of extra drives added. Opensuse as well.

I usually just do bare metal because that is how I was taught back in the day, and since they're only accessible internally it doesn't make much of a difference security wise.

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

I like the kimsufi offerings by OVH. You can order most servers either in France or on Canada.

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

Problem, I am currently living in the US

[–] Overcast 2 points 2 years ago

You can order a Canadian server with fairly low latency. I have one but I also have a couple of machines at home. I don't like buying used and I care about wattage so I usually get beelinks mini PC from Amazon. They often have deals where you can have good specs for <$150, including 128gb SSDs, 8 or 16gb of ram and a 4 cores 15w CPU

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

maybe a used Fujitsu Futro S920

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

You might get something slightly better on the used market. But, if you’re not looking to run anything resource intensive, check for Beelink mini PCs on Amazon. They have some on sale right now that hit your price range.

load more comments
view more: next ›