Set up Redis service
We support Redis versions 3.2 and 5.0. See Configure Redis.
You can use the following instructions for service setup on Magento Commerce Cloud Pro Integration environments and Starter environments, including
master branch. You must submit a support ticket to configure the service on Pro Production and Staging environments. See Services.
- Add the required name and type to the
1 2 myredis: type: redis:5.0
To provide your own Redis configuration, add a
core_config key in your
1 2 cache: type: redis:5.0
Configure the relationships in the
1 2 3 4 5 6
runtime: extensions: - redis relationships: redis: "redis:redis"
Add, commit, and push your code changes.
git add -A && git commit -m "Enable redis service" && git push origin <branch-name>
Using the Redis CLI
Assuming your Redis relationship is named
redis, you can access it using the
Use SSH to connect to the Integration environment with RabbitMQ installed and configured.
Open an SSH tunnel to a host.
redis-cli -h redis.internal