// Module included in the following assemblies:
//
// * virt/managing_vms/virt-edit-vms.adoc

:_mod-docs-content-type: PROCEDURE
[id="virt-change-vm-instance-type_{context}"]
= Changing the instance type of a VM by using the web console

[role="_abstract"]
You can change the instance type associated with a running virtual machine (VM) by using the web console. The change takes effect immediately.

.Prerequisites

* You created the VM by using an instance type.

.Procedure

. In the {product-title} web console, click *Virtualization* -> *VirtualMachines*.

. Select a VM to open the *VirtualMachine details* page.

. Click the *Configuration* tab.

. On the *Details* tab, click the instance type text to open the *Edit Instancetype* dialog. For example, click *1 CPU | 2 GiB Memory*.

. Edit the instance type by using the *Series* and *Size* lists.
.. Select an item from the *Series* list to show the relevant sizes for that series. For example, select *General Purpose*.
.. Select the new instance type for the VM from the *Size* list. For example, select *medium: 1 CPUs, 4Gi Memory*, which is available in the *General Purpose* series.

. Click *Save*.

.Verification

. Click the *YAML* tab.

. Click *Reload*.

. Review the VM YAML to confirm that the instance type changed.
