简体   繁体   English

有没有办法通过单个Compute Engine的VM实例连接多个Cloud memorystore实例

[英]Is there any way to connect multiple Cloud memorystore instances through single Compute Engine's VM instance

我需要使用云存储库的分布式缓存环境,因此我尝试创建两个云存储库实例并尝试连接VM实例

You can connect to cloud memorystore only within the same region. 您只能在同一区域内连接到云存储区。 So your distributed caches should reside in same region to be able to connect from the VM in the same region. 因此,您的分布式缓存应位于同一区域,以便能够从同一区域中的VM进行连接。 From the docs : https://cloud.google.com/memorystore/docs/redis/regions 来自文档: https//cloud.google.com/memorystore/docs/redis/regions

"You can only connect to a Cloud Memorystore for Redis instance from resources in the same region as your instance. Resources in different zones within the same region can connect, however provisioning resources in the same zone improves network performance." “您只能从与实例相同的区域中的资源连接到Redis实例的Cloud Memorystore。同一区域内不同区域的资源可以连接,但同一区域中的配置资源可以提高网络性能。”

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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