简体   繁体   中英

Cannot Connect to Memorystore from Compute Engine Vm Instance (GCP)

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 ie 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

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 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM