CloudEstimate

Size Apache Kafka via Confluent Platform on Google Cloud

Medium — 50 to 150 MB/s ingress or larger retained topic footprints

Monthly cost

$4,735.71

Annual cost

$56,828/year

Line-item breakdown

Compute $3,045.71
Storage $1,690.00
Other $0.00
Arm64 option (Google Axion (C4A)) $4,705.48/mo

Saves $30.22/mo (1%) across c4a-standard-16, c4a-standard-4, c4a-standard-2.

Components provisioned

Role Instance vCPU GB RAM Storage
Broker 4 × n4-standard-16 16 64 4 TB ssd
Kraft Controller 3 × n4-standard-4 4 16 100 GB ssd
Connect 2 × n4-standard-4 4 16 100 GB ssd
Schema Registry 2 × n4-standard-2 2 8 50 GB ssd
Control Center 1 × n4-standard-4 4 16 300 GB ssd

Why this sizing

This regional-cluster deployment on Google Cloud supports Apache Kafka workloads with ingress throughput between 50 and 150 MB/s. Compute is the primary cost driver at three thousand forty-five dollars and seventy-one cents per month out of a total four thousand seven hundred thirty-five dollars and seventy-one cents. The architecture uses four n4-standard-16 instances for brokers with four thousand gigabytes of storage to maintain the retained topic footprints.

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" "broker_1_data" {
  count = 4
  name  = "apache-kafka-confluent-platform-broker-1-data-${count.index + 1}"
  type  = "hyperdisk-balanced"
  zone  = local.zones[count.index % length(local.zones)]
  size  = 4000
}

resource "google_compute_instance" "broker_1" {
  count        = 4
  name         = "apache-kafka-confluent-platform-broker-1-${count.index + 1}"
  machine_type = "n4-standard-16"
  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"
  }

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

  labels = {
    app  = "apache-kafka-confluent-platform"
    role = "broker"
  }
}

resource "google_compute_disk" "kraft_controller_2_data" {
  count = 3
  name  = "apache-kafka-confluent-platform-kraft-controll-data-${count.index + 1}"
  type  = "hyperdisk-balanced"
  zone  = local.zones[count.index % length(local.zones)]
  size  = 100
}

resource "google_compute_instance" "kraft_controller_2" {
  count        = 3
  name         = "apache-kafka-confluent-platform-kraft-controll-${count.index + 1}"
  machine_type = "n4-standard-4"
  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.kraft_controller_2_data[count.index].id
    mode   = "READ_WRITE"
  }

  labels = {
    app  = "apache-kafka-confluent-platform"
    role = "kraft-controller"
  }
}

resource "google_compute_disk" "connect_3_data" {
  count = 2
  name  = "apache-kafka-confluent-platform-connect-3-data-${count.index + 1}"
  type  = "hyperdisk-balanced"
  zone  = local.zones[count.index % length(local.zones)]
  size  = 100
}

resource "google_compute_instance" "connect_3" {
  count        = 2
  name         = "apache-kafka-confluent-platform-connect-3-${count.index + 1}"
  machine_type = "n4-standard-4"
  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.connect_3_data[count.index].id
    mode   = "READ_WRITE"
  }

  labels = {
    app  = "apache-kafka-confluent-platform"
    role = "connect"
  }
}

resource "google_compute_disk" "schema_registry_4_data" {
  count = 2
  name  = "apache-kafka-confluent-platform-schema-registr-data-${count.index + 1}"
  type  = "hyperdisk-balanced"
  zone  = local.zones[count.index % length(local.zones)]
  size  = 50
}

resource "google_compute_instance" "schema_registry_4" {
  count        = 2
  name         = "apache-kafka-confluent-platform-schema-registr-${count.index + 1}"
  machine_type = "n4-standard-2"
  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.schema_registry_4_data[count.index].id
    mode   = "READ_WRITE"
  }

  labels = {
    app  = "apache-kafka-confluent-platform"
    role = "schema-registry"
  }
}

resource "google_compute_disk" "control_center_5_data" {
  count = 1
  name  = "apache-kafka-confluent-platform-control-center-data-${count.index + 1}"
  type  = "hyperdisk-balanced"
  zone  = local.zones[count.index % length(local.zones)]
  size  = 300
}

resource "google_compute_instance" "control_center_5" {
  count        = 1
  name         = "apache-kafka-confluent-platform-control-center-${count.index + 1}"
  machine_type = "n4-standard-4"
  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.control_center_5_data[count.index].id
    mode   = "READ_WRITE"
  }

  labels = {
    app  = "apache-kafka-confluent-platform"
    role = "control-center"
  }
}

Related views

Sources

Reference architecture: Apache Kafka via Confluent Platform for regional-cluster, version Confluent Platform 8.x (Apache Kafka 4.x KRaft-only), retrieved November 11, 2026.

https://docs.confluent.io/platform/current/kafka/deployment.html

Pricing: Google Cloud pricing snapshot, retrieved November 29, 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 Confluent Platform 8.x self-managed production deployment guidance normalized to cloud VM shapes.

Estimate excludes Confluent Enterprise licensing, Apache Flink compute pools, Tiered Storage bucket capacity, and cross-AZ replication traffic charges.

Related workloads on Google Cloud