End User Self Service for VMs on VMware vSphere - Rafay Product Documentation

Administration

The VMware vSphere template enables streamlined, self-service deployment of virtual machines on existing vSphere environments. In this guide, we will be using Rafay's curated template available from the Template Catalog. The Org Admin for the user's Rafay Org has the privileges to share the system templates from Rafay's Catalog to specific/all projects.

Please ensure you have access to an existing VMware vSphere server with credentials to provision VMs. Ensure the vSphere environment contains VM templates that will be used to provision VMs.

Prerequisites

Step 1: New Project

We will create a new logically isolated environment i.e. a project in our Rafay Org for this guide.

As an administrator, we will want to make sure that all resources we be created in this project. All users we will add will have their access limited to resources in this project.

We will configure and deploy ALL resources in the steps below into this project.

Projects are a unique feature in the Rafay Platform allowing organizations to multi-tenancy i.e. multiple teams, business units and operating environments can be modeled as projects which are completely separate and isolated.

Step 2: Deploy Rafay Agent

Infrastructure orchestrated by the Rafay Platform for end users will operate in your private network. The Rafay Platform will never require direct inbound access to any resources in your network. The Rafay Platform uses the Rafay Agent that administrators deploy in their network as a minion to orchestrate the tasks you configure in the Rafay Platform.

In the steps described below, you will deploy an agent.

Configure Template

When the template is executed by the Rafay agent operating behind the firewall, it will receive the configured template, the associated Infra as Code (IaC), credentials and policies from the Rafay Platform. It will then execute this code on the behalf of the user.

Step 1: Specify Agent

Let's configure the template to be received and executed by the Rafay Agent we created in a prior step.

Step 2: Configure Input Variables

We will update some input variables by adding default values to their configuration.

The vsphere_vm_template value should match the name of the template in vSphere to be deployed by the environment

Design Self Service SKU

Next, we will configure a self service SKU (i.e. custom PaaS profile) to allow end users to consume this via self service.

At this point, you have created the SKU for end user self service of "Virtual Machines" on VMware vSphere. Follow the steps as the end user to provision a VM.