GCP托管笔记本连接到Memorystore

huangapple go评论51阅读模式
英文:

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进行网络连接。

Vertex AI:设置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.

Vertex AI: Set up VPC Network Peering

huangapple
  • 本文由 发表于 2023年6月9日 08:23:43
  • 转载请务必保留本文链接:https://go.coder-hub.com/76436464.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定