# Attach Volume

You can attach a volume to an instance for persistent block storage such as databases. The attached volume retains the data from the instance even after the instance is destroyed. You can attach a volume to one instance at a given time.

You must be a self-service user or an administrator to perform this operation.

{% hint style="success" %}
**Tip**

You can attach multiple volumes to one instance.
{% endhint %}

To attach a volume to an instance, follow the steps given below.

1\. Log in to Clarity.

2\. Click Volumes and Snapshots in the left panel.

3\. Select the checkbox for the volume to attach from the list of volumes.

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

4\. Click Attach Volume on the toolbar seen above the list of volumes.

5\. Select the option for the instance to which you want to attach the selected volume.

6\. Click Attach Volume.

The volume is attached to the instance.


---

# 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.platform9.com/managed-openstack/5.8/volumes-and-snapshots/storage-attach-volume.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.
