> For the complete documentation index, see [llms.txt](https://docs.console.zenlayer.com/welcome/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.console.zenlayer.com/welcome/cn/elastic-compute/get-started/manage-storage/attach-a-disk.md).

# 绑定磁盘

您可以在创建实例时或创建后添加存储。

{% hint style="info" %} <mark style="color:blue;">**注意**</mark>

* <mark style="color:blue;">最多可以绑定 1 块磁盘来扩展实例存储。</mark>
* <mark style="color:blue;">只能绑定与实例处于同一可用区的磁盘。</mark>
  {% endhint %}

## 操作步骤

1. 通过以下任一方式进入 **添加存储**：

   * **弹性计算实例** > **操作** > **实例设置** > **添加存储**
   * **实例详情** > **信息** > **存储** > **添加存储**
   * **磁盘** > **操作** > **绑定**

   <div align="left"><figure><img src="/files/gu3q9kgWIFFOgi1QniZa" alt="" width="375"><figcaption></figcaption></figure></div>
2. 选择所需的磁盘并点击 **确认** 进行绑定。如果没有所需磁盘，点击 **新建磁盘** 来创建新的磁盘。\
   详细步骤请参阅 [**创建磁盘**](/welcome/cn/elastic-compute/get-started/manage-storage/create-a-disk.md)。

## 下一步操作

绑定后，磁盘默认处于离线状态。请访问您的实例并初始化磁盘。详细步骤请参阅 [**初始化磁盘**](/welcome/cn/elastic-compute/get-started/manage-storage/initialize-a-disk.md)。


---

# 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.console.zenlayer.com/welcome/cn/elastic-compute/get-started/manage-storage/attach-a-disk.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.
