> For the complete documentation index, see [llms.txt](https://docs.ionos.com/cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ionos.com/cloud/backup-and-storage/block-storage/how-tos/set-up-block-storage.md).

# Set Up Block Storage

How to add, configure, and provision IONOS CLOUD Block Storage volumes for servers and Cubes, including authentication, CD-ROM drives, and live vertical scaling.

Storage space can be added to your [<mark style="color:blue;">Virtual Machine (VM)</mark>](https://docs.ionos.com/cloud/support/general-information/glossary-of-terms#virtual-machine-vm) by using storage elements in your [<mark style="color:blue;">Virtual Data Center (VDC)</mark>](https://docs.ionos.com/cloud/support/general-information/glossary-of-terms#virtual-data-center-vdc). Storage name, availability zone, size, OS image, and start options are configurable for each element.

{% stepper %}
{% step %}

## Add storage to a server or a cube

1\. Drag the **Storage** element from the **Palette** onto a **Server** or a **Cube** in the Workspace to connect them together. The highlighted VM will expand with a storage section.

2\. Click the **Storage** to highlight the storage section. You can now see new options in the **Inspector** on the right.

{% hint style="info" %}
**Note:** You cannot change the storage type after provisioning.
{% endhint %}
{% endstep %}

{% step %}

## Configure storage

1\. **Name:** Enter a name that is unique within your VDC.

2\. **Availability Zone:** Select a zone in which you want the storage device to be maintained. When you select A (Auto), the system assigns the optimal Zone. The [<mark style="color:blue;">Availability Zone</mark>](https://docs.ionos.com/cloud/support/general-information/glossary-of-terms#availability-zone) cannot be changed after [<mark style="color:blue;">provisioning</mark>](https://docs.ionos.com/cloud/support/general-information/glossary-of-terms#provisioning).

3\. **Size in GB:** Specify the required storage capacity. The size can be increased after provisioning, even while the [<mark style="color:blue;">server</mark>](#add-storage-to-a-server-or-a-cube) is running, if this is supported by its operating system. Reducing the storage size after provisioning is impossible.

4\. **Performance:** From the drop-down list, select the performance class: **Essential**, **Balanced**, or **Performance**. For information on which storage type to choose, see [<mark style="color:blue;">Storage Performance</mark>](/cloud/backup-and-storage/block-storage/overview/storage-performance.md).

5\. ***(Optional)*** **Image:** Choose from available <code class="expression">space.vars.ionos\_cloud</code> offered images, <code class="expression">space.vars.ionos\_cloud</code> offered [<mark style="color:blue;">Linux Images</mark>](/cloud/backup-and-storage/images-snapshots/public-images/rhel-images.md), [<mark style="color:blue;">Microsoft Images</mark>](/cloud/backup-and-storage/images-snapshots/public-images/microsoft-sql-server-images.md), or upload your own. If you do not select an image, you can create an empty storage volume.

6\. **Boot from Device:** Select this option to designate the storage volume as the start device for the server. When enabled, choose a **Bus Type** from the drop-down list: **VirtIO** (recommended for full InfiniBand performance) or **IDE** (for troubleshooting when the operating system has no VirtIO drivers installed).

![Adding a storage element onto a Server or a Cube](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-2648b1cd571491f9cfdcab4f2a276e57e2c0433b%2Fadd-storage.png?alt=media)
{% endstep %}

{% step %}

## Authentication

1\. **Password:** Set the root or administrator password for your server according to the guidelines. This is recommended for both operating system types.

2\. **SSH Keys:** Select an [<mark style="color:blue;">SSH key</mark>](https://docs.ionos.com/cloud/support/general-information/glossary-of-terms#secure-shell-ssh-keys) stored in the SSH Key Manager.

3\. **Ad-hoc SSH Keys:** Copy and paste the public part of your SSH key into this field.

4\. **Storage Volume:** Select the storage volume from which the server is to start, and use the action that marks it as the start device.
{% endstep %}

{% step %}

## Provision your changes

1\. ***(Optional)*** Add and configure further storage elements.

2\. ***(Optional)*** Make further changes to your data center.

3\. Provision your changes.
{% endstep %}
{% endstepper %}

{% hint style="success" %}
**Result:** The storage device is now provisioned and configured according to your settings.
{% endhint %}

## Alternative mode to add a storage

{% stepper %}
{% step %}

## Add storage to a server

1\. Drag the **Dedicated Core** or **vCPU Server** element from the **Palette** into the Workspace.

2\. In the **Inspector** pane on the right, configure the **Storage**.

![Select server and configure storage](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-d873bc943316e3802c81847b60a9ba2451134aaa%2Fselect-server.png?alt=media)
{% endstep %}

{% step %}

## Configure storage

* **VirtIO Driver:** It is recommended to always use [<mark style="color:blue;">VirtIO</mark>](/cloud/backup-and-storage/block-storage/how-tos/install-windows-virtio-drivers.md) to benefit from the full performance of InfiniBand. **IDE** is intended for troubleshooting if, for instance, the operating system has no VirtIO drivers installed. In this case, Windows usually displays a "blue screen" when starting.

![Add storage using the Inspector](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-38a7fdcb976cb61c49cf76c8346738ced7606d46%2Fadd-storage-using-inspector.png?alt=media)
{% endstep %}

{% step %}

## Add a CD-ROM drive

To assign an image and specify a startup device, you must add and configure a storage element.

1\. **CD-ROM:** Click on CD-ROM to add a CD-ROM drive so that you can use ISO images to install and configure an operating system from scratch.

2\. **Network:** Set up a network by connecting the server to other elements, such as an internet access element or other servers through their NICs.
{% endstep %}

{% step %}

## Provision your changes

1\. ***(Optional)*** Make further changes to your data center.

2\. ***(Optional)*** Add and configure further storage elements.

3\. Provision your changes.

{% hint style="success" %}
**Result:** The storage device is now provisioned and configured according to your settings.
{% endhint %}
{% endstep %}
{% endstepper %}

## Next steps: Live vertical scaling

After provisioning, the [<mark style="color:blue;">Live Vertical Scaling</mark>](https://docs.ionos.com/cloud/support/general-information/glossary-of-terms#live-vertical-scaling) properties of the selected image are displayed. You can make changes to these properties later, which will require a restart. You can set the properties of your uploaded images before you apply them to storage volumes in the Image Manager.

![Live Vertical Scaling](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-89b1af10f802a6685e3da2e757ca22f9a5a64c07%2Fadd-storage-live-vertical-scaling.png?alt=media)


---

# 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.ionos.com/cloud/backup-and-storage/block-storage/how-tos/set-up-block-storage.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.
