# Hardening Multi-Tenant Backends Without Docker: systemd cgroups v2 Sandbox Guide

> **TL;DR**: Learn how to use systemd's ProtectSystem and MemoryMax to build a kernel-level read-only sandbox and prevent OOM kills for multi-tenant backends without Docker. Includes production-ready configs, troubleshooting, and a checklist.
> **Source**: https://ai.yevrix.com/articles/systemd-cgroups-v2-sandbox-hardening-guide

## 1. Real-World Pain Points and Underlying Mechanisms

In multi-tenant backend services, processes from different tenants share the same physical or virtual machine. Without isolation, a single tenant's misbehavior—such as a memory leak or accidental write to system files—can bring down the entire node. Traditional solutions rely on container runtimes like Docker, but they introduce complexity: image building, networking, storage drive

...

> Full engineering guide unlocked at https://ai.yevrix.com/articles/systemd-cgroups-v2-sandbox-hardening-guide
