英文:
GCP managed notebook connetion to Memorystore
问题
我有一个 Redis Memorystore 实例。
我也有一个在 Vertex AI 中托管的笔记本。
将笔记本连接到 Redis 实例超时了。
我收到了以下错误信息:
> ConnectionError: 连接到 10...*:6379 时出错。连接超时。
是否需要进行任何配置,以便笔记本可以看到 Redis 实例?
英文:
I have a redis Memorystore instance.
I also have a managed notebook in vertex AI.
Connecting the notebook to the redis instance is time out.
I got:
> ConnectionError: Error 110 connecting to 10...*:6379. Connection
> timed out.
Is there any configuration I need to do so that the notebook can see the redis instance?
答案1
得分: 1
问题是MemoryStore地址是一个私有IP地址(RFC 1918)。只有在同一VPC内的系统可以连接。Vertex AI位于不同的网络中。Google提供了连接网络的对等连接。
为Vertex AI配置VPC网络对等连接,以便它可以与包含MemoryStore的VPC进行网络连接。
英文:
The problem is the MemoryStore address is a private IP address (RFC 1918). Only systems within the same VPC can connect. Vertex AI is located in a different network. Google offers peering to connect networks together.
Configure VPC network peering for Vertex AI so that it can network with the VPC that contains MemoryStore.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论