Change VM type
The type of virtual machine (number / type of CPU and the amount of RAM) can be changed within the configurations (flavors) available to the project.
In MCS panel
To change the type of instance in your MCS account, you should:
- Go to the Virtual Machines page of the Cloud Computing section.
- Open the context menu of the instance, select the "Change virtual machine type" item.
- In the menu that appears, select the required type and click "Save Size". The VM will be rebooted:
- In some cases, after changing the type, it is necessary to confirm the operation, this can be done in the context menu of the instance:
Via Openstack CLI
To change the type in the OpenStack CLI, run the command:
$ openstack server resize --flavor <config ID> <server ID>
You can get a list of available configurations with the command:
$ openstack flavor list --all
The server ID is on the instance card in your personal account or in the list of virtual machines:
$ openstack server list