View on GitHub

vmwaresolutions

vCD - Simple Deploy of a VM

Updated: 2020-11-26

To vApp or Not to vApp?

The first choice when deploying a VM in vCD is to consider using a Virtual Application (referred to a vApp) or create a ‘standalone’ VM. There are more advantages for using vApps then not. They are a relatively lightweight ‘container’ of VMs, networks, and some policies.

It all comes down to the requirements that are needed. Something quick and dirty might not require a vApp. And at the end of the day, if you do not create a vApp when you create your VM, you can always create a vApp later and move your vms to it!

For this example, we will create a simple vApp. For more information about vCD vApps visit Working with vApps.

Compute > vApps > New > New vApp

Only a name is required, but its good practice to add a descrition for others.

Creating a new VM

There are a few ways to create a VM:

So we will create the VM not in a vApp and show you how to add it later…

In the New VM wizard, lets discuss some of the options:

Once initial configuration options are selected, Click OK to begin deployment. This can take several minutes to complete. The underlying infrastructure is creating a clone from the Template in the Public Catalog so depending on which physical datacenter the vDC is located and the template selected … this can increase the deployment time. Typically this is less than 10 minutes.

VM Details

Once the VM is deployed, there are a few things I like to change before powering it up.

Compute > Virtual Machines > select VM

Until we have some networking available, we will only prep a few items but for completeness we can discuss the VM options:

Now we are ready to apply the guest OS customizations and power on the VM.
Compute > Virtual Machines > VM Menu > Power On and Force Recustomization

Once the VM is powered on, from the same menu acquire a web console.
Compute > Virtual Machines > VM Menu > Launch Web Console

After the we console is launched and the VM it ready, login with the Admin (root / Administrator) user and password that was set in the OS Customization.

After you login, there is not really much that can be done with this VM without networking. That’s all for now, good luck deploying and modifying VMs. Other sections will continue on and add additional configurations to the vDC.

Oh wait … I forgot that I said I would show you how to add the VM to the vApp. Showing that the VM we created is NOT part of a vApp.
Compute > vApps > select vApp > Virtual Machines Nagivate back to the list of VM’s, identify the VM to take action on and select Move To option and select the vApp as a target.
Compute > Virtual Machines > VM Menu > Move To Select the target vApp… Select the required properties. In this case you will need to select Storage Policy as it defaults to none selected, but this also give you an opportunity to change some other attributes of the VM prior to moving it. Finally once the task is completed, navigate back to the list of VMs in the vApp and you will see the VM is now in the vApp.
Compute > vApps > select vApp > Virtual Machines And now the VM is part of a vApp and can take advantage of those features in alarge deployment, or not.

Many items were discussed here and some come with a cost, be sure to check out the pricing details on the VM components visit VMware Solutions Shared pricing section.

Note the information described in this example are guidelines. There are multiple ways to configure the various parts of the example. Please adjust accordingly for your needs.

VMWare vCloud Director
Main Page