Deleting virtual machines
Limitations
- A VM is removed along with its disks that have the Delete on termination option enabled during the VM deployment.
Prerequisites
- Virtual machines are created, as described in Creating virtual machines.
To remove one virtual machine
Admin panel
- Click the ellipsis button next to a VM you want to delete, and then click Delete.
- Click Delete in the confirmation window.
Command-line interface
Use the following command:
vinfra service compute server delete <server>
<server>
- Virtual machine ID or name
For example, to delete the virtual machine myvm
, run:
# vinfra service compute server delete myvm
To remove multiple virtual machines
- Select the check boxes next to VMs you want to delete.
- Over the VM list, click Delete.
- Click Delete in the confirmation window.