# 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="/files/2LSiyghRrn2ARoS3MrRm" 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="/files/q5oDSKwmEOX50KungP43" 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="/files/uDpK6tLrql6XTwPgbqlk" 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="/files/Q99MirJ1F73iKZH848AJ" 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="/files/cX5wTLRKtox0ndq6plrP" 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="/files/OxRQCCjkuYPpLN3KONEt" 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="/files/S1JaKzg0q6WRgBbpL2om" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.higiocloud.vn/compute/1.-working-with-vm/create-a-virtual-machine-from-a-template.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
