Redis Cloud is a fully-managed cloud service for hosting and running your Redis dataset in a highly-available and scalable manner, with predictable and stable top performance.
The Redis Cloud dashboard can be accessed by visiting: redislabs.com/redis-cloud
Once you have subscribed to this service and located your credentials, you will need to configure your application to use the credentials for your service.
We recommend setting the following environment variables within your application runtime to connect the service to your app:
Variable Name |
Example Value |
REDISCLOUD_HOSTNAME |
pub-redis-19575.us-east-1-1.2.ec2.garantiadata.com |
REDISCLOUD_PASSWORD |
5EeMbEAhQ612RQSA |
REDISCLOUD_PORT |
19575 |
Use the OpenShift client tools to set environment variables to make your credentials available within your application runtime:
$ rhc env set REDISCLOUD_HOSTNAME=VALUE -a App_Name
$ rhc env set REDISCLOUD_PASSWORD=VALUE -a App_Name
$ rhc env set REDISCLOUD_PORT=VALUE -a App_Name
| Check out the general code examples to see how to use environment variables within your application. |
Additional documentation is available at https://redislabs.com/developers.
24/7 Toll-Free Support Hotline for paying customers