Reputation: 143
I have a memorystore running in region A and I have a compute engine VM running in region B. AND I am not able to connect to memorystore(A) from my VM(B).
I am trying the connection via just telnet the port of memorystore i.e 6379 from my VM in region B.
I have read the Google Docs and find out that you can only connect to your Redis instance from Compute Engine VM instances that are in the same region and use the same VPC network as your instance.
But why is it so?. Can't there a way to connect to memorystore from VM running in multiple regions
Upvotes: 2
Views: 638
Reputation: 2652
Currently, you can only connect to a Cloud Memorystore for Redis instance from resources in the same region as your instance. The fact that the connections should come from the same region as the resource is a requirement of Memorystore.
However, there is an open feature request to enable connections from different regions. Even though there is no specific timelines provided, you can track its status here.
Upvotes: 2