Links

Hosts (VMs)

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 meant 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.

Adding a GCP Host

In GCP, you can use GCE VMs or BYOH (bring your own hosts) to get a Virtual Machine setup. Both of these are available through the Cloud Services -> Hosts menu
See the Services documentation for steps to create Hosts and configure Kubernetes storage options.
Hosts in GCP

GCE VM

You can create a GCE VM by going to Cloud Services -> Hosts -> GCE VM.
Add GCE Virtual Machine page

BYOH Hosts

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.
Add BYOH Hosts page
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.
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