Overview
Live vCPU and RAM scaling lets you adjust the compute resources of a running instance without rebooting. Changes take effect immediately while the instance continues serving traffic.Xloud-Developed — Live vCPU/RAM Scaling is developed by Xloud and ships with XAVS / XPCI.
Prerequisites
- Instance must be in
ACTIVEstate - The flavor must have live scaling enabled by your administrator — if you do not see the Live vCPU/RAM button, contact your admin
Scale vCPU or RAM from the Dashboard
Open instance actions
Navigate to Project > Compute > Instances. Find your instance and open the Actions dropdown.
Select Live vCPU/RAM
Click Live vCPU/RAM from the dropdown. A dialog opens showing current and allowed values:
| Field | Description |
|---|---|
| Current vCPUs | How many vCPUs the instance has right now |
| Desired vCPUs | Enter the new vCPU count |
| Current RAM (MB) | Current memory allocation |
| Desired RAM (MB) | Enter the new RAM value |
Apply the change
Enter the new values and click Apply. The change takes effect immediately — no reboot, no confirmation step.
Comparison: Live Scaling vs. Flavor Resize
| Live vCPU/RAM Scaling | Flavor Resize | |
|---|---|---|
| Downtime | None — instance stays running | Reboot required |
| Scope | vCPU and RAM only | vCPU, RAM, and disk |
| Direction | Up or down within envelope | Up or down (disk: up only) |
| Confirmation step | No — instant | Yes — must confirm or revert |
| Use case | Responding to live load changes | Permanent tier change |
Troubleshooting
Live vCPU/RAM button not visible
Live vCPU/RAM button not visible
Scaling request rejected
Scaling request rejected
The requested value is outside the allowed range configured on the flavor. Try a smaller value, or ask your admin to increase the flavor’s scaling limits.
Guest OS does not show new vCPUs
Guest OS does not show new vCPUs
On older Linux kernels (before 4.15), new CPUs may need to be brought online manually:Modern kernels (4.15+) bring CPUs online automatically.
Bring hotplugged CPUs online
Memory change has no effect
Memory change has no effect
The guest OS memory balloon driver may not be loaded. Check inside the guest:If not loaded:
Check balloon driver
modprobe virtio_balloon and add virtio_balloon to /etc/modules for persistence.Next Steps
Admin: Enable Live Scaling
Configure flavors with hot-add extra specs, resource bounds, and NUMA settings
Resize Instance
Standard flavor resize — change vCPU, RAM, and disk with a reboot
Advanced Features
CPU pinning, NUMA topology, huge pages, and vTPM
Compute User Guide
Overview of all compute instance operations