Virtual Machines

4 min read

Virtual Machines #

1. What is a Virtual Machine? #

Overview

In BuildPiper, for a monolithic application, you need to onboard the infrastructure required to deploy it. This infrastructure is made up of VMs (virtual machines).

You can onboard a single VM or a group of VMs, called a VM Group.

2. Open Virtual Machine Groups #

  1. 1

    Click Infra Inventory in the left navigation.

  2. 2

    Click your profile and select Super Admin.

  3. 3

    Select Virtual Machine.

  4. 4

    Click + ADD VM GROUP.

Virtual Machines: source figure 1

Figure 1: Infra Inventory > Virtual Machine

The Virtual Machine Group page lists the VM groups. For each group, it shows the mapped environments, the number of VMs connected, and when it was last edited. You can filter the list by name and environment.

3. Add a Virtual Machine Group #

In the Add Virtual Machine Group window, enter the group name and select the environment.

Virtual Machines: source figure 2

Figure 2: Add Virtual Machine Group

Swipe horizontally to view all columns →
Field Mandatory Description
Virtual Machine Group Name Yes The name of the VM Group. In BuildPiper, for a monolithic application, you can onboard a single VM or a group of VMs, referred to as a VM Group.
Select Environment Restriction Yes The environment to which you want to associate the VM group. In BuildPiper. This ensures that VMs designated for PROD environment are utilized for Production workloads only. This ensures complete logical separation of infrastructure.

Click SAVE & CONTINUE.

4. Add a Virtual Machine #

The page of the VM Group shows the group name and its environment restriction. The Virtual Machines table lists the VMs added to the group. It shows the VM Name, Primary Tags, Secondary Tags, IP Address, Status and Actions. The table is empty until you add a VM.

Virtual Machines: source figure 3

Figure 3: Virtual Machine Group – Add Virtual Machine

Add VMs to the group in one of two ways:

Swipe horizontally to view all columns →
Button Action
+ ADD MORE Adds a VM to the group.
UPLOAD CSV FILE Adds VMs by uploading a CSV file.

Click + ADD MORE. In the Add Virtual Machine window, fill in the details of the VM.

Virtual Machines: source figure 4

Figure 4: Add Virtual Machine

Swipe horizontally to view all columns →
Field Mandatory Description
User Name Yes The VM username for SSH (Secure Shell) is the specific username used to authenticate and log in to a virtual machine (VM) remotely via SSH protocol.
Ip Address Yes The VM IP address for SSH refers to the specific IP address assigned to a virtual machine (VM) that allows remote access via the Secure Shell (SSH) protocol.
VM Name Yes A virtual machine (VM) is a software-based unit of a LDC – Local data centre which runs an operating system and applications just like a physical computer.
Port Yes Port defines the entry point for network communication with the virtual machine.
Primary Tags No Primary and Secondary tags are labels applied to VM groups. When deploying monolithic applications on VM groups, users can prioritize deployment to specific VMs by specifying these tags.
Secondary Tags No During deployment, the process first searches for VM groups with the primary label. If the resources meet the requirements, the deployment is scheduled on the VMs tagged as primary.
Connection Method Yes SSH Key: SSH-based authentication refers to the method of authenticating and establishing a secure connection between a client and a server using the Secure Shell (SSH) protocol. Password: Password-based authentication to a virtual machine (VM) refers to the method of authenticating access to the VM using a username and password combination.

For the SSH Key connection method, the Authentication Key is shown. Click VIEW PUBLIC KEY to see the public key.

Click TEST & SAVE.

5. Virtual Machines in the Group #

After you add the VMs, the Virtual Machines table lists them.

Virtual Machines: source figure 5

Figure 5: Virtual Machine Group with VMs

Swipe horizontally to view all columns →
Column Shows
VM Name The name of the VM.
Primary Tags The primary tags of the VM.
Secondary Tags The secondary tags of the VM.
IP Address The IP address of the VM.
Status The status of the VM, for example ONLINE.
Actions The Test button, the health icon and a menu icon for each VM.

Click + MORE to see more filters, or Reset to clear the filters.

6. VM Health #

To see the health of a VM, click the health icon in the Actions column of the VM. The VM Health window opens.

Virtual Machines: source figure 6

Figure 6: VM Health

Swipe horizontally to view all columns →
Section Shows
CPU The CPU utilization of the VM, with the average utilization.
RAM The RAM utilization of the VM, as utilized and allocated memory.
CPU SPECS The number of cores and threads per core, for example 2 Cores, 1 Thread Per Core.
STORAGE The storage used out of the total storage, and the storage available.