Should I open the port 16379 (bus port) for AWS Elasticache for Redis ?

0

I have a AWS Elasticache for Redis using the default port 6379. This port is configured in the Security Group attached to the cluster. The engine that I'm using is the 6.2.6

Reading the following redis documentation it's stated that:

Every Redis Cluster node requires two open TCP connections: a Redis TCP port used to serve clients, e.g., 6379, and second port known as the cluster bus port. By default, the cluster bus port is set by adding 10000 to the data port (e.g., 16379); however, you can override this in the cluster-port configuration.

The cluster-port configuration is a new configuration in Redis 7+, so it's not applicable to my use case.

Should I explicitly open the port 16379 or this cluster bus port is handled by AWS ?

已提问 1 年前602 查看次数
1 回答
1

Good day,

In terms of your question:

Should I explicitly open the port 16379 or this cluster bus port is handled by AWS?

AWS ElastiCache for Redis is a managed service, therefore, we try and handle as much as possible for our customers.

In the event you would like to provide access to your ElastiCache Redis cluster, the only requirement on your end is to ensure that the security group attached to the cluster allows port 6379 for resources that would like to access the cluster.

Please take note, opening up the ElastiCache cluster to 0.0.0.0/0, does not expose the cluster to the Internet because it has no public IP address and therefore cannot be accessed from outside the VPC. For additional information, see the article below:

https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/accessing-elasticache.html#authorize-access-vpc

I've also included the article below that provides information on how to connect to the cluster.

https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/nodes-connecting.html

Hope this answers your question.

AWS
支持工程师
已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则