/test-elasticache

Test if elasticache works via ioredis

Primary LanguageJavaScript

Test elasticache

Resources

Purpose

  • Check if our EC2 instance can connect with elasticache

How to run

Localhost

REDIS_SESSION_DB=0 REDIS_HOST=localhost REDIS_PASSWORD=c6eakLo3p1WwbcBCmsJQ REDIS_PORT=6379 REDIS_TLS=false node index

AWS

REDIS_SESSION_DB=0 REDIS_HOST=master.test-elasticache.bmjevo.use1.cache.amazonaws.com REDIS_PASSWORD=testELASTICACHEinstance REDIS_PORT=23431 REDIS_TLS=true node index

redis-cli

redis-cli -h master.test-elasticache.bmjevo.use1.cache.amazonaws.com --tls -a testELASTICACHEinstance -p 23431 -n 0