Apache Kafka via Confluent Platform
Self-managed Apache Kafka deployed with Confluent Platform for event streaming, durable logs, and integration pipelines.
Extra Small — up to 250 GB working set on a replicated operational cluster
Monthly cost
$531.90
Annual cost
$6,383/year
| Compute | $276.90 |
| Storage | $255.00 |
| Other | $0.00 |
| Role | Instance | vCPU | GB RAM | Storage |
|---|---|---|---|---|
| Replica Set Member | 3 × n2-standard-4 | 4 | 16 | 500 GB |
This sizing provides an extra small, non-highly available MongoDB replica set suitable for up to 250 GB working sets, deployed on three n2-standard-4 instances. The primary cost driver for this on-demand configuration is compute, at $0.08 monthly. The absence of high availability significantly reduces cost but introduces a single point of failure risk for the entire cluster.
Share the current URL or copy the launch Terraform baseline.
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"
zone = "us-central1-a"
}
# Generated for Google Cloud from the current estimate state.
resource "google_compute_disk" "replica_set_member_1_data" {
count = 3
name = "mongodb-enterprise-advanced-replica-set-member-1-data-${count.index + 1}"
type = "pd-ssd"
zone = "us-central1-a"
size = 500
}
resource "google_compute_instance" "replica_set_member_1" {
count = 3
name = "mongodb-enterprise-advanced-replica-set-member-1-${count.index + 1}"
machine_type = "n2-standard-4"
zone = "us-central1-a"
boot_disk {
initialize_params {
image = "projects/debian-cloud/global/images/family/debian-12"
size = 50
type = "pd-balanced"
}
}
network_interface {
network = "default"
access_config {}
}
attached_disk {
source = google_compute_disk.replica_set_member_1_data[count.index].id
mode = "READ_WRITE"
}
labels = {
app = "mongodb-enterprise-advanced"
role = "replica-set-member"
}
}
Reference architecture: MongoDB Enterprise Advanced for replica-set-small, version MongoDB Manual current self-managed production guidance, retrieved April 13, 2026.
https://www.mongodb.com/docs/manual/administration/production-notes/
Pricing: Google Cloud pricing snapshot, retrieved May 6, 2026.
Commercial pricing only. GovCloud, sovereign cloud, and discounts beyond those shown are not modelled.
Based on MongoDB self-managed production notes and common MongoDB production topologies, translated into VM-style planning baselines.
Estimate excludes Enterprise Advanced licensing, Ops Manager infrastructure, backups, analytics nodes, and cross-region disaster recovery.
Self-managed Apache Kafka deployed with Confluent Platform for event streaming, durable logs, and integration pipelines.
Self-hosted CockroachDB for resilient SQL workloads that need distributed transactions and scale-out storage.
Self-managed Confluence Data Center for enterprise documentation, knowledge bases, and collaborative editing.