https://aws.amazon.com/getting-started/tutorials/setting-up-a-redis-cluster-with-amazon-elasticache/
After creation of REDIS cluster from elastic cache using the above link
Checklist screen shots for take check points and validated cpu utilization on master and slave nodes of Redis cluster.
TESTING REDIS ENDPONTS WITH MASTER AND SLAVE
[ec2-user@ip-172-31-34-239 redis-stable]$ ./src/redis-cli -c -h elc-tutorial.0p8iyu.clustercfg.aps1.cache.amazonaws.com:6379
Could not connect to Redis at elc-tutorial.0p8iyu.clustercfg.aps1.cache.amazonaws.com:6379:6379: Name or service not known
not connected> exit
[ec2-user@ip-172-31-34-239 redis-stable]$ ./src/redis-cli -c -h elc-tutorial.0p8iyu.clustercfg.aps1.cache.amazonaws.com -p 6379
elc-tutorial.0p8iyu.clustercfg.aps1.cache.amazonaws.com:6379> ping
PONG
elc-tutorial.0p8iyu.clustercfg.aps1.cache.amazonaws.com:6379> kufle
(error) ERR unknown command `kufle`, with args beginning with:
elc-tutorial.0p8iyu.clustercfg.aps1.cache.amazonaws.com:6379> ROLE
1) "master"
2) (integer) 114957
3) 1) 1) "10.9.2.61"
2) "6379"
3) "114957"
2) 1) "10.9.2.46"
2) "6379"
3) "114957"
elc-tutorial.0p8iyu.clustercfg.aps1.cache.amazonaws.com:6379> exit
[ec2-user@ip-172-31-34-239 redis-stable]$ ./src/redis-cli -c -h elc-tutorial-0001-001.0p8iyu.0001.aps1.cache.amazonaws.com -p 6379
elc-tutorial-0001-001.0p8iyu.0001.aps1.cache.amazonaws.com:6379> ping
PONG
elc-tutorial-0001-001.0p8iyu.0001.aps1.cache.amazonaws.com:6379> ROLE
1) "master"
2) (integer) 124576
3) 1) 1) "10.9.2.51"
2) "6379"
3) "124576"
2) 1) "10.9.2.202"
2) "6379"
3) "124576"
elc-tutorial-0001-001.0p8iyu.0001.aps1.cache.amazonaws.com:6379> exit
[ec2-user@ip-172-31-34-239 redis-stable]$ ./src/redis-cli -c -h elc-tutorial-0001-002.0p8iyu.0001.aps1.cache.amazonaws.com -p 6379
elc-tutorial-0001-002.0p8iyu.0001.aps1.cache.amazonaws.com:6379> ping
PONG
elc-tutorial-0001-002.0p8iyu.0001.aps1.cache.amazonaws.com:6379> role
1) "slave"
2) "10.9.2.191"
3) (integer) 6379
4) "connected"
5) (integer) 128158
elc-tutorial-0001-002.0p8iyu.0001.aps1.cache.amazonaws.com:6379> exit
[ec2-user@ip-172-31-34-239 redis-stable]$ elc-tutorial-0001-003.0p8iyu.0001.aps1.cache.amazonaws.com
-bash: elc-tutorial-0001-003.0p8iyu.0001.aps1.cache.amazonaws.com: command not found
[ec2-user@ip-172-31-34-239 redis-stable]$ ./src/redis-cli -c -h elc-tutorial-0001-003.0p8iyu.0001.aps1.cache.amazonaws.com -p 6379
elc-tutorial-0001-003.0p8iyu.0001.aps1.cache.amazonaws.com:6379>
elc-tutorial-0001-003.0p8iyu.0001.aps1.cache.amazonaws.com:6379> ping
PONG
elc-tutorial-0001-003.0p8iyu.0001.aps1.cache.amazonaws.com:6379> role
1) "slave"
2) "10.9.2.191"
3) (integer) 6379
4) "connected"
5) (integer) 130931
elc-tutorial-0001-003.0p8iyu.0001.aps1.cache.amazonaws.com:6379>
After creation of REDIS cluster from elastic cache using the above link
Checklist screen shots for take check points and validated cpu utilization on master and slave nodes of Redis cluster.
TESTING REDIS ENDPONTS WITH MASTER AND SLAVE
[ec2-user@ip-172-31-34-239 redis-stable]$ ./src/redis-cli -c -h elc-tutorial.0p8iyu.clustercfg.aps1.cache.amazonaws.com:6379
Could not connect to Redis at elc-tutorial.0p8iyu.clustercfg.aps1.cache.amazonaws.com:6379:6379: Name or service not known
not connected> exit
[ec2-user@ip-172-31-34-239 redis-stable]$ ./src/redis-cli -c -h elc-tutorial.0p8iyu.clustercfg.aps1.cache.amazonaws.com -p 6379
elc-tutorial.0p8iyu.clustercfg.aps1.cache.amazonaws.com:6379> ping
PONG
elc-tutorial.0p8iyu.clustercfg.aps1.cache.amazonaws.com:6379> kufle
(error) ERR unknown command `kufle`, with args beginning with:
elc-tutorial.0p8iyu.clustercfg.aps1.cache.amazonaws.com:6379> ROLE
1) "master"
2) (integer) 114957
3) 1) 1) "10.9.2.61"
2) "6379"
3) "114957"
2) 1) "10.9.2.46"
2) "6379"
3) "114957"
elc-tutorial.0p8iyu.clustercfg.aps1.cache.amazonaws.com:6379> exit
[ec2-user@ip-172-31-34-239 redis-stable]$ ./src/redis-cli -c -h elc-tutorial-0001-001.0p8iyu.0001.aps1.cache.amazonaws.com -p 6379
elc-tutorial-0001-001.0p8iyu.0001.aps1.cache.amazonaws.com:6379> ping
PONG
elc-tutorial-0001-001.0p8iyu.0001.aps1.cache.amazonaws.com:6379> ROLE
1) "master"
2) (integer) 124576
3) 1) 1) "10.9.2.51"
2) "6379"
3) "124576"
2) 1) "10.9.2.202"
2) "6379"
3) "124576"
elc-tutorial-0001-001.0p8iyu.0001.aps1.cache.amazonaws.com:6379> exit
[ec2-user@ip-172-31-34-239 redis-stable]$ ./src/redis-cli -c -h elc-tutorial-0001-002.0p8iyu.0001.aps1.cache.amazonaws.com -p 6379
elc-tutorial-0001-002.0p8iyu.0001.aps1.cache.amazonaws.com:6379> ping
PONG
elc-tutorial-0001-002.0p8iyu.0001.aps1.cache.amazonaws.com:6379> role
1) "slave"
2) "10.9.2.191"
3) (integer) 6379
4) "connected"
5) (integer) 128158
elc-tutorial-0001-002.0p8iyu.0001.aps1.cache.amazonaws.com:6379> exit
[ec2-user@ip-172-31-34-239 redis-stable]$ elc-tutorial-0001-003.0p8iyu.0001.aps1.cache.amazonaws.com
-bash: elc-tutorial-0001-003.0p8iyu.0001.aps1.cache.amazonaws.com: command not found
[ec2-user@ip-172-31-34-239 redis-stable]$ ./src/redis-cli -c -h elc-tutorial-0001-003.0p8iyu.0001.aps1.cache.amazonaws.com -p 6379
elc-tutorial-0001-003.0p8iyu.0001.aps1.cache.amazonaws.com:6379>
elc-tutorial-0001-003.0p8iyu.0001.aps1.cache.amazonaws.com:6379> ping
PONG
elc-tutorial-0001-003.0p8iyu.0001.aps1.cache.amazonaws.com:6379> role
1) "slave"
2) "10.9.2.191"
3) (integer) 6379
4) "connected"
5) (integer) 130931
elc-tutorial-0001-003.0p8iyu.0001.aps1.cache.amazonaws.com:6379>