Redis
Deploy and connect to Redis databases in Sealos DevBox
Redis is a popular, open-source in-memory data structure store that can be used as a database, cache, message broker, and queue. In Sealos DevBox, you can easily set up and connect to Redis databases for your development projects.
Deploy Redis in Sealos
Sealos makes it easy to deploy a Redis database with just a few clicks. Follow these steps:
From the Sealos desktop, click on the "Database" icon to open the Database app.
Click on the "Create New Database" button. In the deployment form:
- Select "Redis" as the database type.
- Choose the desired Redis version (e.g., redis-7.0.6).
- Enter a name for your database (use lowercase letters and numbers only).
- Adjust the CPU and Memory sliders to set the resources for your database.
- Set the number of replicas (1 for single-node development and testing).
- Specify the storage size (e.g., 1 Gi).
Review the projected cost on the left sidebar. Click the "Deploy" button in the top right corner to create your Redis database.
Once deployed, Sealos will provide you with the necessary connection details.
Connect to Redis in DevBox
Here are examples of how to connect to your Redis database using different programming languages and frameworks within your DevBox environment:
Edit on GitHub
Last updated on