Deleting virtual machines

You can delete virtual machines when they are no longer needed in a deployed environment.

Before you begin

You must be assigned one of the following permissions to perform these steps:
  • System level, Cloud group administration role with permission to View all cloud resources (Read-only permission)
  • Resource level administration role with All access rights permission (ACL) to view, modify and delete a specific instance
You must stop the virtual machine before it can be deleted. If the virtual machine is running, the delete icon is disabled.

About this task

When a virtual machine is deleted, two types of migrations are attempted. Host migration moves virtual machines between compute nodes in an attempt to rebalance them. Storage migration moves virtual machine data between datastores.

If a virtual machine has no attached storage, both host and storage migration is performed and the virtual machine is evacuated.

If a virtual machine has attached storage, the storage migration will not be possible. However, the host migration is still performed and the virtual machine will be evacuated. In this case, you may experience instance migrations create failure status in the job queue or log messages indicating that the virtual machine has attached storage volumes so it cannot be migrated.

You can use the console or the command line interface to complete this task. For the command line information, see the Related information section.


  1. Click Patterns > Virtual Machines.
  2. Select the virtual machine that you want to remove.
  3. Click the Delete icon in the toolbar. Click OK to confirm that you want to delete the virtual machine.