This page describes the Google Cloud environments that Memorystore for Valkey supports. It also shows which requirements are necessary for connectivity, given that there are different environments and networking setups.
All supported environments
The following serverless environments don't need a Serverless VPC Access connector:
The following serverless environments need this connector:
Capabilities and requirements
The table in this section lists the following information:
- The environments that need a Serverless VPC Access connector
- The environments that support Shared VPC when an instance is provisioned in the host project
- The environments that support Shared VPC when the instance is provisioned in the service project
| Environment | Requires a Serverless VPC Access connector1 | Supports Shared VPC when the instance is provisioned in the host project and a private service access connection is established 2 | Supports Shared VPC when the instance is provisioned in the service project and a private service access connection is established 2 |
|---|---|---|---|
| App Engine flexible environment | X | ✓ | X |
| Compute Engine | X | ✓ | ✓ |
| Google Kubernetes Engine | X | ✓ | ✓ |
| App Engine standard environment | ✓ | ✓ | X |
| Cloud Run | ✓ | ✓ | ✓ |
| Cloud Run functions | ✓ | ✓ | X |
1 Some of the serverless environments listed in this section require a Serverless VPC Access connector. For more information, see Serverless VPC Access connector requirements.
2 For more information, see Networking.
Serverless VPC Access connector requirements
To connect to Memorystore for Valkey, some serverless environments require a Serverless VPC Access connector. These environments are App Engine standard environment, Cloud Run, and Cloud Run functions.
For more information and connector setup instructions for these environments, use the following links:
- App Engine standard environment: Connecting to a VPC network
- Cloud Run: Compare Direct VPC egress and VPC connectors
- Cloud Run functions: Connecting to a VPC network