The Cloud Consumption Interface feature enables users to work with and create vSphere Supervisor namespaces to deploy virtual machines, and other IaaS workloads.

Prerequisites

  • The user must create or select an appropriate Supervisor namespace using CCI.

Procedure

  1. Create a namespace as described in Create a Supervisor Namespace with Cloud Consumption Interface.

    When you click Create, the namespace is created and it appears on the list of Namespaces for the applicable project. CCI will select the appropriate supervisor within the specified region to create the namespace for the infrastructure resources specified.

    After you create a namespace, you can click it to view the options for selecting an existing service or creating a new service within the namespace. One of the services will be a Virtual Machine service, and you can click it to view existing virtual machines and create a new one. The available services are displayed on the Namespace page.

  2. Click one of the services to select it.
    The rest of this procedure assumes that you selected the Virtual Machine service.
  3. Open the Virtual Machine page for the namespace page by clicking the Virtual Machine service tile.
  4. Click Create VM.
    A New Virtual Machine wizard will start to guide you through the process of creating a new virtual machine.
  5. Type a name for the virtual machine.
  6. Select the class that you want to use for the virtual machine. The class selection defines the resources available within the virtual machine.
  7. Select the image to use with the virtual machine.
  8. If desired, you can click the Advanced Configuration check box to access settings to specify additional resources that are available within the virtual machine.

Results

As you create a virtual machine, the YAML code that defines the machine is displayed in the YAML section at the right side of the page. You can click the Download .Zip button to download a zipped copy of the YAML file generated by the virtual machine wizard.

What to do next

You can copy and paste the virtual machine YAML code into a command line, incorporate it into a GIT repository as a GitOps style workflow or use it in some other capacity as an IaaS object.