> For the complete documentation index, see [llms.txt](https://docs-epc.gitbook.io/ncs-documents/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-epc.gitbook.io/ncs-documents/compute/compute-instance/what-is-os-status.md).

# What is OS Status?

## สถานะของ OS ของ instance คืออะไร

สถานะของ OS ของ Compute Instance (OS status) คือ สถานะที่แสดงให้เห็นว่า OS สามารถทำงานได้ตามปกติหรือไม่ หรือเรียกได้อีกชื่อว่า Guest OS Health

โดยสถานะของ OS ของ Compute Instance มี 2 สถานะ ดังนี้

1. HEALTHY (OS ทำงานตามปกติ)
2. UNHEALTHY (OS ไม่พร้อมใช้งานในขณะนั้น)  

สามารถดูสถานะของ OS ของ instance ได้จาก

1. หน้า Compute Instance list : ที่คอลัมน์ Status จะปรากฎอยู่เหนือ Compute Instance status

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

2. หน้า Compute Instance detail : จะปรากฎอยู่ระหว่างชื่อ Compute Instance และ Compute Instance status

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

สถานะดังกล่าว จะปรากฏขึ้นก็ต่อเมื่อ instance นั้น ๆ ได้ติดตั้ง QEMU agent แล้ว

หาก Compute Instance ยังไม่ได้ติดตั้ง QEMU agent สามารถทำได้ดังนี้ [วิธีการติดตั้ง QEMU agent](/ncs-documents/compute/compute-instance/how-to-install-qemu-guest-agent.md)

#### หมายเหตุ:

1. ควรระวังกรณี เลือก source สำหรับ launch Compute Instance ที่ไม่มี QEMU agent ติดตั้งอยู่ แต่ตั้งค่า source ว่ามี QEMU agent ดังภาพ

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

จะทำให้สถานะของ OS เป็น UNHEALTHY เสมอ จึงต้องตั้งค่า source ให้ถูกต้องตามความเป็นจริง  

2. หลังจาก launch Compute Instance หรือกระทำการใด ๆ กับ Compute Instance อาจทำให้ OS ไม่พร้อมใช้งานชั่วขณะ ซึ่งส่งผลให้ สถานะของ OS เป็น UNHEALTHY ก่อนจะกลับมาเป็น HEALTHY เมื่อดำเนินการสำเร็จ


---

# 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-epc.gitbook.io/ncs-documents/compute/compute-instance/what-is-os-status.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.
