An example for connecting to MemoryDB cluster with TLS and password auth enabled for both npm io-redis & node-redis
- Create a cluster of MemoryDB for Redis
git clone https://github.com/Josh-Chang/aws-memorydb-connect
cd aws-memorydb-connect
yarn
- add your own .env file
node index_ioredis.mjs
node index_noderedis.mjs