> 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/databases/in-memory-db.md).

# In-Memory DB

With <code class="expression">space.vars.ionos\_cloud</code> DBaaS, you can quickly set up and manage In-Memory DB, an open-source, in-memory data structure store that stores key-values, and is compatible with the Redis® OSS API. This capability makes it a versatile choice for various applications such as databases, caches, message brokers, or streaming engines.

In-Memory DB delivers a fully managed service that combines an in-memory data store with a dynamic, real-time database. This combination leverages memory's rapid access speeds, ensuring high performance. It is particularly well-suited for frequently accessed data that rarely changes, resulting in significant reductions in load on central databases through efficient in-memory caching.

You can initiate In-Memory DB through the DCD, APIs or automation tools like Ansible and Terraform.

{% hint style="warning" %}
**Important:**

* **In-Memory DB v2**, powered by [<mark style="color:blue;">Valkey</mark>](https://valkey.io/), is now available, bringing Valkey (Redis®-compatible) engines in versions 8, 8.1, and 9. It also adds extended snapshot retention and native <code class="expression">space.vars.ionos\_cloud</code> Observability integration.
* Use **In-Memory DB v2** to create clusters using either the [<mark style="color:blue;">DCD</mark>](/cloud/databases/in-memory-db/how-tos/v2.md) or the [<mark style="color:blue;">API</mark>](https://api.ionos.com/docs/in-memory-db/v2/).
* Creation of clusters using In-Memory DB v1 is deprecated through the [<mark style="color:blue;">DCD</mark>](/cloud/databases/in-memory-db/how-tos/v1.md) and only limited operations are supported on legacy clusters.
* Creation of v1 clusters through the [<mark style="color:blue;">API</mark>](/cloud/databases/in-memory-db/api/v1-api.md) will be deprecated as of **July 31, 2026**.
* An automatic migration from v1 to v2 is impossible. You must manually migrate existing v1 clusters to the new v2 infrastructure through the v2 API. For step-by-step instructions, see [<mark style="color:blue;">Manual migration</mark>](/cloud/databases/in-memory-db/how-tos/migrate-from-v1-v2.md#manual-migration).
  {% endhint %}

## Product overview

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><mark style="color:blue;"><strong>In-Memory DB</strong></mark></td><td>Overview of In-Memory DB features and capabilities.</td><td><a href="/pages/67SEEXp8YhVpSGyg2pvS">/pages/67SEEXp8YhVpSGyg2pvS</a></td></tr></tbody></table>

## Quick links

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><mark style="color:blue;"><strong>How-Tos</strong></mark></td><td>Learn how to create and manage In-Memory DB v2 clusters through the DCD.</td><td><a href="/pages/G78vjVs95wwFYvcfLler">/pages/G78vjVs95wwFYvcfLler</a></td></tr><tr><td><mark style="color:blue;"><strong>API</strong></mark></td><td>Learn how to create, manage, and delete In-Memory DB replica sets using the In-Memory DB v2 API.</td><td><a href="/pages/zARHQcnzoDGGR61mbj2v">/pages/zARHQcnzoDGGR61mbj2v</a></td></tr><tr><td><mark style="color:blue;"><strong>Troubleshooting</strong></mark></td><td>Learn how to troubleshoot common issues with In-Memory DB.</td><td><a href="/pages/w7oN4sPtKLdwapGQx5gZ">/pages/w7oN4sPtKLdwapGQx5gZ</a></td></tr></tbody></table>

## Developer Tools

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><mark style="color:blue;"><strong>DBaaS In-Memory DB v2 Cloud API</strong></mark></td><td>Access the Cloud API documentation for In-Memory DB v2.</td><td><a href="https://api.ionos.com/docs/in-memory-db/v2/">https://api.ionos.com/docs/in-memory-db/v2/</a></td></tr><tr><td><mark style="color:blue;"><strong>DBaaS In-Memory DB v1 REST API</strong></mark></td><td>Access the REST API documentation for In-Memory DB v1.</td><td><a href="https://api.ionos.com/docs/in-memory-db/v1/">https://api.ionos.com/docs/in-memory-db/v1/</a></td></tr><tr><td><mark style="color:blue;"><strong>In-Memory DB SDKs</strong></mark></td><td>Interact with the In-Memory DB API using SDKs.</td><td><a href="https://docs.ionos.com/cloud/sdk-tools-home">https://docs.ionos.com/cloud/sdk-tools-home</a></td></tr><tr><td><mark style="color:blue;"><strong>Config Management Tools</strong></mark></td><td>Explore configuration management tools compatible with In-Memory DB.</td><td><a href="https://docs.ionos.com/cloud/reference/config-management-tools/config-management-tools">https://docs.ionos.com/cloud/reference/config-management-tools/config-management-tools</a></td></tr></tbody></table>

## Frequently Asked Questions (FAQ)

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><mark style="color:blue;"><strong>FAQ</strong></mark></td><td>Get answers to the most commonly encountered questions about In-Memory DB.</td><td><a href="/pages/ipnjWp0jAfb52Y6Pe7Yf">/pages/ipnjWp0jAfb52Y6Pe7Yf</a></td></tr></tbody></table>


---

# 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/databases/in-memory-db.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.
