Sizing a UPS for Your Homelab (and Setting Up NUT for Automatic Shutdown)

A UPS without a way to talk to your hosts is just an expensive surge protector with a battery in it. It’ll keep the lights on for a few minutes, but the moment that battery runs out, every VM and container you’re running goes down exactly as hard as it would have without a UPS at all, just a little later. The part that actually protects you, a UPS that tells your hosts “power’s out, shut down now while you still can,” is a separate piece of software most people never get around to setting up. Here’s how to size the UPS itself, and how to wire up Network UPS Tools (NUT) so an outage ends in a clean shutdown instead of a dirty one. ...

September 12, 2026 · 9 min