The Cloud Consumption Interface feature enables users to work with and create vSphere Supervisor namespaces to deploy virtual machines, and other IaaS workloads.
- The user must create or select an appropriate Supervisor namespace using CCI.
- 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.
- Click one of the services to select it.
The rest of this procedure assumes that you selected the Virtual Machine service.
- Open the Virtual Machine page for the namespace page by clicking the Virtual Machine service tile.
- Click Create VM.
A New Virtual Machine wizard will start to guide you through the process of creating a new virtual machine.
- Type a name for the virtual machine.
- Select the class that you want to use for the virtual machine. The class selection defines the resources available within the virtual machine.
- Select the image to use with the virtual machine.
- If desired, you can click the Advanced Configuration check box to access settings to specify additional resources that are available within the virtual machine.
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.