# Redis - Upgrade

## **PaaS upgrade workflow** <a href="#redisupgradeinplace-redispaasupgrade" id="redisupgradeinplace-redispaasupgrade"></a>

### Request <a href="#redisupgradeinplace-request" id="redisupgradeinplace-request"></a>

The update of a Redis PaaS is the responsibility of cegedim.cloud and can be requested via a request ticket submitted from ITCare.

Please specify a time slot to execute the upgrade and if the operation is to be carried out outside of business hours.

It is recommended that you upgrade your non-production environments first in order to estimate the downtime generated by the operation and to test your applications using the new engine version.

### Process <a href="#redisupgradeinplace-process" id="redisupgradeinplace-process"></a>

The upgrade of a Redis deployment (single-instance or high availability cluster) takes place in two fully automated steps:

* Update the operating system first if required
  * Multiple updates depending on the scenario: Debian 10 → Debian 11 → Debian 12
* Update of the Redis and Sentinel engine in the specified target version

<figure><picture><source srcset="/files/revHt1qWWqdojNlvI4u6" media="(prefers-color-scheme: dark)"><img src="/files/nmKBtbgliwJdStK34tPS" alt="" width="563"></picture><figcaption></figcaption></figure>

{% hint style="info" %}
Depending on the source and target versions of Redis, it may be necessary to first migrate the operating system to a version supported by cegedim.cloud (for more information, check OS / Redis support matrix below).
{% endhint %}

### Impacts

The duration of an update is variable and depends on:

* The topology
  * Standalone topology: Redis will be upgraded.
  * Sentinel topology: Redis and Sentinel on all nodes will be upgraded.
* The amount of operating system upgrade necessary

### Time references

* Debian operating system upgrade: 10 minutes on average
* Redis package upgrade : 5 minutes on average
* Sentinel package upgrade: 5 minutes on average

## OS / Redis support matrix

Linux distributions supported by cegedim.cloud depending on the Redis version:

| Redis version | Debian version                                     |
| ------------- | -------------------------------------------------- |
| 6.2.x         | Debian 10                                          |
| 6.2.x         | Debian 12 (deployments created after May 31, 2024) |
| 7.2.x         | Debian 12                                          |

{% hint style="info" %}
OS upgrades is required only if the PaaS Redis 6.2 was provisionned before May 31, 2024. After this date, the Redis PaaS has been updated to be deployed on Debian 12.
{% endhint %}


---

# 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://academy.cegedim.cloud/databases/redis/redis-upgrade.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.
