> 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/renaming-instance.md).

# 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="/files/G05vtag5jte1CvFzNiTX" alt=""><figcaption><p>An instance with active status</p></figcaption></figure>

<figure><img src="/files/XFETcD35RxfVtouYjbdj" 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="/files/9qXQaeGIQTWhvsrUadbf" 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="/files/nznbOtAwabEj1TkHRyZA" alt=""><figcaption><p>Filling new instance name</p></figcaption></figure>

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

<figure><img src="/files/CrjGS5xjmO5hVSsJVzjW" alt=""><figcaption><p>Success modal</p></figcaption></figure>

<figure><img src="/files/XJLXuG6jW29PkkqFNp59" 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="/files/rq59PoWKdP8BovMjPJC1" 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="/files/9kCkTkiFXE2I76ASCrnn" alt=""><figcaption><p>Filling new instance name</p></figcaption></figure>

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

<figure><img src="/files/Nt3gXlZj0eB3VovQHKha" alt=""><figcaption><p>Success modal</p></figcaption></figure>

<figure><img src="/files/ISeunlm85gVlsoY0hXM4" 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="/files/xei2grEKrUsCRf8VVm8q" alt=""><figcaption><p>Choosing instance renaming menu</p></figcaption></figure>
2. **กรอก instance name ที่ต้องการ**

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

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

<figure><img src="/files/s3F1Pz8oQbbniZtflEuq" alt=""><figcaption><p>Filling new instance name</p></figcaption></figure>

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

<figure><img src="/files/VYbBi5sBZ1xg8WGGVolK" alt=""><figcaption><p>Success modal</p></figcaption></figure>

<figure><img src="/files/lmbRyaCdvRTpnxNVOAdl" alt=""><figcaption><p>Name was changed successfully</p></figcaption></figure>
