Proxmox: When LXC containers are more sensible than VMs – practical comparison
Proxmox: When LXC containers are more sensible than VMs - practical comparison "Why the heck does my WordPress instance need a whole Linux kernel?" - this question drove me to LXC containers for the first time in 2018. Ten CPU cores, 16GB of RAM, and a 20GB disk just for a simple web app? At these resource prices, we can no longer afford this waste. But VMs are not...
The article compares LXC containers and virtual machines (VMs) in a Proxmox cluster, discussing their use of resources, storage performance, and security. LXC containers are found to be more efficient in resource usage, with a lower memory overhead, and can achieve near-native storage performance with bind-mounts. However, LXC containers can be less secure than VMs, as a kernel exploit in a container can compromise the entire host, whereas a VM would contain the attack.
The author recommends using LXC containers for stateless services, web apps, and databases, but VMs for multi-tenant environments or applications requiring strong isolation.
Written by urgent.news from Dev.to's report — not a translation of it. Machine-written — may contain errors; check the original before relying on it.