Set up the redis service
We support Redis versions 2.8 and 3.0.
Redis 3.0 supports up to 64 different databases per instance of the service, while 2.8 allows for only a single database
The format exposed in the
You can also use the following:
.magento.app.yaml, configure the relationship and enable the PHP redis extension if you are using PHP:
You can then use the service in a configuration file of your application as follows:
redis-cli to access your Redis service
Assuming your Redis relationship is named
redis, you can access it by opening an SSH tunnel to a host named
redis.internal using the redis-cli tool.
redis-cli -h redis.internal