# Resize (Change Machine Type)

## Prerequisite

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

## Instructions

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

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

<figure><img src="/files/5wQTOrU1foJAv2OUy9ko" alt=""><figcaption><p>Compute Instance list</p></figcaption></figure>

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

คลิกที่ชื่อของ Compute Instance ที่ต้องการ resize เพื่อเข้าสู่หน้า Compute Instance detail&#x20;

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

### 3. Resize Compute Instance

ในหน้า Compute Instance detail เลือกเมนู MORE >  Resize

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

### 4. เลือก Machine Type ที่ต้องการ

scroll down เพื่อเลือก Machine Type ที่ต้องการ resize จากนั้น คลิก "CONFIRM"

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

### 5. รอ status ของ Compute Instance กลับมาเป็น status เดิม

เมื่อสั่ง resize แล้ว status ของ Compute Instance จะเปลี่ยนเป็น "resizing" ระยะเวลาหนึ่ง จากนั้น จะเปลี่ยนเป็น status "active" ก็ถือว่า resize Compute Instance ได้สำเร็จ

<figure><img src="/files/kyGDyvp0wuzmp2wlurvA" alt=""><figcaption><p>confirm resize</p></figcaption></figure>

<figure><img src="/files/olCDpAJXTvxODhYcA9BK" alt=""><figcaption><p>resize complete</p></figcaption></figure>


---

# 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-epc.gitbook.io/ncs-documents/compute/compute-instance/managing-instance/resize-change-machine-type.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.
