Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
selfhost:hardware [2024/02/20 13:18] – [Home Server Hardware] willy | selfhost:hardware [2024/10/18 13:57] (current) – removed willy | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Hardware | ||
- | |||
- | ==== Home Network Infrastructure ==== | ||
- | |||
- | ... | ||
- | |||
- | ==== Internal Server Hardware ==== | ||
- | |||
- | Your home server should be beefy enough to host and support all your services. Once you figure that out, the added overhead to manage the NAT, the tunnels and the reverse-proxy will be negligible. | ||
- | |||
- | You might want to split your services on more than one device, but there are some considerations to it: | ||
- | * More servers might mean higher energy consumption | ||
- | * More servers means higher probability of one going down | ||
- | * More hardware means higher rate of hardware failures | ||
- | |||
- | On the other hand, more servers means that not all of your services might go down at the same time. | ||
- | |||
- | In general, you want something low-power and you might want something battery-protected to prevent strain on hard drives due to loss of power. You might also want something not too loud unless you plan to place everything in a secluded place (but watch out for heat buildup!) | ||
- | |||
- | My choice is an oldish powerful workstation-type laptop: | ||
- | * it has one wired Ethernet NIC, for the internal network | ||
- | * it has keyboard and monitor, for those local access needs, without requiring a dedicated monitor wasting space | ||
- | * doesn' | ||
- | * It is less power-hungry and less noisy than a tower pc | ||
- | |||
- | Some drawbacks are that: | ||
- | * I had to add USB-C based ethernet NICs to connect to my two ISPs | ||
- | * It has limited internal storage capability (only one NVME SSD and one SDD 3.5" slot) | ||
- | |||
- | For this reason, i added a RAID JBOD solution connected via USB-3 with a conspicuously sized SSDs RAID array, and i plugged it to a cheapo low-wattage battery backup to keep the RAID array running in case of power-loss. The use of SSDs means low noise and low power consumption, | ||
- | |||
- | The use of USB-3 JBOD does not create issues with disk transfer rates as all the data usage required by the server is basically video streaming, that even in 4K is still way below the USB throughput, and in any case even direct file transfer happens mostly via WiFi, again well below the USB throughput. | ||
- | |||
- | The same applies to USB NICs. Don't go cheap, and you might have to try out a few before you find a really good and stable one. Of course USB-C is better than USB-3, both speed wise and stability wise, but the number of USB-C ports is usually limited, and you definitely want to spread out your devices on as many USB controllers as possible, so using both is a good idea. | ||
- | |||
- | One last note on UPS. You definitely want one. The risk of an unintended power-loss could be too much to risk. Using a laptop and a small UPS to keep your SSDs running is usually enough. Unless your power grid is highly unstable, power-losses are usually a brief moment of a few minutes at best. | ||
- | |||
- | |||
- | ==== External Server Hardware ==== | ||
- | |||
- | The remote server can be a virtual server or a physical one, doesn' | ||
- | |||
- | So go ahead and rent whatever fits your bill. | ||
- | |||
- | I rent a physical server since... forever... before VPS started to be affordable. But some 8GB of RAM and 128Gb of storage are more than enough here. | ||
- | |||
- | You want to pay attention to the bandwidth and data caps tough, as you don't want to run out of traffic to/from your home services when you are traveling outside home. | ||
- | |||
- | |||
- | |||