# Tạo máy ảo mới từ Template

## <mark style="color:green;">Tổng quan</mark>

Để đơn giản hóa việc tạo một máy ảo (VM), bạn có thể sử dụng template máy ảo dựng sẵn từ catalog.

## <mark style="color:green;">Quy trình</mark>

{% stepper %}
{% step %}
**Bước 1**: Trên màn hình bảng điều khiển **Virtual Data Center**, nhấp vào thẻ của trung tâm dữ liệu ảo mà bạn muốn truy cập, và từ bảng bên trái, chọn **Virtual Machines**.

<figure><img src="/files/2LSiyghRrn2ARoS3MrRm" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Bước 2**: Chọn **Card View** hoặc **Grid View** để xem các máy ảo.
{% endstep %}

{% step %}
**Bước 3**: Nhấp vào **New VM**

<figure><img src="/files/q5oDSKwmEOX50KungP43" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Bước 4**: Trong hộp thoại **New VM**, nhập **Name**, **Computer Name**, và **Description** cho máy ảo của bạn.

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

* **Name** là tên để nhận diện máy ảo, **Computer Name** là tên máy chủ của máy ảo.
* Tên **Computer Name** được sao chép từ trường **Name**, nhưng chỉ có thể chứa các ký tự chữ và số hoặc dấu gạch ngang, do đó bạn có thể cần chỉnh sửa nếu **Name** của máy ảo chứa khoảng trắng hoặc ký tự đặc biệt.
  {% endhint %}
  {% endstep %}

{% step %}
**Bước 5**: Từ nút chọn **Type**, chọn **From Template**.
{% endstep %}

{% step %}
**Bước 6**: Chọn ô **Power on** nếu bạn muốn máy ảo được bật ngay sau khi tạo.
{% endstep %}

{% step %}
**Bước 7**: Trong phần **Templates**, chọn template bạn muốn sử dụng cho máy ảo của mình, tùy thuộc vào yêu cầu (loại hệ điều hành và kích thước máy ảo).

<figure><img src="/files/uDpK6tLrql6XTwPgbqlk" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Bước 8**: Chọn **Storage Policy**.
{% endstep %}

{% step %}
**Bước 9**: Chọn **Network**, **Network adapter Type**, và **IP mode** cho máy ảo.

<figure><img src="/files/Q99MirJ1F73iKZH848AJ" alt=""><figcaption></figcaption></figure>

<mark style="color:red;">**Lưu ý**</mark><mark style="color:red;">:</mark> Nếu sử dụng template Linux, bạn có thể thay đổi mật khẩu mặc định hoặc khóa SSH public (optional)

<figure><img src="/files/cX5wTLRKtox0ndq6plrP" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Bước 10**: Nhấp **OK** để lưu cài đặt của máy ảo và bắt đầu quá trình tạo.

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

* Sau khi tạo xong bằng template Windows, bạn sẽ thấy màn hình này khi khởi động lần đầu.
* **Lưu ý**: **KHÔNG CAN THIỆP vào bất cứ lệnh gì. Hãy để quá trình hoàn tất tự động.**

<figure><img src="/files/OxRQCCjkuYPpLN3KONEt" alt=""><figcaption></figcaption></figure>

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

* Chỉ cần chờ máy ảo khởi động lại (khoảng 3 phút) để áp dụng cấu hình cụ thể của bạn (IP, hostname, …).
* Khi bạn thấy màn hình **Login**, bạn có thể bắt đầu kiểm soát từ đây.

<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/hi-gio-user-guide-vn/compute/1.-thao-tac-voi-vm/tao-may-ao-moi-tu-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.
