Services in CCI are pluggable modules that help users create resources, such as virtual machines. These services can be incorporated into CCI to create a seamless experience for DevOps users working with services in a Kubernetes context.

Create a Virtual Machine

The following procedure shows how to use the Virtual Machine service to deploy a VM in your Supervisor namespace.cluster wizard.

  1. On the Supervisor Namespaces page, click your namespace.
  2. Under Services, click Open on the Virtual Machine service tile.
  3. On the Virtual Machine service page, cick Create VM.

    A wizard guides you through the process of creating a new virtual machine.

    1. Type a VM name.
    2. Select a VM image.
    3. Select a VM class. The class selection defines the resources available within the virtual machine.
    4. (Optional) If you want to specify additional resources that are available within the virtual machine, click Go to Advanced Settings, add your information, then click Next.
    5. If you do not want to specify advanced settings, click Review and Confirm.

      The YAML code that defines the machine is displayed in the YAML section at the right side of the page. To download a zipped copy of the YAML file generated by the wizard, click the Download .Zip button.

    6. After confirming the VM configuration as shown in the YAML code, click Deploy VM.

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.

View and edit a Virtual Machine

For example, to manage a virtual machine that you deployed on a namespace, you can use the Virtual Machine service.

  1. On the Supervisor Namespaces page, click your namespace.
  2. Under Services, click Open on the Virtual Machine service tile.
  3. Click the virtual machine name. On the details page that appears, you can:
    • Use the Power State button to switch the machine from powered on to powered off.
    • Cick the Attach Volume button to add disk volumes in specified sizes to the virtual machine.

If you want to see other objects associated with virtual machines on the namespace, open the Virtual Machine service tile and click the Related objects tab.