# Create a Data Disk

## Prerequisite

You can only attach the disk to an instance in the same location.

## Procedures

### Step 1 - Configuration

1. Log in to [**zenConsole**](https://console.zenlayer.com/).
2. Go to **Compute** > **Virtual Machine** > **Data Disk** and click **Create Data Disk**.
3. Choose a pricing model of your data disk.
4. Select an existing instance to attach.\
   You can attach the disk to another instance in the same location at any time after creation.
5. Configure the disk size.\
   The storage space of the data disk ranges from 20 GB to 2000 GB.
6. Configure the quantity.
7. Label your disk to identify.
8. *<mark style="color:green;">(Optional)</mark>* Assign your data disk to a resource group in **More Settings**.

### Step 2 - Check out

For subscription resources, you need to choose a subscription term from 1 to 5 months.

Review order details and apply pro code if you have.

Check resources and price, read and check the permissions, and click **Confirm Order**.


---

# 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.console.zenlayer.com/welcome/virtual-machine/get-started/virtual-machine-instance/create-a-data-disk.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.
