VMWare ESXi

How to Create VM Template & Convert VM Template using vCenter Server

How to Create VM Template and Convert VM Template using vCenter Server 6.0

In this post, we’ll learn the steps to create Virtual Machine Template and convert VM Template in VMWare ESXi 6.0. We have already learned the steps to install VMWare ESXi and installation of VMWare vCenter Server. VM template can be used as a golden image. It is used to create multiple Virtual Machine without installing the OS and other important applications from the scratch.

Why do we need VM template?

Take a scenario in which you have to deploy some Virtual machines in your environment. This means we have to install the OS on all the Virtual Machines, on top of OS we also need to install the basic or the mandatory software and applications e.g. Antivirus, MS Office, Acrobat Reader, etc. However to prevent all those redundant tasks, we can create a VM template and by using it we can create multiple Virtual Machines.

Before we start with the steps of creating a VM template on VMWare ESXi 6.0. Install the OS and install all the basic softwares. Please take a note, we need to login to vCenter Server to create the template. We can see two options:
a) Clone: It is doesn’t impact the source machine. It creates the new Virtual Machine by cloning and then convert newly created VM to template.
b) Convert: This option converts the VM to template i.e. source Virtual Machine will be converted.

Clone to Template

Step 1:
Login to vCenter Server (Steps to install vCenter Server)
Right click on the Virtual Machine which you want to clone.
Select the option Clone to Template in this practical.

Create VM Tempalte Convert VM Template (2)

Step 2:
Define the Name.
Define the inventory location for the same. Select the Data centre that would host it.
Click on next to continue.

Create VM Tempalte Convert VM Template (2)

Step 3:
Select the Host/ Cluster on which you want to store this template.
Verify the compatibility and ensure that “Validation succeeded” message appears. It confirms the compatibility with Host/ Cluster.

Create VM Tempalte Convert VM Template (2)

Step 4:
Select the Datastore for the template.
Over here you would see all the Disks that are attached to your Host.
Select the Disk format. For this practical, we’ll select “Thin Provision”.
Click next and then click Finish.

Create VM Tempalte Convert VM Template (2)

Step 5:
Even if Virtual Machine template is successfully created, you would not be able to see the same under your Host.
To see the template, click on the Home

Create VM Tempalte Convert VM Template (2)

Step 6:
Click “VMs and Templates” to see all the Virtual Machines and Templates.

Create VM Tempalte Convert VM Template (2)

Step 7:
Over here we can see all the Virtual Machines and Templates.

Create VM Tempalte Convert VM Template (2)

Convert to Template

Step 1:
Login to vCenter Server.
Right click on the Virtual Machine which you want to convert.
Click on Template and then select the option “Convert to Template”.

Create VM Tempalte Convert VM Template (2)

Step 2:
Conversion would convert the source Virtual Machine.
To check if the VM Template is created or not, click on the Home.

Create VM Tempalte Convert VM Template (2)

Step 3:
Select “VMs and Templates”.

Create VM Tempalte Convert VM Template (2)

Step 4:
Over here you can see all the Virtual Machines and Templates.

Create VM Tempalte Convert VM Template (2)

Hope you understood the steps to create Virtual Machine Template in VMWare ESXi 6.0. Please feel free to leave your comments and suggestions in the comment section.