Skip to content

SKUs

During infrastructure setup, the administrator would have cloned compute and Jupyter notebook templates into our project. In this step, you will use the PaaS Admin portal to create and publish SKUs that will be made available to end users for self-service in the Developer Hub.

Specifically, you will create the following:

  • Computer Profiles called "small", "medium" and "Large" that the end user can launch as a compute instance.

  • A Service Profile for a Jupyter Notebook that the user can deploy into a compute instance.

Overall Steps

A very common approach used by organizations is to publish multiple flavors of compute SKUs. A simple example is shown in the table below.

SKU CPU Memory Storage GPU
Small 1 1 Gi 1 GB 1
Medium 2 2 Gi 5 GB 2
Large 3 3 Gi 10 GB 3

Design Compute Profile

In this step, let us start with the creation of a small SKU.

Create Compute Profile

Navigate to the PaaS Studio. If you are logged in as an Org Admin with access to all projects, ensure you have selected the right project

  • Select Compute Profiles and click on New Compute Profile
  • Provide a unique name
  • Ensure you select "Shared" for Allocation Type.
  • Select the environment template/version for the compute instance that was shared to your project by the admin
  • Click on Save

Create New Compute Profile for Small


Configure Compute Profile

Once the profile has been created, we are ready to configure it with details that map to our table from above. In this abbreviated exercise, we have skipped the profile design section. This can be used by the PaaS Admin to customize the details that will be presented to the end user.

Navigate to the Input Settings configuration section

  • Copy/Paste the API Key for your Rafay Org (only if the API Key for programmatic access to your Rafay Org was not already configured in the template by the admin)
  • Select "small" in the selector for "Namespace Quota Size"
  • Disable the checkboxes for the "Allow Override" (This ensures that the end user cannot change these settings)
  • Click on Save

You should now have a published compute profile called "small" like the image below.

New Compute Profile for Small

Note

As a convenience, the Rafay Platform provides three starter options for SKUs: small, medium and large. Admins should select custom if they wish to customize the resource selections.

Admins can optionally check if the SKU is available for use by following the steps below.

  • In the left menu, click on Compute Instances
  • Click on New Compute Instance
  • You should now see the newly created "small" SKU as an option.

Design Notebook Service Profile

In this step, let us start with the creation of a SKU for a Jupyter Notebook. Our notebook will be deployed into a compute instance that the user will select.

Create Notebook Service Profile

  • Select Service Profiles and click on New Service Profile
  • Provide a unique name for the service
  • Select the environment template/version for the "Jupyter Notebook" from the dropdown (this would have been shared to your project by the admin)
  • For Service Type, select "notebook" (this will make sure that this gets tagged appropriately and will be displayed to the user under the Notebooks category)
  • Click on Save

Create New Service Profile for Notebook


Configure Notebook Service Profile

Once the profile has been created, we are ready to configure it to suit our environment. In this abbreviated exercise, we have skipped the profile design section. This can be used by the PaaS Admin to customize the details that will be presented to the end user.

Navigate to the "Input Settings" configuration section

  • Copy/Paste the API Key for your Rafay Org (needed only if the API Key for programmatic access to your Rafay Org was not already configured in the template by the admin)
  • Disable the checkboxes for the "Allow Override" (ensures that the end user cannot change these settings)
  • Click on Save

You should now have a published service profile for a notebook like the image below.

New Service Profile for Notebook

Admins can optionally check if the SKU is available for use by following the steps below.

  • In the left menu, click on Service Instances and click on New Service Instance
  • You should now see the newly created "notebook" SKU as an option.