> Source: https://docs.cyberelements.io/bastion/4.7/el/Usage/Reference/AdminConsole/ContainerOrVirtualizationHosts/

# Container or virtualization hosts

The **Container or virtualization hosts** module declares the hosts on which CyberElements Bastion runs the virtual machines and containers it pilots. A host is either a **virtualisation** manager (a VMware or Proxmox hypervisor) or a **container** manager. It is intended for an administrator who is setting up the execution infrastructure, and who needs to declare its access address, its credentials and, where applicable, the certificate authority used to reach it.

---

## Reading the grid

| Column | Description |
|---|---|
| **Status** | Connection indicator for the host: green when the connection is established, red when it fails, grey while the state is unknown. Hovering the dot displays **Connection established.**, **Connection failed.** or the message returned by the host. |
| **Host name** | Name of the host, preceded by an icon matching its type. |
| **Host type** | Type of the host, followed by its manager between parentheses: **VMWare (Virtualization)**, **Proxmox (Virtualization)** or **Container**. |
| **Server** | Access address of the host. |

When no host is declared, the grid displays *No host*.

> **Status refresh**
>
> Each host is tested when the list loads, then **every minute**. The dot therefore reflects the state of the connection without any action from the administrator.

## Searching and filtering

The toolbar carries a **Host type** drop-down that restricts the list, with the values **All** *(default)*, **Container**, **Virtualization**, **VMWare(Virtualization)** and **Proxmox(Virtualization)**.

The **Search** field filters the list. The search runs 700 ms after the last keystroke; the cross button clears the field.

The grid is paginated, with an **Items per page:** selector offering 15, 25 or 50 rows.

## Adding a host

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

| Field | Description |
|---|---|
| **Manager type** | Mandatory. **Virtualization** *(default)* or **Container**. This choice governs which of the following fields are displayed. |
| **Host type** | Mandatory, and only shown in **Virtualization** mode: **VMWare** *(default)* or **Proxmox**. |
| *Supported versions* | Information line listing the supported VMware vSphere and vCenter versions. Shown for the **VMWare** type only. |
| **Name:** | Mandatory. Name given to the host in the console. |
| **Server** | Mandatory. Access address of the host. In **Virtualization** mode the address is expected **without a protocol prefix**; in **Container** mode a complete URL is expected. |
| **Node** | Mandatory, and only shown for the **Proxmox** type. Name of the node to reach in the cluster. |
| **Login** | Mandatory. Account used to authenticate against the host. |
| **Password:** | Mandatory when creating the host. |
| **Authentication through a site:** | Checked by default, and only shown in **Virtualization** mode. Unticking it hides the **Site** field and detaches the host from any site. |
| **Site** | Mandatory when the previous box is ticked. Drop-down of the declared [sites](https://docs.cyberelements.io/bastion/4.7/el/Usage/Reference/AdminConsole/Sites/). |
| **Vcenter Certificate authority (base64)** | Optional, **Virtualization** mode only. Uploads the certificate authority in PEM format. |
| **Use a custom certificate authority for ESXi access (Bastion proxy only)** | Optional, **VMWare** type only. Reveals the **Certificate authority for ESXi serveurs** field, to supply an authority specific to the ESXi servers. |

The **Validate** button saves the host, **Cancel** closes the window without saving. If a mandatory field is missing or malformed, a message reports an incorrect entry and the window stays open.

> **Accepted certificate file**
>
> The uploaded file must be a base64 certificate (it must contain the `-----BEGIN CERTIFICATE---` marker) and must not exceed 20 KB. Otherwise an error message reports that the file is not a valid base64 certificate file, and the field is left empty.

## Editing a host

Select the host and click **Properties**, or double-click the row. The **Edit host** window carries the same fields as the creation window, with two differences:

- **Manager type** and **Host type** are read-only: the nature of a host cannot be changed after it is created;
- **Password:** contains `******`. Leaving it as is keeps the stored password; it is only changed if a new value is typed in.

> **One host at a time**
>
> **Properties** stays greyed out unless exactly one row is selected.

## Deleting a host

Select one or more hosts and click **Delete**. A confirmation is requested, whose wording adapts to whether one or several hosts are selected.
