> ## Documentation Index
> Fetch the complete documentation index at: https://developer.upsun.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Redis 8.0 is here

We are excited to announce that **Redis 8.0** is now available for all customers.

This development comes as a direct result of Redis official [announcement](https://redis.io/blog/agplv3/) on May 1st, 2024, regarding a significant change in Redis's licensing: **Redis is back to an open-source license, adopting the AGPLv3 for Redis 8.0 onwards.**

This is fantastic news, as it allows us to once again offer the latest versions of Redis directly to you.

## What’s new in Redis 8.0?

Redis 8.0 brings a lot of improvements and new capabilities. The official "[What's New](https://redis.io/docs/latest/develop/whats-new/8-0/)" from Redis contains the full changes, here are some of the key highlights:

* **Name change:** Redis Community Edition is now **Redis Open Source**
* **Integrated modules** now part of core:
  * JSON
  * Probabilistic: Bloom, Cuckoo, Count-min sketch, Top-K, and t-digest
  * Time Series
  * [Vector sets (preview)](https://redis.io/docs/latest/develop/data-types/vector-sets/)
  * [Redis Query Engine](https://redis.io/docs/latest/develop/interact/#search-and-query) with horizontal & vertical scaling
  * All components available in Redis binary distributions
  * New config file: `redis-full.conf` for full component loading

## Redis and Valkey: The power of choice

Our commitment to Valkey remains unchanged. We were excited to offer Valkey as a robust, open-source alternative. This gives you the flexibility to choose the solution that best fits your project's needs, and feature requirements.

* **Redis:** The official release from Redis Ltd.
* **Valkey:** The community-driven, open-source fork.

It's important to note that **Redis 7.4 will never be available** due to its incompatible license.

### Getting started with Redis 8.0

Using Redis 8.0 in your project, you as simple as editing a yaml.

> [tab] Upsun
>
> First define the Redis service in your `.upsun/config.yaml` configuration file and add a relationship from your app to the Redis service:
>
> ```yaml {filename=".upsun/config.yaml",linenos=table,hl_lines=["2-7", "11-14"],linenostart=1} theme={null}
> services:
>   # Define a persistent Redis cache service
>   myrediscache:
>     type: redis-persistent:8.0
>   # Or define an ephemeral Redis service
>   # myephemeralcache:
>   #   type: redis:8.0
> applications:
>   app:
>     relationships:
>       # Name the relationship endpoint as needed by your application
>       rediscache: "myrediscache:redis"
>       # Or for the ephemeral service:
>       # ephemeralcache: "myephemeralcache:redis"
> ```
>
> You then need to deploy your updates on your [preview environment](https://docs.upsun.com/glossary.html#preview-environment), using the following command line:
>
> ```shell {filename="Terminal"} theme={null}
> git add .upsun/config.yaml
> git commit -m "Add Redis service"
> upsun push
> ```

> [tab] Platform.sh
>
> First add a Redis service in your `platform/services.yaml` with the following:
>
> ```yaml {filename=".platform/services.yaml",linenos=table,hl_lines=["2-4", "6-7"],linenostart=1} theme={null}
> # Define a persistent Redis cache service
> myrediscache:
>     type: redis-persistent:8.0
>     disk: 256 # Specify disk size in MB for persistent storage
> # Or define an ephemeral Redis service
> # myephemeralcache:
> #     type: redis:8.0
> ```
>
> And add the corresponding relationship in your `.platform.app.yaml`
>
> ```yaml {filename=".platform.app.yaml",linenos=table,hl_lines=["2-5"],linenostart=1} theme={null}
> relationships:
>     # Name the relationship endpoint as needed by your application
>     rediscache: "myvalkeycache:redis"
>     # Or for the ephemeral service:
>     # ephemeralcache: "myephemeralcache:redis"
> ```
>
> You then need to deploy your updates on your [preview environment](https://docs.platform.sh/glossary.html#preview-environment), using the following command line:
>
> ```shell {filename="Terminal"} theme={null}
> git add .platform/services.yaml .platform.app.yaml
> git commit -m "Add Redis service"
> platform push
> ```

Deploy your changes, and Upsun will provision your Redis 8.0 instance. For more detailed configuration options, please refer to our [Redis service documentation](https://docs.upsun.com/add-services/redis.html).

## Looking ahead

We're thrilled to bring Redis 8.0 to our managed services, reinforcing our commitment to providing you with powerful, flexible, and open-source solutions.

As always, if you have any questions or need assistance, don't hesitate to reach out on the [Upsun Community Forum](https://community.upsun.com/).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.