Virtual Machines

Configure and manage virtual machines running on appliance-based nodes using KVM

Trustgrid nodes can deploy virtual machines (if supported) using the open source virtualization technology Kernel-base Virtual Machine (KVM)which allows the node to act as a hypervisor to run multiple, isolated virtual guests.

The virtual machine can be attached to both the local and virtual network space which allows both local and remote resources to communicate with the virtual machine. For example an API could be deployed on a Trustgrid Gateway which sends API calls via the virtual network space to a virtual machine running on a Trustgrid Edge Node. The API call could then be translated to make a call to a database running on the local network and passed back up to the gateway host.

Management

Navigate to VM Management > Virtual Machines on a node.

img

img

Field NameDescription
NameName of the virtual machine.
DescriptionDescription for the virtual machine.
ImageImage selected from the ones available.
Firmware

Boot firmware for the virtual machine.

  1. BIOS
  2. UEFI
Device Bus

Device Bus used for deployment of the virtual machine.

  1. VirtIO
  2. IDE
  3. SATA

Overview

Navigating into a virtual machine, the overview section allows editing basic information about the virtual machine’s execution environment.

img

Field NameDescription
NameName of the virtual machine.
DescriptionDescription for the virtual machine.
ImageImage selected from the ones available.
Guest OS (read-only)Operating System of the Image.
Hostname (Optional)Hostname given to the virtual machine on deploy.
Stop Timeout (Optional)Denotes how long to wait for the virtual machine to gracefully stop before killing the process. Default is 2 minutes.
Firmware (read-only)Boot firmware of the virtual machine.
Device Bus (read-only)Device Bus used for deployment of the virtual machine.
Auto Start (Optional)Indicates the virtual machine should automatically start after deploy.

CPU

Virtual machine CPU allocation.

img

Memory

Virtual machine Memory allocation in GB, MB, KB, or Bytes.

img

Network

The networking section allows you to configure the virtual machine’s VRF, its port mappings, and its virtual networks and interfaces.

img

Host Port Mappings

Host port mappings allow you to expose a port on the host to the virtual machine. This is useful for exposing a service running in the container to the local network.

Field NameDescription
ProtocolThe protocol to listen for. If not specified, all traffic is forwarded to the virtual machine.
Host InterfaceThe host interface to listen on.
Host PortThe host port to listen on.
Virtual Machine PortThe virtual machine port that will receive the mapped traffic.

Virtual Networks

Attaching a virtual network to a virtual machine allows virtual network traffic to reach it.

Field NameDescription
Virtual NetworkThe virtual network to attach.
Virtual IPThe virtual IP to assign to the virtual machine.
Allow OutboundWhether the virtual machine should be allowed to make outbound connections into the virtual network.

Virtual Interfaces

A virtual interface can be mapped to a virtual machine to forward all traffic.

Field NameDescription
NameThe virtual interface name.
DestinationThe interface destination inside the virtual machine.

Volumes

Allows mapping disks or cd-roms to a virtual machine.

img

Snapshots

Allows the creation, restoration, and deletion of virtual machine snapshots.

img

Field NameDescription
NameThe snapshot name.
Creation TimeThe timestamp when the snapshot was created.
VM StateThe state of the virtual machine when the snapshot was created.
Snapshot Mode
  1. Extenal Disk Only - Mode applied to the snapshot when the firmware of the virtual machine is UEFI.
  2. Internal - Mode applied to the snapshot when the firmware of the virtual machine is BIOS. This mode includes the guest virtual machine state.
Parent SnapshotIf this is a child snapshot, this references the parent snapshot.
DescriptionThe snapshot description.

Every snapshot operation is tracked asynchronously. You can keep track of the status of every snapshot creation, restoration, and deletion via the Recent Tasks table.

img

Cloud Init

Cloud-init is a simple and powerful way to configure virtual machines during deployment. You can manage user creation, install updates, configure network, etc.

img


History

Shows active and completed traffic flows for the virtual machine.

img


Images

Manage KVM images

Volumes

Configure and manage KVM volumes