> 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/managing-instance/shelve-stop-and-release-resources.md).

# Shelve (Stop and release resources):

{% hint style="info" %}
ระหว่างที่ Compute Instance อยู่ในสถานะ Shelved จะไม่มีการคิดเงิน Machine Type แต่การคิดเงินอื่นๆ เช่น Image License, Volume และ External IP จะยังคงคิดเงินตามปกติ
{% endhint %}

{% hint style="warning" %}
การ Shelve Compute Instance จะเป็นการคืน resource สู่ระบบ ทำให้มีความเสี่ยงที่จะทำให้ไม่สามารถ Start Compute Instance กลับมาได้ทันที หาก Machine Type ของ Compute Instance มี Resource ไม่เพียงพอ

หากต้องการหลีกเลี่ยงความเสี่ยงนี้ ให้เลือกใช้ Function [Shut Off (Stop with resource reservation)](/ncs-documents/compute/compute-instance/managing-instance/shut-off-stop-with-resource-reservation.md)แทน
{% endhint %}

## Prerequisite

* ต้องมียอดคงเหลือใน Project มากกว่า 0 บาท หากไม่มีเงินอยู่ใน Project ศึกษาวิธีเติมเงินได้ที่ [ขั้นตอนการเติมเงินเข้าสู่ Project](/ncs-documents/nipa-cloud-space-overview/billing-and-wallet/topup-a-project-wallet.md)
* ต้องมี Compute Instance ที่อยู่ใน status เป็น Active

## Instuctions

### 1. เข้าสู่หน้า Compute Instance

ที่แถบเมนูทางซ้าย คลิกเลือกเมนู​ COMPUTE > Compute Instance เพื่อเข้าสู่หน้า Compute Instance list&#x20;

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

### 2. สั่ง Shelve Compute Instance&#x20;

ที่หน้า Compute Instance list เลื่อนหน้าจอไปทางขวามือสุด เพื่อให้เห็นปุ่ม "MORE"

คลิกปุ่ม "MORE" และเลือกเมนู "Shelve Compute Instance"

<figure><img src="/files/4XuWheAuyTF1aTSDYb0x" alt=""><figcaption></figcaption></figure>

หรือเข้าผ่านหน้า Compute Instance detail โดยคลิกที่ชื่อ Compute Instance ที่ต้องการในหน้า Compute Instance list&#x20;

ในหน้า Compute Instance detail เลือก "STOP" อยู่ที่แถบ menu ด้านบน และเลือก "Shelve Compute Instance" ดังภาพ

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

การ Shelve Compute Instance จะทำให้ไม่มีการคิดเงินค่า Machine Type ของ Compute Instance (Volume และ External IP ยังคงคิดเงินตามปกติ)

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

คลิกปุ่ม "Shelve" เพื่อยืนยันการ Shelve Compute Instance

### 3. รอให้ status ของ Compute Instance กลายเป็น Shutoff

ระบบจะแสดงหน้าเดิมก่อนเข้าสู่ Shelve Compute Instance&#x20;

เมื่อ status ของ instance กลายเป็น "Shelve" หรือ "Shelved Offloaded" ก็เสร็จเรียบร้อย

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

{% hint style="warning" %}
Volume ที่ Attach ไว้กับ Compute Instance ที่ถูก Shelve จะเปลี่ยน Attach State เป็น Reserved และไม่สามารถ Detach หรือ Delete ได้จนกว่าจะ Start Compute Instance กลับมา
{% endhint %}


---

# 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/managing-instance/shelve-stop-and-release-resources.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.
