# Renaming Instance

ในระหว่างการสร้าง instance จะมีช่องให้กรอกชื่อ 1 ช่อง หัวข้อ Instance Name ชื่อดังกล่าวจะถูกใช้เป็นทั้ง host name และ display name ซึ่งชื่อทั้งสองประเภทนี้ สามารถเปลี่ยนได้ใหม่ภายหลัง เอกสารฉบับนี้ จะสอนเพียงวิธีเปลี่ยน display name  &#x20;

*หากต้องการเปลี่ยน host name ให้ดำเนินการตามเอกสารดังนี้*  [*วิธีเปลี่ยน hostname ของ instance* ](https://docs-epc.gitbook.io/ncs-documents/customer-support/how-to-change-instance-hostname)

## Prerequisite&#x20;

* Instance ที่สามารถเปลี่ยนชื่อ display name ได้ คือ instance ที่มี status <mark style="color:green;">**Active**</mark> เท่านั้น       &#x20;

<figure><img src="https://1352697161-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq2BYmWTMiaonrEL8QBP2%2Fuploads%2F8GqVnKNS4W6slcL0fVp8%2Fimage.png?alt=media&#x26;token=e4680fad-1cc5-40b3-92a2-772d0bbd312f" alt=""><figcaption><p>An instance with active status</p></figcaption></figure>

<figure><img src="https://1352697161-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq2BYmWTMiaonrEL8QBP2%2Fuploads%2Fta9Q4O3Sl0QpBhmLrC8l%2Fimage.png?alt=media&#x26;token=114c1758-e541-43c9-9d87-89fa7c08b6c3" alt=""><figcaption><p>An instance with active status</p></figcaption></figure>

## Instuctions

วิธี rename instance ทำได้ทั้งหมด 3 วิธี ดังนี้ &#x20;

### วิธีที่ 1 เปลี่ยนจากเมนู instance list &#x20;

1. **คลิกปุ่ม MORE > Rename Instance** \
   คลิกปุ่ม MORE  ที่คอลัมน์สุดท้าย ของ instance ที่ต้องการเปลี่ยนชื่อ จากนั้นเลือกเมนู Rename Instance&#x20;

<figure><img src="https://1352697161-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq2BYmWTMiaonrEL8QBP2%2Fuploads%2FMudPuJVOi4zTDHXzs6Sc%2Fimage.png?alt=media&#x26;token=f8c4eb8a-7115-4041-8a62-cd2e91b9e48b" alt=""><figcaption><p>Choosing instance renaming menu</p></figcaption></figure>

2. **กรอก instance name ที่ต้องการ**\
   เมื่อเลือกเมนู Rename Instance จะปรากฏหน้าต่าง Rename Instance ขึ้นมา \
   กรอก display name ที่ต้องการลงในช่อง new name&#x20;

จากนั้นคลิกปุ่ม rename&#x20;

<figure><img src="https://1352697161-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq2BYmWTMiaonrEL8QBP2%2Fuploads%2F3scNVKeFVpTmmZpT0ZXk%2Fimage.png?alt=media&#x26;token=e28b46fa-c141-4d27-ab81-4f9e925c56d2" alt=""><figcaption><p>Filling new instance name</p></figcaption></figure>

3. **ตรวจสอบ display name ใหม่**\
   เมื่อเปลี่ยน display name สำเร็จ จะปรากฎหน้าต่างแจ้ง Renamed Instance ขึ้นมา และ display name ของ instance จะเปลี่ยนเรียบร้อยตามต้องการ

<figure><img src="https://1352697161-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq2BYmWTMiaonrEL8QBP2%2Fuploads%2F3LbWE7Upjb4yyYeZ9z6Y%2Fimage.png?alt=media&#x26;token=edfa5fa6-a0bb-4e7d-8c1c-b41360d8436a" alt=""><figcaption><p>Success modal</p></figcaption></figure>

<figure><img src="https://1352697161-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq2BYmWTMiaonrEL8QBP2%2Fuploads%2F5qmEKfZKgYtXiS1wjjEm%2Fimage.png?alt=media&#x26;token=5e7051a3-ad78-47ea-bbea-ee3a67efc4dc" alt=""><figcaption><p>Name was changed successfully</p></figcaption></figure>

### วิธีที่ 2 เปลี่ยนที่หน้า instance detail ตำแหน่งที่ 1

เมื่อคลิกชื่อ Instance Name ในหน้า intance list จะสามารถเข้าถึงหน้า instance detail ของ instance นั้น ๆ ได้ ในหน้า instance detail สามารถคลิกแก้ไข instance name ได้ตามวิธีต่อไปนี้

1. **คลิก icon รูปดินสอ ข้าง instance name**

<figure><img src="https://1352697161-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq2BYmWTMiaonrEL8QBP2%2Fuploads%2FWorJfxXgHKhW437a205e%2Fimage.png?alt=media&#x26;token=15a63155-b8b4-4df7-a587-0a581b2ee1e0" alt=""><figcaption><p>Name editing icon</p></figcaption></figure>

2. **กรอก instance name ที่ต้องการ**

ที่หน้าต่าง Rename Instance ขึ้นมาดังภาพ กรอก display name ที่ต้องการลงในช่อง input new name โดยมีเงื่อนไขเดียวกับวิธีที่ 1&#x20;

จากนั้นคลิกปุ่ม rename

<figure><img src="https://1352697161-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq2BYmWTMiaonrEL8QBP2%2Fuploads%2FkkTpPWjON1byxMEz9jie%2Fimage.png?alt=media&#x26;token=4ce06ca2-9b6a-41b3-866f-7d0a49a4b326" alt=""><figcaption><p>Filling new instance name</p></figcaption></figure>

3. **ตรวจสอบ display name ใหม่**\
   เมื่อเปลี่ยน display name สำเร็จ จะปรากฎหน้าต่างแจ้ง Renamed Instance ขึ้นมา และ display name ของ instance จะเปลี่ยนเรียบร้อยตามต้องการ

<figure><img src="https://1352697161-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq2BYmWTMiaonrEL8QBP2%2Fuploads%2F917Ig6GaKtjBwpObi4x8%2Fimage.png?alt=media&#x26;token=3b3b706b-b16e-4f0e-842c-ac61c680e744" alt=""><figcaption><p>Success modal</p></figcaption></figure>

<figure><img src="https://1352697161-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq2BYmWTMiaonrEL8QBP2%2Fuploads%2F9UqkyJcaCo89cuLFKZdq%2Fimage.png?alt=media&#x26;token=9c7f6938-181b-4416-a05a-10ac371dbd5d" alt=""><figcaption><p>Name was changed successfully</p></figcaption></figure>

### วิธีที่ 3 เปลี่ยนที่หน้า instance detail ตำแหน่งที่ 2

คลิกชื่อ instance name ที่ต้องการเปลี่ยนชื่อ เพื่อเข้าสู่หน้า instance detail ของ instance นั้น ๆ เช่นเดียวกับวิธีที่ 2&#x20;

1. **คลิกปุ่ม MORE > Rename Imstance** \
   คลิกปุ่ม MORE  ที่ใต้รายละเอียดในหน้า insance detail จากนั้นเลือกเมนู Rename Instance <br>

   <figure><img src="https://1352697161-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq2BYmWTMiaonrEL8QBP2%2Fuploads%2FJpP2UdcHBiJtaHyry5RM%2Fimage.png?alt=media&#x26;token=7b01fa8c-ff22-4846-85ad-58227083929d" alt=""><figcaption><p>Choosing instance renaming menu</p></figcaption></figure>
2. **กรอก instance name ที่ต้องการ**

ที่หน้าต่าง Rename Instance ขึ้นมาดังภาพ กรอก display name ที่ต้องการลงในช่อง input new name

จากนั้นคลิกปุ่ม rename

<figure><img src="https://1352697161-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq2BYmWTMiaonrEL8QBP2%2Fuploads%2FJxhHivNl0H5jYVQpQWVs%2Fimage.png?alt=media&#x26;token=243acbb5-b0f4-4540-bbf4-a929cef70be9" alt=""><figcaption><p>Filling new instance name</p></figcaption></figure>

3. **ตรวจสอบ display name ใหม่**\
   เมื่อเปลี่ยน display name สำเร็จ จะปรากฎหน้าต่างแจ้ง Renamed Instance ขึ้นมา และ display name ของ instance จะเปลี่ยนเรียบร้อยตามต้องการ

<figure><img src="https://1352697161-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq2BYmWTMiaonrEL8QBP2%2Fuploads%2FrLwEAw0NgfCHhUdw9Xf2%2Fimage.png?alt=media&#x26;token=1954552a-9cef-49a4-8980-3b7724d1e823" alt=""><figcaption><p>Success modal</p></figcaption></figure>

<figure><img src="https://1352697161-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq2BYmWTMiaonrEL8QBP2%2Fuploads%2FgNyHNpl9fzLRoGAsufK7%2Fimage.png?alt=media&#x26;token=483cb93d-25aa-4d21-8d8d-912c69682e6c" alt=""><figcaption><p>Name was changed successfully</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/renaming-instance.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.
