# Block Storage

รูปแบบหนึ่งของ storage ที่จะเก็บข้อมูลเป็น block ใช้งานเป็น storage หลักของ Compute Instance ในการเก็บ OS และ software

หากเปรียบเทียบกับการใช้งานทั่วไป Volume เปรียบเสมือน disk บน PC ที่มีทั้ง Hard Disk Drive (HDD) และ Solid-State Drive (SSD) ใช้งานเป็น storage หลักของ PC ถูก read/write ข้อมูลอยู่ตลอดเวลา ทำให้ต้องให้ความสำคัญกับ IOPS (Input/Output Operation per Second) และ Throughput (จำนวน transaction/request ที่ถูกสร้างขึ้นหรือทำงานได้ในช่วงเวลาการทดสอบหนึ่งๆ) และ storage ประเภทนี้ จะเป็น storage ที่ต้องมีการ reserve พื้นที่เก็บไว้ และจะใช้ได้ไม่เกินพื้นที่นั้น ต่างจาก Object Storage ที่ไม่ต้อง reserve และใช้พื้นที่เก็บได้ไม่จำกัด

## Components

องค์ประกอบของ Block Storage ประกอบด้วย

* **Volume**: ส่วนของ storage ที่ใช้งานกับ Compute Instance ที่ถูกอ่านเขียนตลอดเวลา สามารถ transfer ให้ project อื่นได้
* **Snapshot**: ส่วนของการ Backup เก็บ state ของ Volume ไว้ สำหรับ restore หรือ สร้าง Volume ใหม่

อ่านเพิ่มเติมเกี่ยวกับ [Block Storage](https://nipa.cloud/products/nipa-cloud-iaas/nipa-space/block-storage)

## Recommendations

{% content-ref url="/pages/2Hs0bbVzXtrpkC25IXdZ" %}
[Create From Blank](/ncs-documents/storage/block-storage/managing-volume-s/create-from-blank.md)
{% endcontent-ref %}

{% content-ref url="/pages/monWufAGcglToQti8W0C" %}
[Create From an Image](/ncs-documents/storage/block-storage/managing-volume-s/create-from-an-image.md)
{% endcontent-ref %}

{% content-ref url="/pages/pUEQRnXpH3s6ZeVfSKBu" %}
[Create From a Volume](/ncs-documents/storage/block-storage/managing-volume-s/create-from-a-volume.md)
{% endcontent-ref %}

{% content-ref url="/pages/Y2zeRDqz9oz0Lh92ey5W" %}
[Transferring a Volume](/ncs-documents/storage/block-storage/managing-volume-s/transferring-a-volume.md)
{% endcontent-ref %}

{% content-ref url="/pages/oFTBzBBiKDFMo3CZSZTT" %}
[Create a Snapshot](/ncs-documents/storage/block-storage/managing-snapshot-s/create-a-snapshot.md)
{% endcontent-ref %}


---

# 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/storage/block-storage.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.
