> For the complete documentation index, see [llms.txt](https://docs.verge.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.verge.io/learn-the-platform/vi/module-8-nha-phat-trien-and-devops/08-developer-devops.md).

# Tổng quan

## Mục tiêu học tập

Kết thúc mô-đun này, bạn sẽ có thể:

* **Sử dụng REST API của VergeOS** để tự động hóa các tác vụ hạ tầng phổ biến thông qua các điểm cuối REST và công cụ CLI
* **Viết script với pyvergeos và PowerShell** để tự động hóa hàng loạt các tác vụ VM, mạng và tenant
* **Quản lý hạ tầng bằng Terraform provider** cho các triển khai khai báo, được kiểm soát phiên bản
* **Tự động hóa cấu hình với Ansible** sử dụng bộ sưu tập VergeOS cho điều phối dựa trên playbook
* **Xây dựng quy trình làm việc theo sự kiện với Task Engine** sử dụng webhook và các chuỗi tác vụ tự động
* **Triển khai Kubernetes trên VergeOS** sử dụng Docker Machine Driver, tích hợp Rancher và các thành phần VergeOS CSI/CCM

## Yêu cầu tiên quyết

* Hoàn thành [Mô-đun 1: Kiến thức cơ bản về kiến trúc](/learn-the-platform/vi/mo-dun-1-kien-thuc-co-ban-ve-kien-truc/01-architecture.md) -- hiểu biết về kiến trúc nền tảng VergeOS
* Hoàn thành [Mô-đun 6: Máy ảo](/learn-the-platform/vi/mo-dun-6-may-ao/06-virtual-machines.md) -- hiểu biết về cung cấp và quản lý VM
* Hoàn thành [Mô-đun 7: Đa thuê bao](/learn-the-platform/vi/mo-dun-7-da-thue-bao/07-multi-tenancy.md) -- hiểu biết về việc tạo tenant và phân bổ tài nguyên
* Kiến thức cơ bản về REST API, công cụ dòng lệnh và ít nhất một ngôn ngữ script (Python, PowerShell hoặc HCL/Terraform)

## Thời gian ước tính

**4 giờ** (2 giờ đọc + 2 giờ thực hành)

## Chủ đề

* [**Công cụ REST API & CLI**](/learn-the-platform/vi/module-8-nha-phat-trien-and-devops/01-api-cli.md) — Xác thực với API VergeOS, khám phá các điểm cuối, thực hiện các thao tác CRUD và sử dụng `vrg` CLI để tự động hóa bằng script.
* [**Python SDK (pyvergeos)**](/learn-the-platform/vi/module-8-nha-phat-trien-and-devops/02-python-sdk.md) — Tự động hóa các tác vụ VergeOS bằng pyvergeos: vòng đời VM, quản lý mạng, cung cấp tenant và các thao tác hàng loạt.
* [**Module PowerShell**](/learn-the-platform/vi/module-8-nha-phat-trien-and-devops/03-powershell-module.md) — Quản lý VergeOS từ môi trường Windows bằng module PowerShell PSVergeOS để viết script và điều phối.
* [**Terraform & Packer**](/learn-the-platform/vi/module-8-nha-phat-trien-and-devops/04-terraform-packer.md) — Hạ tầng dưới dạng mã theo cách khai báo với Terraform provider của VergeOS và xây dựng image bất biến với Packer.
* [**Bộ sưu tập Ansible**](/learn-the-platform/vi/module-8-nha-phat-trien-and-devops/05-ansible.md) — Quản lý và điều phối cấu hình dựa trên playbook bằng bộ sưu tập Ansible của VergeOS.
* [**Task Engine & Webhooks**](/learn-the-platform/vi/module-8-nha-phat-trien-and-devops/06-task-engine.md) — Tự động hóa theo sự kiện với task engine tích hợp sẵn, các tác vụ theo lịch và tích hợp webhook.
* [**Kubernetes & Rancher**](/learn-the-platform/vi/module-8-nha-phat-trien-and-devops/07-kubernetes-rancher.md) — Chạy Kubernetes trên VergeOS với Docker Machine Driver, tích hợp Rancher, CSI driver và Cloud Controller Manager.
* [**Thực hành: Tự động hóa hạ tầng**](/learn-the-platform/vi/module-8-nha-phat-trien-and-devops/lab.md) — Sử dụng REST API, Terraform và các công cụ viết script để tự động hóa toàn bộ quá trình cung cấp VM và tenant từ đầu đến cuối.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.verge.io/learn-the-platform/vi/module-8-nha-phat-trien-and-devops/08-developer-devops.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
