# Converting a VM to a Template

In the vCloud Director interface you can convert a VM to a template and use it to deploy additional VMs, this is particularly useful if you have an SOE or a baseline you've configured in the VM and you want all additional VMs to be the exact same.

To do this follow the steps below:

**Step 1.** Login to the vCloud Director portal

<figure><img src="https://3953723498-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LYYiX2aEcPAPdzrvDc4%2Fuploads%2FNUALCXLWSJ26s0aMZbrP%2Ffirefox_J5TBq9TLbs.png?alt=media&#x26;token=af8908a9-8b4b-4fa2-8449-faff9434ff17" alt=""><figcaption></figcaption></figure>

**Step 2.** Select the Virtual Datacenter that contains the VM you want to convert to a template

<figure><img src="https://3953723498-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LYYiX2aEcPAPdzrvDc4%2Fuploads%2F7seEKHYPGPpOET0XPtv5%2FiZOQotL0cP.png?alt=media&#x26;token=b31c14ec-6c16-4185-9c1d-a72c76100cca" alt=""><figcaption></figcaption></figure>

**Step 3.** Find the Virtual Machine and click on 'Actions'

<figure><img src="https://3953723498-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LYYiX2aEcPAPdzrvDc4%2Fuploads%2FeOkijYBvfcSepqavge1W%2FvD2iV7atmo.png?alt=media&#x26;token=9561c8e6-a328-4aab-bfa1-d1063ba352e0" alt=""><figcaption></figcaption></figure>

**Step 4.** In the dropdown menu select 'Create Template'&#x20;

<figure><img src="https://3953723498-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LYYiX2aEcPAPdzrvDc4%2Fuploads%2FXf4Pzh15UjvJyX9L3R0C%2FWhgECAiNxr.png?alt=media&#x26;token=7fea8523-4aa5-41c5-83fc-dd3f761c6d27" alt=""><figcaption></figcaption></figure>

**Step 5.** Select the Catalog you want to add the template to, adjust the name if necessary and click 'OK'. If you haven't created a catalog to store these templates in follow this guide [LINK](https://kb.hostednetwork.com.au/support/services/cloud/infrastructure-as-a-service/administrative-tasks/what-is-a-catalog-and-how-to-create-one)

<figure><img src="https://3953723498-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LYYiX2aEcPAPdzrvDc4%2Fuploads%2FuxvYtl421PJcTmol8UwV%2F0tm2whqXNe.png?alt=media&#x26;token=18a87861-a3b1-4c0c-bb5c-c95ef4a1d261" alt=""><figcaption></figcaption></figure>

The system will now go through and create a template from the VM you've selected, and then when deploying new VMs you can select to deploy the VM using that template.
