How to connect to AWS Redis cluster
We can use redis-cli utility to connect to a Redis cluster.
First of all we need to install this tool in local system. Make sure that gcc is already installed as we are using source compilation.
#wget http://download.redis.io/redis-stable.tar.gz
#tar xvzf redis-stable.tar.gz
#cd redis-stable
#make distclean // ubuntu systems only
#make
Now the tool is ready for use and the command scripts are available in the src folder inside current working directory.
#src/redis-cli -c -h host -p port
Here we need to replace host and port with the appropriate values for the cluster that need to connect.
The default port number will be 6379.
That's all..