Compute instances unable to reach Memorystore Redis

Problem

Compute resources are unable to connect to your Memorystore Redis instance when connecting directly from a peered network with a method such as telnet on port 6379.

Environment

  • Client IPs aren't in the RFC 1918 address range
  • Connection methods include but are not limited to telnet, redis-cli
  • Connecting from a VPC peered to the Memorystore Redis instance's VPC

Solution

  1. Memorystore for Redis only supports RFC 1918 addresses for incoming client connections.
  2. If you require to use non-RFC 1918 addresses, please contact support.

Cause

Clients with non-RFC 1918 private IP addresses are not supported to access Cloud Memorystore for Redis instances due to internal firewall rules within the tenant project.