Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Redis password for AWS ElastiCache

I am using KUE, on EC2, and setting up an external ElastiCache Redis storage. It appears ElastiCache does not use password (auth), but instead relies on Security Groups. So do I need to leave the redis password (???) param empty?

redis: {
  port: 6379 //process.env.REDIS_PORT,
  host: blah.44444z.0001.usw1.cache.amazonaws.com //process.env.REDIS_HOST,
  auth: ??? //process.env.REDIS_PASS,
  options: {
  }
}
like image 277
jdog Avatar asked Dec 21 '17 04:12

jdog


People also ask

What is default password for Redis?

Starting Redis By default, the port is 6379 and there is no password.

How do I log into Redis ElastiCache?

Sign in to the AWS Management Console and open the ElastiCache console at https://console.aws.amazon.com/elasticache/ . From the navigation pane, choose Redis clusters. The clusters screen will appear with a list of Redis (cluster mode disabled) and Redis (cluster mode enabled) clusters.

What is Amazon ElastiCache for Redis?

Amazon ElastiCache for Redis is an AWS managed, Redis-compliant service that provides a high-performance, scalable, and distributed key-value data store that you can use as a database, cache, message broker, or queue.

How does AWS ElastiCache protect my data?

AWS ElastiCache and EC2 instances have mechanisms to protect against unauthorized access of your data on the server. ElastiCache for Redis also has methods of encryption for data run-in on Redis clusters. Here, too, you have data-in-transit and data-at-rest encryption methods.

How do I get Started with Amazon ElastiCache?

To use Amazon ElastiCache, you must have an active AWS account and permissions to access ElastiCache and other AWS resources. If you don't already have an AWS account, create one now. AWS accounts are free. You are not charged for signing up for an AWS service, only for using AWS services.

How to modify authentication tokens in Amazon ElastiCache?

Posted On: Oct 30, 2019 Amazon ElastiCache for Redisnow allows you to modify authentication tokens by setting and rotating new tokens. Redis authentication tokens enable Redis to require a token (password) before allowing clients to execute commands.


1 Answers

By default, there is no password for elasticache. Unless you enable it from within the "encryption in transit", it is not available as an option.

Try to remove 'auth' and see if this works.

like image 148
S Square Avatar answered Sep 18 '22 06:09

S Square