google_ redis_ cluster cost estimation
A horizontally-scalable, sharded Redis Cluster on Memorystore. Priced per shard-node-hour by capacity, multiplied across shards and replicas.
A google_
The unit is the shard node. Total nodes are shard_
c3x reads shard_
Terraform example
A minimal but realistic configuration that C3X can estimate.
resource "google_redis_cluster" "cache" {
name = "app-cache"
region = "us-central1"
shard_count = 3
replica_count = 1
node_type = "REDIS_HIGHMEM_MEDIUM"
deletion_protection_enabled = true
}Pricing dimensions
What you actually pay for when you provision google_.
| Dimension | Unit | What's being charged |
|---|---|---|
| Shard node hours | per node-hour | Per-node rate by node_ ~$0.86/node-hour for highmem-XL in us-central1 |
| Cross-zone replication | per GB | Replication traffic between zones in HA configurations bills as network data transfer. Usage-based. |
Sample C3X output
Example output from c3x estimate (3 shards x 2 nodes = 6 highmem-XL):
google_redis_cluster.cache
└─ Shard nodes (highmem-XL x 6) 4,380 node-hours $3,758.48
OVERALL TOTAL $3,758.48Optimization tips
Common ways to reduce google_ cost without changing the workload.
Size shard count to real capacity and throughput
Per excess shard (x replicas)Each shard adds full node cost (times the replica factor). Provision shards for actual data size and ops/sec, not for round numbers. Scaling out later is online.
Use one replica unless you need read scaling
Per extra replica across shardsReplica_
Use a single instance for non-sharded workloads
Cluster overheadIf your data fits one node and you don't need horizontal scale, google_
FAQ
How does c3x estimate Memorystore Redis Cluster cost?
It multiplies shard_
How is this different from google_ redis_ instance?
google_
What drives the node count?
Shards times (1 + replicas). A 3-shard cluster with 1 replica each is 6 billed nodes. Both shard and replica counts multiply the per-node hourly rate.
Does the node type matter much?
Yes. The capacity tier (standard-small up to highmem-XL) sets the per-node rate and the memory/throughput per node. Pick the smallest tier that holds your per-shard working set.
Can I scale shards without downtime?
Yes, Memorystore Redis Cluster supports online shard scaling. Start with the shard count you need today and scale out as data grows, rather than over-provisioning upfront.
Related resources
More Google Cloud resources
Estimate this resource in your own Terraform
Free, open source, no API key. C3X parses your Terraform and shows line-item cost for every resource, including google_.