Step 2: Create a Tenant
Creating a DuploCloud Tenant that segregates your workloads
Now that the Infrastructure and Plan exist and a Kubernetes GKE Cluster has been enabled, create one or more Tenants that use the configuration DuploCloud created.
Tenants in DuploCloud are similar to projects or workspaces and have a subordinate relationship to the Infrastructure. Think of the Infrastructure as a virtual "house" (cloud), with Tenants conceptually "residing" in the Infrastructure performing specific workloads that you define. As Infrastructure is an abstraction of a Virtual Private Cloud, Tenants abstract the segregation created by a Kubernetes Namespace, although Kubernetes Namespaces are only one component that Tenants can contain.
Estimated time to complete Step 2: 10 minutes.
Tenant use cases
DuploCloud customers often create at least two Tenants for their production and non-production cloud environments (Infrastructures).
For example:
Production Infrastructure
Pre-production Tenant - for preparing or reviewing production code
Production Tenant - for deploying tested code
Non-production Infrastructure
Development Tenant - for writing and reviewing code
Quality Assurance Tenant - for automated testing
In larger organizations, some customers create Tenants based on application environments, such as creating one Tenant for Data Science applications and another Tenant for web applications, and so on.
Tenants are sometimes created to isolate a single customer workload, allowing more granular performance monitoring, scaling flexibility, or tighter security. This is referred to as a single-Tenant setup.
Prerequisites
Before creating a Tenant, verify that you accomplished the tasks in the previous tutorial steps. Using the DuploCloud Portal, confirm that:
An Infrastructure and Plan exist, both with the name you created.
The Infrastructure has Kubernetes (GKE) Enabled.
Creating a Tenant
Create a Tenant for your Infrastructure and Plan:
In the DuploCloud Portal, navigate to Administrator -> Tenants.
Click Add. The Create a Tenant pane displays.
Enter a unique name for your Tenant in the Name field. Choose unique names that are not substrings of one another, for example, if you have a Tenant named
dev
, you cannot create another nameddev2
. We recommend using distinct numerical suffixes likedev01
anddev02
.Select the Plan that you created in the previous step.
Click Create.
It may take 1-2 minutes for the Tenant to be set up. While the Tenant is setting up, a temporary fault may show up under Administrator -> Faults. This fault can be ignored, as it should clear within the first 2 minutes.
Checking your work
From the DuploCloud portal, navigate to Administrator -> Tenants, and verify that a Tenant exists with the name and Plan you created.
Last updated