In App Design Center, you can configure a Memorystore for Redis Cluster to provide horizontally scalable, high-availability Redis caching that shards data across primary nodes and replicates it across optional replica nodes. You can customize the cluster's component connections and configuration parameters based on the terraform-google-memorystore Terraform module.
Component connections
The following table includes the components that you can connect to a Memorystore for Redis Cluster, and the resulting updates to your application and its generated Terraform code.
Connected component |
Application updates |
Background information |
|---|---|---|
|
Connect to a Memorystore for Redis Cluster | |
|
Connect to a Memorystore for Redis Cluster | |
|
Connect to a Memorystore for Redis Cluster | |
VPC Network |
|
Networking setup guidance |
Required configuration parameters
If your template includes a Memorystore for Redis Cluster component, you must configure the following parameters before you deploy.
Parameter name |
Description and constraints |
Background information |
|---|---|---|
Name |
name | Create instances |
Project ID |
The project where you want to deploy the Memorystore for Redis Cluster resource. |
Configure components |
Region |
locationId | Supported regions |
Network |
network | Networking setup guidance |
Optional configuration parameters
The following parameters are optional. To display advanced parameters, in the Configuration area, select Show advanced fields.
Cross region replication parameters
Parameter name |
Description and constraints |
Background information |
|---|---|---|
Cluster Role |
clusterRole | About cross-region replication |
Primary Cluster |
primaryCluster | About cross-region replication |
Secondary Clusters |
secondaryClusters | About cross-region replication |
For instructions on performing cross-region replication operations—such as attach, switchover, and detach—see the Terraform google_redis_cluster resource documentation.