chutium
chutium

Reputation: 427

Accessing GCP Memorystore from Cloud Function

Is this possible? all cloud functions are running in us-central1, Memorystore is running in us-central1-f but with an internal IP: 10.0.0.3

I saw the docs such as https://cloud.google.com/memorystore/docs/redis/samples , no instruction for connecting from cloud function at all.

Thanks.

Upvotes: 2

Views: 3470

Answers (2)

Karolina
Karolina

Reputation: 81

You can now use Serverless VPC Access to connect from Cloud Functions to Cloud Memorystore. Here's the documentation:

https://cloud.google.com/functions/docs/connecting-vpc https://cloud.google.com/vpc/docs/configure-serverless-vpc-access

Upvotes: 5

Gopal
Gopal

Reputation: 151

We currently don't support access from Cloud Functions to Cloud Memorystore. This is something we are working on.

Upvotes: 10

Related Questions