description |
---|
Using Hosts in DuploCloud |
Once we have the Infrastructure (Networking, Kubernetes cluster, and other common configurations) and an environment (Tenant) set up, the next step is to create VMs. These could be for:
- Compute Engine virtual machines in GCP
- Worker Nodes (Docker Hosts) if built-in container orchestration is used.
- Regular nodes that are not part of any container orchestration, where a user manually connects and installs applications.
In the DuploCloud Portal, you can create GCE VMs, Node Pools, or BYOH (bring your own Hosts) virtual machine setups.
To create a GCE VM (Virtual Machine), navigate to Cloud Services -> Hosts -> GCE VM, and click Add.
The Add GCE Virtual Machine pane in the DuploCloud Portal
A GCP node pool is a group of VMs that share the same configuration, including machine type, disk size, and operating system. Node pools allow you to manage scaling and updates for groups of nodes collectively.
To create a GCP node pool, navigate to Cloud Services -> Hosts -> Node Pool, and click Add.
The Add Node Pool pane in the DuploCloud Portal
While lower-level details such as IAM roles and security groups are abstracted, deriving instead from the Tenant, only the most application-centric inputs are required to set up Hosts.
The Add BYOH pane in the DuploCloud Portal
Most of these inputs are optional and some are available as list box selections, set by the administrator in the Plan (for example, Image ID, in Host Advanced Options).
There is an additional parameter labeled Fleet Type. This is applicable if the VM is to be used as a host for container orchestration by the platform. The choices are:
- Linux Docker/Native: To be used for hosting Linux containers using the Built-in Container orchestration.
- None: To be used for non-Container Orchestration purposes and contents inside the VM are self-managed by the user.
{% hint style="info" %} If a VM is used for container orchestration, ensure that the Image ID corresponds to the Image in the container. Any name that begins with Duplo is an image that DuploCloud generates for Built-in container orchestration {% endhint %}
You can increase the number of available ephemeral ports per GKE Standard VM instance in the DuploCloud Portal using Infrastructure systems settings. More ports help handle high volumes of network traffic, especially for applications that require many simultaneous connections.
To increase the minimum ports per VM for your Infrastructure:
-
Navigate to Administrator -> Infrastructure.
-
In the NAME column, select your Infrastructure name.
-
Select the Settings tab, and click Add. The Infra - Set Custom Data pane displays.
-
From the Setting Name list box, select GKE Minimum Ports Per VM.
-
In the Setting Value field, enter the minimum number of ports you want or each VM.
-
Click Set. VMs in this Infrastructure will have at least the minimum number of ports configured. \
Set a friendly name for an image in your DuploCloud Plan. This name will display in the Image list box when creating a GCE VM in the DuploCloud Portal.
- From the DuploCloud Portal, navigate to Administrator -> Plans.
- Select the Plan from the NAME column.
- Select the Images tab, and click Add. The Add Image pane displays.
- Enter a friendly name and complete the remaining fields, as required. Click Submit. The image name will display in the Image list box when creating a GCE VM under the Plan.