Article · 3 min read · Plans and costs
kubespin: Cost optimisation
Ways to run more on fewer, smaller servers, and to stop paying for what you don’t use.
Ways to run more on fewer, smaller servers, and to stop paying for what you don’t use.
Get more out of each server
- Run the optimiser on small servers. It removes services nothing uses, caps the journal and clears caches, each with an undo. See kubespin: Small servers.
- Switch to Kiri to give back the 80 to 100 MB that Docker and containerd use. On a 1 GB server that’s a real share. See kubespin: Switch a server to Kiri.
- Set memory limits from the 7-day peaks, so you can safely put more apps on one server.
- Share one MariaDB between WordPress sites on a server. Two sites measured about 176 MB together against about 286 MB with a MariaDB each (test host, 30 Nov 2026).
- Keep the small-server sizing for WordPress on servers with 2 GB or less. One site measured about 143 MB at rest with it (test host, 30 Nov 2026).
- Use SQLite for WordPress sites that are only for development, tests or demos: no database container at all.
Use machines you already have
- A PC at home can run development and staging apps with no public address, no port forwarding and no cloud bill. See kubespin: Add a home server.
- A Plesk server you already pay for can run apps beside its sites. kubespin leaves Plesk’s settings alone.
Ephemeral servers
The cheapest cloud machines can be taken back at any time. With a join key in cloud-init and an ephemeral group, a replacement takes over the apps of the one it replaces by itself. Best for stateless apps: an app with data starts empty on the new machine. See kubespin: Servers that join by themselves.
Keep disks small
- Tidy automatically removes unused images and old build cache weekly, and at once when free space drops below 2 GB.
- kubespin’s Trivy keeps its cache in memory and uses kubespin’s copy of the vulnerability database, so scans don’t fill a server’s disk.
- On a server switched to Kiri, Remove Docker’s old data… frees what Docker held before the switch.
Retire what you don’t use
- Delete the server with Keep its apps to put on another server stops it counting against your plan, while keeping the apps’ settings for later. See kubespin: Delete or replace a server.
- Move apps off a server before you cancel it at your provider. See kubespin: Move an app to another server.
Choose the plan that fits
Check Settings › Subscription for what you use against your plan’s limits. You’re told at 80% and 100% of a limit. Some limits, such as servers and registry space, can be raised for your account, so you needn’t move up a plan for one more server. See kubespin: Plans and billing and kubespin: Acceptable usage limits.
Keep backups off the cloud bill
Copy backups to a server you already own, such as one at home, instead of paying for more cloud storage. See kubespin: Back up to another server.