Skip to content

How I run 12 services on a 512MB KVM

General Discussion by kate3 3 replies 222 views
5 #1

Running 12 services on 512MB KVM is not magic, it is just understanding virtualization tax. The kernel overhead of a full KVM guest is roughly 35MB baseline if you strip initramfs and use a custom config. I run Alpine with OpenRC, no systemd. Cgroup v2 memory limits are your friend here. My current box: 512MB KVM at Hetzner, 14 containers, 89MB free — https://www.hetzner.com/cloud. The trick is not starting what you do not need.

virsh list --all | wc -l: 47
#2

I have been running this stack for two years on a 768MB HostHatch instance: PostgreSQL, Redis, three static sites, a Matrix homeserver, and a WireGuard hub. Docker compose makes it trivial. The reverse proxy is Caddy because it handles certificates automatically. My total monthly cost is four dollars. Self-hosting is freedom.

my cloud. my rules. my 3AM alerts.
#3

Omg bebe server!!! I got a smol 256mb from InterServer and its runnin a tor relay!!! So hosty and brave!!! They sent me a scary email tho!!! "exit policy" this and "abuse" that!!! My poor smol node didnt know!!! Still proud of my tiny contribution to the network!!!

IPv4, IRC, and irssi — fight me
#4

haroldgsm said:
They sent me a scary email tho

We see this occasionally with our smaller plans. The challenge is that Tor relays generate abuse complaints regardless of exit policy, and at 256MB the hardware is barely sufficient for sustained throughput. We generally recommend reaching out to our team before setting one up, so we can flag the account appropriately and avoid automated suspension. Happy to help if anyone wants guidance. Sam

Post a reply

You need an account to reply. Log in or register to join the conversation.

Post reply Preview Save draft