You can add a virtual machine to a vApp.

For more information on VMs with TPM devices, see Working with Virtual Machines in the VMware Cloud Director Tenant Portal.

Prerequisites

  • To access virtual machines in public catalogs, verify that you are organization administrator or vApp author.
  • If you want to add a VM with a Trusted Platform Module (TPM) device, verify that a VDC that supports TPM backs the VM.

Procedure

  1. On the Virtual Data Center dashboard screen, click the card of the virtual data center you want to explore, and from the left panel, select vApps.
  2. Click Card Icon to view the vApps in a card view.
  3. From the Actions menu of the vApp to which you want to add a virtual machine, select Add VM.
    The list of virtual machines that are associated to the vApp displays in the Add VMs window.
  4. To create a new virtual machine and associate it with the vApp automatically, click Add Virtual Machine.
  5. Enter the name and the computer name for the virtual machine.
    Important: The computer name can contain only alphanumeric characters and hyphens. A computer name cannot consist of digits only and cannot contain spaces.
  6. (Optional) Enter a meaningful description.
  7. Select how you want to deploy the virtual machine.
    Option Action
    New You deploy a new virtual machine with customizable settings.
    1. Select an OS family and Operating System.
    2. (Optional) Select a Boot image.
    3. Select a Boot Firmware for the VM.
    4. If you want to enter the boot firmware setup when the VM starts, turn on the Enter Boot Setup toggle.
    5. If you want the VM to have a TPM device, turn on the Trusted Platform Module toggle.

    6. (Optional) Enter the number of virtual CPUs, cores per socket, and memory settings manually.

      If you select a VM sizing policy that defines the VM size, this option is not visible.

    7. Specify the storage settings for the virtual machine, such as storage policy and size.

      If you select a VMware Cloud Director IOPS storage policy, you can also set an IOPS reservation for the VM.

      If you specify a remote datastore as a storage policy, all objects that make up the VM must reside on the same remote datastore.

    8. Specify the network settings for the virtual machine, such as network, IP mode, IP address, and primary NIC.
    From Template You deploy a virtual machine from a template that you select from the templates catalog.
    1. Select the virtual machine template from the catalog.
    2. (Optional) Select to use a custom storage policy.
    3. (Optional) Select a primary NIC.
    4. If the VM template has modifiable custom properties, you can edit the properties.
    5. If there is an end user license agreement available, you must review and accept it.
  8. Click OK to create the virtual machine.
  9. Click Add to add the virtual machine to the vApp.