resty-redis-cluster icon indicating copy to clipboard operation
resty-redis-cluster copied to clipboard

Connecting to Aws Elastic cache - redis (Cluster enabled) configuration end point

Open AnoopPutta opened this issue 3 years ago • 3 comments

Hi @steve0511, i see from the examples that the we need to provide all the nodes of the cluster in the configuration. But with AWS redis elastic cache (cluster enabled) all that AWS provide is just the configuration end point. Does the code automatically discover the nodes from this? Please advice.

AnoopPutta avatar Nov 16 '21 05:11 AnoopPutta

You don't need to list all nodes in the cluster. As long as the cluster is operational / in good state, each node will know of all the other nodes.

If you use the configuration endpoint provided by AWS, that should be enough for the redlis-client to identify which nodes are part of the cluster.

toredash avatar Nov 16 '21 07:11 toredash

Hi @AnoopPutta, were you able to connect to AWS elastic cache instance ? I continuously get timeout issues though i have tried out configuration examples.

icodetlrn avatar Jan 17 '23 05:01 icodetlrn

Hi, I am not using this anymore. Sorry cannot help much.

AnoopPutta avatar Jun 20 '23 04:06 AnoopPutta