> Source: https://docs.cyberelements.io/saas/bg/Usage/AdminConsoleReference/VirtualMachines/

# Virtual machines

The **Virtual machines** module lists the virtual machines hosted on a virtualisation host, and drives them: viewing their properties, changing their power state, opening a remote console, managing their snapshots and deleting them. It is intended for an administrator who operates the machines running on the hosts declared in [Container or virtualization hosts](https://docs.cyberelements.io/saas/bg/Usage/AdminConsoleReference/ContainerOrVirtualizationHosts/).

This module is only displayed when virtual machine management is enabled on your platform; its activation is requested from CyberElements Support.

The window always shows the machines of **one host at a time**, chosen from the **Hypervisor** selector.

---

## Choosing the host

The **Hypervisor** drop-down in the toolbar lists the declared hosts, restricted to the **virtualisation** managers: container hosts are not offered. The first host of the list is selected automatically when the window opens, so the grid is never empty on arrival.

When no virtualisation host is declared, the selector displays *No virtual machine host installed*.

The **Search** field filters the machines of the selected host. The grid is paginated, with an **Items per page:** selector offering 15, 25 or 50 rows.

## Reading the grid

| Column | Description |
|---|---|
| **Name** | Display name of the machine, preceded by an icon showing its power state: running, suspended or stopped. |
| **Host** | Name of the host carrying the machine. |
| **System** | Operating system of the machine, preceded by a Windows, Linux or generic icon. |
| **IP address** | IP address of the machine. |

When the selected host carries no machine, the grid displays *No virtual machine found*.

## Viewing the properties

Select a machine and click **Properties**, or double-click the row. The **Extended VDI machine properties** window opens.

> **Read-only window**
>
> Every field is displayed for information only: this window **does not modify** the machine. Its only button is **Close**.

| Group | Field | Description |
|---|---|---|
| **Information** | **Name:** | Display name of the machine. |
| **Information** | **IP Address** | IP address of the machine. |
| **Information** | **State** | Power state, shown as an icon. |
| **Information** | **Operating system** | Operating system, icon then name. |
| **Applications** | **Size** | Disk size of the machine. |
| **Applications** | **Memory** | Memory allocated to the machine. |

If the machine can no longer be reached on its host, an error reports that the virtual machine is invalid or not found, and the window closes.

## Changing the power state

Three buttons drive the machine, and their availability follows its current state.

| Button | Available when | Effect |
|---|---|---|
| **Start VM** | the machine is suspended or stopped | starts the machine |
| **Suspend VM** | the machine is running | suspends the machine |
| **Stop VM** | the machine is running | stops the machine |

The operation is submitted to the host, then followed in the background: the icon in the **Name** column is refreshed once the host confirms the new state.

## Opening the console

The **Open console** button opens the remote console of the machine in a new browser tab. It is available only while the machine is **running**.

> **Proxmox host without a site**
>
> On a Proxmox host, the console goes through a gateway attached to a site. If the host is not attached to any site, the button stays greyed out and its tooltip reports that the feature is unavailable because the host has no site configured.

## Managing snapshots

Select a machine and click **Virtual machine snapshots**.

> **Proxmox hosts only**
>
> The button is only active for a machine carried by a **Proxmox** host. It stays greyed out for the other host types.

The window presents the snapshots as a tree, each snapshot appearing under the one it was taken from.

| Column | Description |
|---|---|
| **Snapshot** | Name of the snapshot. The line matching the machine's live state is shown as *Current state*, in italics. |
| **Description** | Description entered when the snapshot was created. |
| **RAM** | **Yes** when the memory contents were included in the snapshot, **No** otherwise. Empty on the *Current state* line. |
| **Date** | Date and time the snapshot was taken. |

When the machine carries no snapshot, the grid displays *No snapshot*.

The **Refresh** button reloads the tree from the host.

### Creating a snapshot

Click **New snapshot** to open the **Add snapshot** window.

| Field | Description |
|---|---|
| **Name** | Mandatory. Name of the snapshot. Its format is constrained by what the host accepts. |
| **Description** | Optional. |
| **Include RAM** | Only shown when creating a snapshot of a machine that is **running or suspended**, on a **Proxmox** host. Adds the memory contents to the snapshot, so that reverting restores the machine in its exact running state. |

**Validate** creates the snapshot, **Cancel** closes the window.

### Editing a snapshot

Select a snapshot and click **Properties**. The **Edit snapshot** window carries the same fields, with the **Name** now read-only: only the description can be changed.

### Applying a snapshot

Select a snapshot and click **Apply**. A confirmation is requested before the machine is reverted to that snapshot.

### Deleting a snapshot

Select a snapshot and click **Delete**. A confirmation is requested.

> **No row selected**
>
> **Properties**, **Apply** and **Delete** act on the selected snapshot. Without a selection, a message asks you to select a line.

## Deleting a machine

Select the machine and click **Delete**. A confirmation warns that the action **permanently deletes the virtual machine on the host**.

> **Machines that cannot be deleted**
>
> A machine can only be deleted once it is **stopped** and is no longer associated with a desktop clone. Otherwise a message reports it, and the deletion does not take place.
