Skip to content

CloudLinux vs vanilla CentOS/AlmaLinux on cPanel — when each fits

What CloudLinux actually adds to a cPanel host beyond the base OS, and the narrow cases where vanilla AlmaLinux/Rocky still makes sense.

CloudLinux is the default choice under cPanel for shared hosting. The reasons are operational, not marketing: noisy-neighbour isolation via LVE, per-account PHP version selection, CageFS jails, MySQL Governor — none of which vanilla AlmaLinux or Rocky give you out of the box. There are still cases where vanilla is right; they’re narrower than most operators assume.

The trade-off

CloudLinux adds:

  • LVE (Lightweight Virtual Environment) — per-account CPU/RAM/I/O/process limits enforced by the kernel. Noisy neighbours can’t take down the box.
  • CageFS — per-account filesystem jail. Tenants can’t see each other’s files even via symlink trickery.
  • PHP Selector — per-account PHP version (5.6 through 8.4) without affecting other tenants. Critical for shared hosting with diverse customer code.
  • MySQL Governor — per-account MySQL resource limits.
  • KernelCare integration — live kernel patching without reboots.

The cost is per-server licensing on top of cPanel. The licensing economics are favourable for any host with more than a handful of accounts.

Vanilla AlmaLinux/Rocky is just the OS. cPanel runs on it, but isolation depends on what you configure manually (cgroups, systemd slices, AppArmor/SELinux). PHP version selection requires juggling RPM streams or manual SCL-style installs.

How to decide

CloudLinux is the right answer if any of these apply:

  1. You host more than 20 tenants per box. LVE pays for itself in support ticket reduction.
  2. Tenants run diverse PHP versions. PHP Selector is the cleanest path to running PHP 7.4 and 8.3 side by side.
  3. You’ve ever had a noisy-neighbour incident. It will happen again; LVE prevents the worst of it.
  4. You need MySQL per-account governance. MySQL Governor is the only mainstream tool for this.

Vanilla is acceptable when:

  1. Single-tenant box, not shared hosting. No isolation benefit if there’s one customer.
  2. Internal workloads where you control all the code. No noisy-neighbour problem if you wrote both neighbours.
  3. Licensing posture forbids the CloudLinux extra cost. Rare but real for some non-profit or government deployments.

What to do

  1. For shared hosting, run CloudLinux. The math works above ~15 active accounts per host.
  2. For single-tenant cPanel installations, vanilla AlmaLinux is fine.
  3. Tune LVE policies per plan tier, not one-size-fits-all. See LVE policy: hard vs soft limits for the philosophy.
  4. Enable CageFS by default. Disabling it per-account should be the rare exception, not the standard escape hatch for legacy code.
  5. Don’t mix CloudLinux and vanilla hosts in the same cluster — operational muscle memory across both is harder than picking one.

Stack Harbor runs CloudLinux on all managed shared-hosting fleets as part of managed cPanel operations.