Creating and deleting VMs (snap/2.9/UI)

2.7 2.8 2.9 3.0
Snap CLI ~ UI CLI ~ UI CLI ~ UI CLI ~ UI
Packages CLI ~ UI CLI ~ UI CLI ~ UI CLI ~ UI

If you have already created a VM host, you will want to create and delete virtual machines (VMs); this article explains how to do so.

Three questions you may have:

  1. How do LXD projects work?
  2. How do I add a VM?
  3. How do I delete a VM?

Adding a VM from the Web UI

While on VM host’s details view, select ‘Compose’ from the ‘Take action’ drop-down menu to compose a machine.

You can choose which storage pool to use from a drop-down list.

Click the ‘Compose machine’ button when you’re finished. MAAS will present the VM host detail view. In a few moments, your new machine will be auto-commissioned. The ‘Machines’ page will reflect this as well.

MAAS will deduct the new machine’s resources from the VM host’s resources:

Deleting a VM from the Web UI

To delete a VM, delete it as you would any other MAAS machine. Select the desired machine from the list of machines and select ‘Delete’ from the ‘Take Action’ menu.


Last updated 28 days ago.