How will I know how many services I can run on my self hosted server?
Hi y'all. I've got an Intel Nuc 10 here. I want to run a few apps on it, like BitWarden, PiHole, NextCloud, Wireguard, and maybe more, just for my own use, inside my home.
Is there a way to guage whether the hardware is up to the task in advance? Like, if love to be able to plan this by saying, "this container will use x MB of ram and 5% of the cpu" and so on?
I want to run everything on this one PC since that's all I have right now.
EDITED TO ADD: T****hank you all! Great info. :thumbsup
I don’t have an answer for you, but I will tell you from my experience, you can probably run a lot more on that thing than you might think.
I run all of my services on docker and I think I have 30+ services up at all times. What you should remember is that even under your most demanding workload, you’re probably only hitting like 5 services at a time while the rest sit idle. And if you are picking good, efficient apps (I really like the linuxserver.io apps), they’re not pulling much under load and certainly not while idling.
Your NUC sounds much more capable than my BeeLink and mine doesn’t break a sweat. The other commenter had it right, just keep adding stuff until you see a degradation of performance, I’m yet to hit one.
I agree. Run everything you want and then when you see performance degradation then you'll know the limits of your hardware based on your workloads.
You already have the NUC so why not push it's limits? The alternative is to try and guestimate your workload needs and buy matching hardware... which is very difficult.
To add to this with another example: my server runs
jellyfin
Nextcloud
gitea
Monica (a CRM, look it up on awesome-selfhosted)
vaulwarden (rust implementation of Bitwarden)
code-server
qBitTorrent-nox
authelia (2FA)
pihole
smbd
sshd
Caddy
In total, I’m using about 1.5GB out of 6GB of RAM (with another 1GB out of 16GB of swap being used), and the idle CPU usage is only 1%-ish (i5-3470 with the BIOS-settings set to power saving).
Even on very old and low-powered hardware, you can still run a lot of services without any problems.