Free tier servers are a great way to find out what your tools really cost. I took an Oracle Cloud ARM VM with 6 GB of RAM, put a self-hosted deploy platform on it, and asked it to run four things at once: a developer toolbox, WordPress, MySQL and a Minecraft server. Then I rebooted it twice and wrote down what happened.
glincker
/
levelrail
Self-hosted PaaS: git push to HTTPS on your own servers. One Go binary, about 200 MB idle, 570+ one-click apps. Apache 2.0.
Levelrail
Git push to production on your own servers.
A self-hosted deployment platform in one Go binary. The control plane idles at about 200 MB of RAM (measured), with 570+ one-click apps, rollbacks, previews, HTTPS and databases built in.
curl -fsSL https://levelrail.com/install.sh | sudo sh · Try the live demo
Website · Docs · Quickstart · Compare · FAQ · Roadmap · Discussions
Levelrail turns Linux servers into a private cloud and works with the Kubernetes clusters and cloud accounts you already have. Single-server is production ready, multi-node is beta. Every feature carries a stable, beta or experimental label in Feature status.
Quickstart
You need a Linux server (amd64 or arm64) with systemd and root. The installer adds Docker. Open ports 80 and 443.
curl -fsSL https://levelrail.com/install.sh | sudo sh
- Open the setup link the installer prints and choose a password. That creates the admin account.
- In…
The cast
- it-tools, a static toolbox app. It used about 2.3 MiB of RAM and answered in 1 ms. Basically a rounding error.
- WordPress and MySQL 8.4. 33 MiB for WordPress, 467 MiB for MySQL. MySQL is the one that always shows up with a suitcase.
- Minecraft (Java 21). 2.24 GiB out of a 2.5 GiB limit, 97 percent right after start. No out-of-memory kill. Java will use every byte you hand it and then ask what is for dessert.
The install command returned in under a second because the work is asynchronous. All four containers were up, and Minecraft was healthy, about 107 seconds after I submitted the request, image pulls included. Host memory went from 0.7 GB to 3.4 GB and stayed there, with about 2.4 GB still available.
Watching a boot, second by second
After a clean reboot I sampled memory as the machine came back:
| Time after boot | Used memory |
|---|---|
| 39 s | 1.27 GB |
| 60 s | 3.2 GB (the JVM and MySQL waking up) |
| steady | 3.35 GB |
SSH came back 28 seconds after I issued the reboot. Docker started the containers at roughly the 19 second mark, the control plane answered its health check at 33 seconds, and Minecraft was healthy at about 80 seconds. Available memory never dropped below 2.5 GB.
The reboot that fought itself
The first reboot did not go well. The new control plane would not start: Address already in use on port 80. The old install I had left on the same machine was still enabled, and its sockets grabbed the port first. Two versions of the same platform, fighting over the front door.
Here is the funny part. While the control plane was not running at all, Docker restarted all four app containers on its own, 9 seconds after boot, because they carry a restart policy. The apps were up and serving before the thing that manages them had started. That is what you want: the apps should not depend on the control plane being alive.
I disabled the old service and rebooted again for the clean run above.
Two rough edges I found
- After the reboot Docker assigned new loopback ports to two apps. The platform remembered the old ones for about 30 seconds until its next reconcile, which means a proxy pointed at a stored port would have returned errors for half a minute. I fixed it by refreshing the ports at boot, and that shipped in v0.9.0.
- Minecraft logged two scary looking health check errors while it was starting, 35 seconds apart. They fixed themselves, and they made the logs noisy. Noise like that trains you to ignore the real alarm.
What I took from it
- A 6 GB free VM is plenty for a small stack. It is not plenty for a stack with a JVM in it unless you set a memory limit. I did.
- Measure the boot, not just the steady state. The peak is at about 60 seconds, and that is when things fall over.
- Restart policies on the apps and a small control plane make reboots boring, which is the goal.
The platform I used is Levelrail, which I build and run my own sites on: https://github.com/glincker/levelrail. The memory numbers here are one VM on one day, so treat them as a sample. The control plane's own footprint is on the performance page.
What is the most RAM-hungry thing you run at home?
If this was useful, star the repo on GitHub: glincker/levelrail.

Top comments (0)