Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

aws elasticache redis set and get

I am new to AWS-SDK and I am running an node.js application on an EC2 instance.

I am trying to use ElastiCache-Redis in the node.js application. However, I can not find the API of ElastiCache to make basic Redis calls. The url below did not provide anything of Redis commands.

http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/ElastiCache.html#addTagsToResource-property

What should I do to issue Redis command to ElastiCache(Redis) in aws-sdk?

like image 397
windchime Avatar asked Jul 13 '15 12:07

windchime


1 Answers

The ElastiCache API is used to start, stop & configure Redis and Memcached instances. It is not used for communicating with those instances.
In order to send commands to Redis or Memcached you need to use normal clients, here is the list of Node.js clients for Redis: http://redis.io/clients#nodejs

like image 120
Liviu Costea Avatar answered Sep 25 '22 10:09

Liviu Costea