In this article you will learn:
- How to prepare a virtual machine for a parameter change
- How to change CPU and RAM
- How to change disk space
- Common problems
- Frequently Asked Questions
Preparing VMs for parameter changes
Make changes to the virtual machine parameters in the OpenNebula Sunstone interface. First, select the virtual machine by following these steps:
- Log in to the ON Sunstone interface ⧉.
- In the left menu, select Instances VMs.
- Select the virtual machine whose parameters you want to change.

Make sure the machine is switched off before changing parameters:
- Click the power off button and select Power Off hard.
- Check that the machine is in the POWEROFF state.

Changing CPU and RAM
You can increase or decrease the CPU and RAM of a VM. Make the settings by following these steps:
- In VM Control, select the Capacity tab.
- Click the Resize button.
- Set the desired values in the window.
- Confirm the settings with the Resize button in the window.

Changing disk space
You can only increase the disk space, decreasing it is not possible. If you need to reduce the disk size of a virtual machine, create a new VM and transfer the data to it. We do not perform migrations from our side.
To increase disk space, follow these steps:
- In VM Control, select the Storage tab.
- For the disk you want to increase, click the Resize icon.
- Set the desired value in the window.
- Confirm the settings with the Resize button in the window.

If the increment is done correctly, you will see the new value in the Size column of the corresponding Image. This change should persist the DISK_RESIZE state until the POWEROFF state. If the size returns to the original value, contact support via the ⧉ form. Provide the name of the Cloud and the specific VM.
After incrementing the disk after powering on the VM, check that the change was done correctly. In Linux, use the df -h command to do this. If the change did not take place, power off the VM via power off (hard) and power it back on. A reboot is not enough.
Common problems
Common issues with changing cloud VM parameters include:
Inactive Resize button
Problem: Resize button for CPU/RAM change is not active.
Cause: the virtual machine is probably not powered off.
Solution: Shut down the virtual machine and make sure it is in the POWEROFF state.
Disk shrink error
Problem: Error: [one.vm.diskresize] New disk size has to be greater than current one.
Cause: you can only increase the disk size, not decrease it.
Solution: Create a new virtual machine with the required parameters.
CPU/RAM quota error
Problem: Error displayed: [one.vm.resize] User [****] : group [****] limit of X reached for MEMORY/CPU quota in VM.
Solution: Get more memory or CPU either by limiting/canceling other VMs or by increasing overall service performance.
Parameter increase did not take place
Problem: An error is displayed: Parameter increment did not take place.
Solution: Do an Undeploy (hard), then a Deploy and try to increase the parameters again.
Frequently Asked Questions
Can I change the parameters of VPS ON in this way?
No, follow these instructions for VPS ON.