PC Builds

500$ Closet Mini-Server Build

By July 24, 2020October 25th, 202015 Comments

Introduction

Since I have been adding POE Security cameras, and more home automation… I felt it necessary to build a small server for handling these workloads, instead of utilizing my gaming-pc with Hyper-V.

The reason behind this build- Originally- was looking at a Synology NAS..

For reference, a DS920+ which is a quad-core CPU, 4 Drives, and 4GB Ram (up to 8).. Would run you around 559$ on Amazon.

A huge downside- if any piece of hardware on the unit fails, you are at the mercy of the vendor to replace it. Since it does not use standardized raid, you cannot simply plug your drives into another PC.

I felt, I could build a competing piece of hardware for a close, or lower price while allowing MUCH more flexibility and expansion room.

Granted, for user’s who just want to plug something in, and it work, a synology/drobo/qnap is just fine. But, for my uses, I find it is more effective to build a new one.

Specifications / Parts / Prices

Prices were captured as of when this article was published, and may have changed over the course of time.

PricePartRetailer
$82.95CyberPower AVRG750UAmazon
$99.99Samsung 970 EVO 500GB M.2 NVMeAmazon
$72.99Gigabyte B450M DS3HAmazon
$91.97AMD Ryzen 3 3200G 4 Core 3.6ghz baseAmazon
$109.99Fractal Design Node 804 CaseAmazon
$62.99G.SKILL Aegis 2x8GB DDR4 3000Amazon
$69.99Corsair CX450M 450W BRONZE PSUAmazon
Parts and prices for this build.

Excluding the UPS, This brings the grand total to $507.92, which is still less then the aforementioned Synology Units while being significantly more powerful, and expandable. As a bonus- this server already has 500GB of NVMe storage, while the base-price on the synology includes NO storage.

Disclaimer- Amazon affiliate links are used in this article. For this site, I choose to not pesture my audience with annoying advertisements, and instead, only rely on affiliate links to support this hobby. By using the affiliate link, you will pay the same price on Amazon, as you would otherwise pay, however, a small percentage will be given to me.. To note- I DID buy all of the seen products with my own money, and did not receive any incentive to feature or utilize them.

Other Parts

I also had these parts laying around:

  • 4x 2TB mixed-vendor SATA HDDs
  • LSI 9240-8i.

To note- the LSI HBA is completely unrequired in this build, as the motherboard has 4x onboard SATA ports. If more ports are required, you can buy a cheap SATA JBOD HBA for around 35$ which will do the job just as well.

The Build

Here are all of the parts, ready to be put togather.

How does it run?

This post is being completed many months after I had put the server into place…

So far, running 7 containers, it is working flawlessly. Under load, the power draw is pretty minimal, and it makes no noticeable noise. If you didn’t know where to find it, you would never know it was there.

While some may have questioned my choice of a 3200G for 90$, under its current load running ZoneMinder for 4 5MP cameras, running all of my home automation, it is only at around 20% load, and has much more room to grow.

As far as the 16GB of ram, 80% of it is only used for ZFS caching. In the below image- you will notice only around half of a single GB of the memory is used for my Home Automation group.

Resource usage of my containers.

For my other group of servers, you will still notice slightly over 1GB combined ram between all of the containers.

This goes back to my earlier claim, 80% of the RAM is used for ZFS and/or File caching.

Even for hard disk usage, you will notice…. most of my containers are very small…. My MQTT server, only uses 67MB on disk.

If you would like to learn how to make incredibly small LXC containers, which next to no overhead, I would recommend checking out Alpine Linux. My Alpine containers have been absolutely amazing to manage, and deploy, while using next to no resources at all.

The ONLY issue I have had with this build so far- My LSI 9240-8i died a few weeks ago. Granted- the unit was old when I purchased it off of eBay many years ago (And then used it in my old FreeNAS/Plex server for years).

I replaced it with a LSI 9207-8i off of Amazon for 60$. After replacing it- my ZPools came back online with no issues at all, requiring no configuration whatsoever.

Notes

If you plan on doing a lot of ZFS, I would recommend 32GB of total RAM.

If you are doing compute-heavy workloads, spend 100$ more and get a Ryzen 5 3600. With 6c/12t, and a 65w tdp, it is efficient, yet, powerful.

Finally- the secret to my abnormally low RAM/Disk usage for my containers….. Create LXC containers using the alpine linux template. It is really small, and has been working extremely well.

Future Plans

Currently? None. The server does everything I need it to do, with plenty of additional capacity.

When the CPU is upgraded in my Gaming Rig / Workstation, I will be dropping the Ryzen 5 3600 6c/12t into the server.

6 Months Later

So, I came back to update the current status and progress after 6 months.

For one, I have switched everything over to Unraid. For my needs, it has been far quicker to deploy, and easier to manage. I cannot say enough good things about it.

Other then that, the hardware is still exactly the same, and trucking along….

With all of my containers and blue iris running, I am only utilizing around 30-40% average utilization of the processor, leaving plenty of free capacity.

Power draw at the UPS, is 80 watts. This includes my Unifi POE-8 switch, as well as two POE cameras.

Memory utilization is only around half, leaving plenty of free capacity.

The moral of this story- not everybody needs a server with a 2,000$ xeon, i9, or something ridiculous.

I am running a pretty decent chunk of services, from a 80$ quad core processor, without any issues at all. It makes no noise whatsoever, and draws very little overall power.

Join the discussion 15 Comments

  • Jake says:

    What would your updates to the build be if you were to do it again today? I see that the gigabyte mobo is no longer being sold new, I’m about the pull the trigger on this build after reading your story. Thank you for putting this all together.

    • XO says:

      Actually,

      I upgraded it today. I doubled the ram, to 32gb total.

      Last week, I added a new 4-port intel NIC, which allows me to specify a dedicated interface per vlan.

      If I were to build this server again, I would go with a beefier processor. While the cheap quad core is trucking along just fine, it would nice to have quite a bit more power for plex.

      • XO says:

        Next month, I plan on adding 4x6tb disks, for a bit more storage

        • Jake says:

          Thanks for your response. If you couldn’t get your hands on that motherboard, what would be your next choice?

          • XO says:

            A different one with more x16 pcie slots, ideally- 3.

            And at least two on board nvme slots.

            Reasons-

            A good HBA uses a x16 slot.
            A gpu, uses an x16 slot.
            A 4x nvme to pcie, uses an x16 slot.

            I wanted to add a gpu for encoding purposes, however, I am limited on space.

            I want to add more nvme for cache redundancy… however slots are limited.

            The choice I picked for this article was for cost savings, in the name of building a 100% capable, brand new server for under 500$. It is one of the sacrifices which was acceptable

          • Kelly says:

            In 2021 – excluding threadrippers or used server equip. I’d go with Asus X570 ACE WS. its the only board with 3-pciex16 slots running at 8x. The third one has electrical X4 from the cpu to the chipset.

            If I were to rebuild today, I’d go with the Asus x570 ACE WS, put the GPU top slot, NVME middle (top and middle slots are lanes off the cpu) put the HBA on the bottom slot.

            It has dual gigabit lan, realtek and intel, remote management, and supports ECC if needed.

    • XO says:

      So, its been…. 10 months since you asked this question.

      My setup today is a R720XD server, dual E5-2695v2 CPUs (24c/48t), 128GB of ram, and a touch over 100 terabytes of combined storage with a couple terabytes of NVMe. As well, it spots 40GBe.

      So, If I were to do any of this again, I would have purchased a R730XD, instead of an R720XD (Supports PCIe bifurcation. A tad more efficient too), and… purchased a lot more hard drives back when they were cheap.

      If you are wondering how/why I moved from a quiet, efficient server, up to this monster- its mostly due to media streaming, and MANY containers and services running on my network. As well, this site you are reading right now is hosted on my server along with a few other public facing websites for customers.

  • joachim1968 says:

    Thanks for sharing this build. I also started to play with a proxmox server about a year ago with slightly more modest hardware: an AMD FX-6300 6core CPU, 12 GB RAM, and it’s running rather well. I stumbled upon this page after reading your post about unraid and I am now really interested in giving it a try. Did you encounter any issues whatsoever in transferring your vms or containers from proxmox to unraid?

    • XO says:

      Essentially- I had to rebuild all of the containers from scratch. However- with its built-in docker support, it was closer to click the template, it automatically installs, and then restore the configurations scrapped from proxmox.

      I will also say- for the first week, I actually ran proxmox as a VM inside of unraid, successfully, while I migrated my containers and VMs over. I was able to mount its physical disks as a VM, without any issues.

      For my NVR VM, I actually just rebuilt it from scratch, and ended up going with Blue Iris/Windows Server, instead of a LXC container running zoneminder. I have been extremely satisfied with the switch.

      On this post- https://xtremeownage.com/2020/10/20/unraid-vs-proxmox-my-opinions/ I do share a bit of my experiences with unraid. Overall, it has been 98% positive. The ONLY downside, has been a small instability issue regarding USB 3.0 with unraid.

      Edit-

      With that said, proxmox was rock solid as well. My only complaints with it- where its handling of storage if you choose to utilize ZFS, or LVM pools.

      • Mark says:

        Could you tell more about how you moved from zoneminder to blue iris abd I assume you put blue iris in a container ?

        • XO says:

          Blue Iris is installed inside of a windows VM. As of the last time I checked, the only supported method for running BI was with windows.

          However, it was 100% worth moving to Blue Iris in my opinion. The reliability has been wonderful. I have virtually had no problems at all running it. With zoneminder, I would randomly log in to discover no recordings, and other random issues, without any notifications.

          In my current setup, I do have a physical drive passed directly into the virtual machine, which allows Blue Iris to directly write to the physical, allocated disk.

          Overall, I am much happier running Blue Iris, despite having to do it via a virtual machine.

  • Nick says:

    Excellent build, I appreciate the direct links. I built one for myself two weeks ago, and it has been working fantastically!

  • Anonymous says:

    Test Test test

Leave a Reply

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 85 other subscribers

%d bloggers like this: