Revision history [back]

click to hide/show revision 1
initial version

Unsure if its available within heat , but you can update the flavour of instance , you can use the resize API to add a different flavor to that VM. Check this doc

To set threshold and the increase the size of the VM, you can do the following

HealthNMon, a opensource “Cloud Resource Monitor” for fetching CPU utilization of a VM launched in Openstack

You can write a custom script/cron job, which keeps checking the CPU utilization using HealthNMon, and when it reaches the threshold, call the resize API and change the flavour.