Mise à jour de 'Home'

2022-11-27 09:44:18 +01:00
parent 81b51a9aba
commit 2d6f7a5f14

34
Home.md

@@ -56,28 +56,34 @@ Total offline memory: 0B
Disk /dev/sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
```
### usage
This server is running around 30 LXD and docker containers:
### Usage
This server is running around 30 LXD and Docker containers:
* Garaia' and Imaraia's (what I worked on before joining Canonical) main machines (and sattelites now that the service has been discontinued)
* Garaia / Imaraia related services (Minio, some RDBs and caches, Gitea, ...)
* Support services (ssh access, borg backups, vpn)
* Garaia's main machines (and sattelites now that the service has been discontinued)
* Garaia related services (Minio, some RDBs and caches, Gitea, ...)
* Support/infra services (ssh access, borg backups, vpn)
* Docker related services (registry, registry browser, portainer, ...)
* Some user related services (Syncthing, Vaultwarden, ...)
* Test/tryout machines and services
Since my previous company is now into in hibernation, the needs for resources has decreased by a large amount and this server (which used to be the "worst case scenario failover" on a 4 nodes cluster) is mostly sleeping.
All in all, this server is rather under-used at 8% CPU usage and under 3 GiB of RAM needed.
![CPU](https://gitea.micouleau.info/alex/homelab-project/raw/commit/44880e7c6fb01e1e8de1a0c4c4785a3b2389114f/htop-sd.png)
![RAM](https://gitea.micouleau.info/alex/homelab-project/raw/branch/master/ram-dedi.png)
### Running costs
Price paid 32 € / month
Price for this machine is 32 € / month.
## Home NAS
### Specs
Qnap TS 451+ with 4x2To disks set in a RAID5 array.
Qnap TS 451+ :
* Intel® Celeron® J1900 4-core/4-thread at 2.0GHz (turbo: 2.42 GHz), very sim
* 8 GiB RAM
* 4x2To disks set in a RAID5 array.
This NAS is already 7 years old and has proven reliable.
I already have had to change failing disks which was a satisfying experience.
I really enjoy the 3 disks + 1 parity setup, nice balance between disk loss and security.
@@ -97,8 +103,20 @@ Here is the obeserved usage of this NAS :
### Running costs
Power consumptions benchmarks are easy to find over the web for the TS 451+.
Taking into account my average usage, I recon my TS 451+ consumption to average 30W which would amount to 5.58 $ / year in electricity.
Since the NAS is now old, its acquisition cost is out of the scope, but its safe to say that I'll need to replace one of its disk every 18 months. The last disk I bought was 60€ so 40€/year.
The monthly cost of this NAS thus amounts to 3.75€/month
## Conclusions
For running all my services, the two machines consume around :
* under 2 cores full time (the cpu cores of my two machines are similar enough to be aggregated)
* less than 8 GiB of RAM
In terms of monthly cost
# Ebay browsing
I went for the best bang for your buck strategy there, even more so, what's the dirt-cheapest server I can find that will have the specs necessary to replace my stack.