CloudEstimate

Size Valkey on Google Cloud

Medium — 50 to 250 GB working set across a three-shard Valkey Cluster

Monthly cost

$1,170.12

Annual cost

$14,041/year

Line-item breakdown

Compute $1,042.62
Storage $127.50
Other $0.00
Arm64 option (Google Axion (C4A)) $1,160.13/mo

Saves $9.99/mo (1%) across c4a-highmem-8.

Components provisioned

Role Instance vCPU GB RAM Storage
Primary Shard 3 × n4-highmem-8 8 64 250 GB nvme

Why this sizing

This Google Cloud sizing supports a medium Valkey cluster workload with a working set between fifty and two-hundred-fifty gigabytes across three shards in the us-central1 region. The primary-shard compute instances drive the monthly cost, totaling one thousand forty-two dollars and sixty-two cents for three n4-highmem-8 virtual machines. High availability is disabled at this tier, meaning a node failure causes data loss until recovery occurs.

Export

Share the current URL or copy the Google Cloud Terraform / OpenTofu baseline.

Google Cloud Terraform / OpenTofu baseline
# Compatible with Terraform >= 1.6 and OpenTofu >= 1.6
terraform {
  required_version = ">= 1.6.0"

  required_providers {
    google = {
      source  = "hashicorp/google"
      version = "~> 6.0"
    }
  }
}

variable "project_id" {
  description = "Google Cloud project ID for this deployment."
  type        = string
  default     = "replace-with-project-id"
}

provider "google" {
  project = var.project_id
  region  = "us-central1"
}

locals {
  zones = ["us-central1-a", "us-central1-b", "us-central1-c"]
}

# Generated for Google Cloud (us-central1) from the current estimate state.
resource "google_compute_disk" "primary_shard_1_data" {
  count = 3
  name  = "valkey-primary-shard-1-data-${count.index + 1}"
  type  = "hyperdisk-balanced"
  zone  = local.zones[count.index % length(local.zones)]
  size  = 250
}

resource "google_compute_instance" "primary_shard_1" {
  count        = 3
  name         = "valkey-primary-shard-1-${count.index + 1}"
  machine_type = "n4-highmem-8"
  zone         = local.zones[count.index % length(local.zones)]

  boot_disk {
    initialize_params {
      image = "projects/debian-cloud/global/images/family/debian-12"
      size  = 50
      type  = "hyperdisk-balanced"
    }
  }

  network_interface {
    network = "default"
    access_config {}
  }

  attached_disk {
    source = google_compute_disk.primary_shard_1_data[count.index].id
    mode   = "READ_WRITE"
  }

  labels = {
    app  = "valkey"
    role = "primary-shard"
  }
}

Related views

Sources

Reference architecture: Valkey for cluster-three-shard, version Valkey 9.x Cluster & Sentinel deployment guidance, retrieved November 11, 2026.

https://valkey.io/topics/cluster-tutorial/

Pricing: Google Cloud pricing snapshot, retrieved November 22, 2026.

Commercial pricing only. GovCloud, sovereign cloud, and discounts beyond those shown are not modelled.

Not included in this estimate

  • Vendor licensing and support
  • Professional services
  • Network egress
  • Compliance controls
  • Backup storage
  • Monitoring

Based on Valkey Cluster and Sentinel topology documentation paired with standard 1:8 memory-optimized shard sizing.

Estimate excludes client-side proxy pools, cross-region replication, RDB snapshot buckets, and cross-AZ replication bandwidth charges.

Related workloads on Google Cloud