Auto Scalability

nitaish

Well-Known Member
Feb 1, 2014
53
4
48
Mumbai
www.techknowlogy.in
I want to enable Auto scalability with Proxmox VE so that a VM can be assigned certain amount of RAM and CPU cores and a higher amount of RAM and cores reserved so that it can use the extra RAM/cores whenever required. For Example,

I have setup a Linux VM with 2 GB RAM and 2 CPU Cores. I want to reserver another 1 GB of RAM and 1 CPU core. The VM will use only the assigned resources and once it reaches the memory limit or it requires additional CPU cores, it should be able to automatically scale up to 1 GB RAM and 1 CPU core extra. And when the resources are idle, revert to the original assigned resources. Along with it, I should be able to bill the customer as per the extra resources he consumes.

Is it possible to do it in Proxmox VE?
 
For memory you can use virtio-balloon. If you configure memory with automatic allocation within a range and you have virtio balloon driver installed
in the guest VM it just works.