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

2

6

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?

Marciemarcile answered 15/2, 2019 at 23:13 Comment(0)
V
3

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.

Vevina answered 15/2, 2019 at 23:34 Comment(0)
C
2

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.

Corinacorine answered 21/2, 2019 at 13:46 Comment(4)
Is this use case supported now? I have two App Engine projects (one production, and one for development) that I'd like to share the same Cloud Memorystore and same Serverless VPC Access, since the development project is only lightly used.Gayden
@Corinacorine any update here? I see the documentation now says it's possible, but the documentation is very light and doesn't give instructions. For my use case, I'd like to share a Redis instance in a App Engine Flexible project with another project that uses Kubernetes. Is that possible? Not clear from the documentation.Bedad
@Gopal, do you have any answer to this? I'm trying to do something related but they are on the same Project, I'm trying to connect 2 different services on different clusters on the same project with no luck, some advice would be appretiatedHorny
Want to do the same.. any updates?Fielder

© 2022 - 2024 — McMap. All rights reserved.