Severin Alexandru
Severin Alexandru

Reputation: 61

Is it possible to connect to Google Cloud Memorystore from another project?

I have 2 different projects (Project A and Project B) in the same region (Europe west 2). I've created one instance of Memorystore in project A. So, I'm able to connect to the Memorystore from project A, but I'm also trying to connect to the same Memorystore from project B with no success.

What I'm doing wrong? Is it even possible to connect multiple projects to the same basic Memorystore?

Upvotes: 6

Views: 3275

Answers (2)

Gopal
Gopal

Reputation: 151

We are working on enabling this use case using Shared VPC. We expect to have this available soon.

In your case I'm assuming these are two regular projects with regular VPC networks and not service projects using Shared VPC. Currently there isn't a way to do this with regular VPC.

Upvotes: 2

TasosZG
TasosZG

Reputation: 1294

No it's not possible. In the official documentation for Connecting to a Redis instance it states:

You can access Redis instances from Compute Engine VM instances, Google Kubernetes Engine clusters, and App Engine flexible environment applications within the same Google Cloud Platform project.

Upvotes: 3

Related Questions