# Create a Virtual Machine from a Template

## <mark style="color:green;">Overview</mark>

To simplify creating a virtual machine (VM), you can use a pre-built VM template from a catalog.

## <mark style="color:green;">Procedure</mark>

{% stepper %}
{% step %}
**Step 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 **Virtual Machines**.

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FzZOmnRlp6MSqMRCMfE8z%2Fimage.png?alt=media&#x26;token=13e6fc35-033b-43df-8b2b-494235972758" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Step 2:** Select **Card View\Grid View** to view the virtual machines
{% endstep %}

{% step %}
**Step 3:** Click **New VM**.

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FBxYO17JZJF42MUa7NahA%2Fimage.png?alt=media&#x26;token=eb3cb02d-4bdf-4cb1-85db-6629203a6b41" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Step 4:** In the *New VM* dialog box, enter a **Name**, **Computer Name,** and **Description** for your VM.

{% hint style="warning" %}
**Attention:**

* **Name** is a name to identify the VM, **Computer Name** is the host name of the VM.
* The **Computer Name** is copied from the **Name** field but can contain only alphanumeric characters and hyphens, so you may need to edit it if your VM **Name** contains spaces or special characters.
  {% endhint %}
  {% endstep %}

{% step %}
**Step 5:** From the **Type** radio buttons, select **From Template**.
{% endstep %}

{% step %}
**Step 6:** Select the **Power on** check-box. If you want the VM to power on right after its creation,
{% endstep %}

{% step %}
**Step 7:** In the ***Templates*** section, select the template you want to use for your VM, depending on your requirement (OS type and VM size).

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2F0UUcn6ir0xMyjPnn8rcS%2Fimage.png?alt=media&#x26;token=075645e3-ea3e-49b4-9d89-7e92e959f55f" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Step 8:** Select **Storage Policy**
{% endstep %}

{% step %}
**Step 9:** Select **Network**, **Network adapter Type**, **IP mode** for VM

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FQfYv3mhx0lvJlejt4oPE%2Fimage.png?alt=media&#x26;token=5200ae10-0eb4-4752-bbca-bcab998dc9e5" alt=""><figcaption></figcaption></figure>

<mark style="color:red;">**Attention**</mark><mark style="color:red;">:</mark> If using the Linux template, you can change the default password or SSH public key (optional)

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FHoODRzvolosABALcY94l%2Fimage.png?alt=media&#x26;token=8f6407f9-8fc5-45f4-911d-19976082d245" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Step 10:** Click **OK** to save the virtual machine's settings and start the creation process.

<mark style="color:red;">**Attention:**</mark>

* After the creation is completed using a Windows template, you will see this screen in the first boot.
* Remember: **DO NOT TOUCH** on anything. Let it be completed by itself.

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FxXYYh57odOg36ef7jOf8%2Fimage.png?alt=media&#x26;token=72ed2775-76fe-41c1-a30f-4030e7d7a9b3" alt=""><figcaption></figcaption></figure>

<mark style="color:red;">**Attention:**</mark>&#x20;

* Just wait for it to restart (about 3 minutes) to apply your specific configuration (IP, hostname,…).
* When you see the Login screen, you can get control from now.

<figure><img src="https://3953927389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbvay7AR0CH8vZKgD3dSy%2Fuploads%2FzSMqDE2axa4RoUR91l5R%2Fimage.png?alt=media&#x26;token=b3202d7b-71b3-485f-8a6e-01b5c3dfe820" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}
