When architecting a Redis Enterprise Software solution, there are some specific networking features that are worth your time to understand and implement.
Redis Enterprise Software (RS) supports server/instances/VMs with multiple IP addresses, as well as IPv6 addresses. RS related traffic can be logically and physically divided into internal traffic and external traffic: "Internal traffic" refers to internal cluster communications, such as communications between the nodes for cluster management purposes. "External traffic" refers to communications between the clients and the databases, as well as connections to the management UI in the browser. When only one IP address exists on a machine that serves as an RS node, it is used for both internal and external traffic.
Redis Enterprise Software (RS) provides high-performance data access through a proxy process that manages and optimizes access to shards within the RS cluster. In RS 4.4 and above, each node contains a single proxy process. Each proxy can be active and take incoming traffic or it can be passive and wait for failovers. RS allows multiple databases to be created. Each database gets an endpoint (a unique URL and port on the FQDN).
Servers used as Redis Enterprise Software (RS) nodes should ideally have all the below ports open between them for internal cluster communication purposes. In addition, ensure that the ICMP protocol is enabled for communications between the nodes. By default, the cluster assigns ports in the range of 10,000 - 19,999 to database endpoints. If you assign a specific port for a database when creating it, even outside of this range, the cluster will only verify that the assigned port is not already in use.
The cluster can be configured to support both private and public IPs to connect to database endpoints through both public and private networks. In certain environments, and especially in cloud platforms, an instance can have both: A private IP address that can be used only from within the internal network Public IP address(es) that can be used from the public network (Internet) In this case, it is possible to configure Redis Enterprise Software to expose two sets of database endpoints in order to connect to the database through both the private and the public IP addresses.
The Redis OSS Cluster API support in Redis Enterprise Software (RS) provides a simple mechanism for cluster-aware Redis clients to learn and know the cluster topology. This enables clients to connect directly to an RS proxy on the node hosting the master shard for the data being operated on. For more information, see Redis OSS Cluster API. Note: The OSS Cluster API setting is not cluster-wide. The setting only applies to the specified database.