Deploy a Virtual Machine from a Template

When you deploy a virtual machine from a template, you’re actually deploying a duplicate of the template. The virtual hardware, installed software, and other attributes for the template are all present in the new virtual machine.

Deploy a Virtual Machine from a Template
Deploy a Virtual Machine from a Template

Prerequisites of Deploy a Virtual Machine from a Template

To deploy a virtual machine from a template, you must have the following permissions:

Virtual machine.Inventory – Create from existing virtual machine folder or datacenter.

Virtual machine.Configuration – Add new disk on virtual machine folder or the datacenter.

It’s required only in case you customize the original hardware info or by adding a new virtual disk.

Virtual machine.Provisioning – Deploy template on the source virtual template.

Resource – Assign virtual machine to resource pool on the destination host, cluster, or resource pool.

Datastore – Allocate the required space on the destination datastore.

Network – Assign required network on the network to which the virtual machine is assigned. Required only if you customize the original hardware info or by adding a new network card on vcenter.

Virtual machine.Provisioning – If you’re modifying the guest operating system, do it on the template or template folder.

Virtual machine.Provisioning – If you’re modifying the guest operating system, read the customization specifications on the root vCenter Server.

Procedure of Deploy a Virtual Machine from a Template

  • Start the Deploy From Template wizard.

From a valid parent object of a virtual machine

a Right-click any inventory object that is a valid parent object of a virtual
machine, such as a data center, folder, cluster, resource pool, or host,
and select New Virtual Machine.
b On the Select a creation type page, select Deploy from template and
click Next.
c On the Select a template page, select the template that you want to use.

From a template – Right-click a template and select New VM from This Template.

  • Enter a unique name for the virtual machine and a deployment location on the Select a name and folder page.
  • Select the host, cluster, resource pool, or vApp where the virtual machine will operate on the Select a compute resource page, then click Next.

The specified object’s resources will be accessible to the virtual computer.

An warning shows in the Compatibility pane if creating the virtual machine at the selected location produces compatibility issues.

  • Select the datastore or datastore cluster where the virtual machine configuration files and all virtual disks will be stored on the Select storage page, then click to the Next.
Deploy a virtual machine from a template that has vPMem hard disks
Deploy a virtual machine from a 
template that has vPMem hard disks
Deploy a Virtual Machine from a Template
  • Select additional customization options for the new virtual machine on the Select clone options page.

You can change the virtual machine hardware or the guest operating system.

You have the option of turning on the virtual machine after it has been created.

  • (Optional) Apply a customisation specification to the virtual machine on the Customize guest OS page.

Customizing the guest OS eliminates problems that might occur when virtual machines are deployed with similar parameters, such as duplicate computer names.

Select an existing specification -> Select a customization specification from the list.
Create a specification -> Click the Create a new specification icon, and complete the steps in the wizard.
Create a specification from an existing specification
a Select a customization specification from the list.
b Click the Create a spec from an existing spec icon, and complete the steps in the wizard

  • (Optional) Configure the virtual machine hardware and parameters on the Customize hardware screen, then click Next.

You can leave the settings in place and subsequently adjust the virtual machine’s hardware and options.

  • Review the information on the ready to Finish page before clicking Finish button.

Read more – Virtualizations

Leave a Comment

Your email address will not be published.