Memcached Cloud is a fully-managed cloud service for hosting and running your Memcached in a reliable and fail-safe manner.
The Memcached Cloud dashboard can be accessed by visiting: redislabs.com/memcached-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 |
MEMCACHEDCLOUD_PASSWORD |
XODc1qyLz4K02EBA |
MEMCACHEDCLOUD_SERVERS |
pub-memcache-18043.us-east-1-1.1.ec2.garantiadata.com:18043 |
MEMCACHEDCLOUD_USERNAME |
memcachedcloud |
Use the OpenShift client tools to set environment variables to make your credentials available within your application runtime:
$ rhc env set MEMCACHEDCLOUD_PASSWORD=VALUE -a App_Name
$ rhc env set MEMCACHEDCLOUD_SERVERS=VALUE -a App_Name
$ rhc env set MEMCACHEDCLOUD_USERNAME=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