End User
Once the administrator has configured and published the templates and the SKUs for self service VMs, the end user can consume this via the end user facing self service portal called the Developer Hub. Please follow the steps below when you are logged in with an end user facing role (Developer, Data Scientist etc).
Prerequisites¶
VMs launched using Rafay on VMware vSphere use an SSH key pair instead of a password to authenticate a remote user . A key pair consists of a private key and public key.
- You keep the private key on your computer and provide the public key when you create an instance.
- When you connect to the instance using SSH, you provide the path to the private key in the SSH command.
Use the documented steps to generate SSH key pairs.
Info
A SSH key pair can be generated for each instance or reused to connect to several instances.
Deploy Virtual Machine (VM)¶
Next, we will use the end user self service portal (aka Developer Hub) to deploy an instance of the compute profile.
- Navigate to Developer Hub (https://console.rafay.dev) and login with your end user credentials
- Click "Workspaces"
- Click "New Workspace"
- Enter a name for the workspace
- Click Save
Info
If you are assigned to multiple projects, please select the project where the SKU is available for you.
- Click "Compute Instances"
- Click "New Compute Instance"
- Click "Select" on the vSphere service card
- Enter a name for the instance
- Modify and of the compute details
- Enter the text of your public SSH key
- Click Deploy
After a short period of time, the instance will be deployed.
Utilize¶
Next, we will use use the newly deployed VM.
- Copy the "SSH Details" from the output of the deployed compute instance.
- Use this command, with the substituted Private SSH key path in order to connect to the deployed Virtual Machine.