CloudEstimate

Size Consul on Google Cloud

Medium — 500 to 5,000 registered services with ingress and mesh gateways

Monthly cost

$665.90

Annual cost

$7,991/year

Line-item breakdown

Compute $595.90
Storage $70.00
Other $0.00
Arm64 option (Google Axion (C4A)) $659.99/mo

Saves $5.91/mo (1%) across c4a-standard-2.

Components provisioned

Role Instance vCPU GB RAM Storage
Server 5 × n4-standard-2 2 8 100 GB ssd
Ingress Gateway 2 × n4-standard-2 2 8 50 GB ssd
Mesh Gateway 2 × n4-standard-2 2 8 50 GB ssd

Why this sizing

This Google Cloud sizing supports workloads handling between five hundred and five thousand registered services with ingress and mesh gateways in us-central1. Compute drives the monthly cost at this tier, totaling $595.90 across nine virtual machines while storage costs $70.00. The five-server-medium baseline topology includes quorum replication automatically, which ensures high availability for the control plane but requires managing stateful node replacement procedures.

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" "server_1_data" {
  count = 5
  name  = "consul-server-1-data-${count.index + 1}"
  type  = "hyperdisk-balanced"
  zone  = local.zones[count.index % length(local.zones)]
  size  = 100
}

resource "google_compute_instance" "server_1" {
  count        = 5
  name         = "consul-server-1-${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.server_1_data[count.index].id
    mode   = "READ_WRITE"
  }

  labels = {
    app  = "consul"
    role = "server"
  }
}

resource "google_compute_disk" "ingress_gateway_2_data" {
  count = 2
  name  = "consul-ingress-gateway-2-data-${count.index + 1}"
  type  = "hyperdisk-balanced"
  zone  = local.zones[count.index % length(local.zones)]
  size  = 50
}

resource "google_compute_instance" "ingress_gateway_2" {
  count        = 2
  name         = "consul-ingress-gateway-2-${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.ingress_gateway_2_data[count.index].id
    mode   = "READ_WRITE"
  }

  labels = {
    app  = "consul"
    role = "ingress-gateway"
  }
}

resource "google_compute_disk" "mesh_gateway_3_data" {
  count = 2
  name  = "consul-mesh-gateway-3-data-${count.index + 1}"
  type  = "hyperdisk-balanced"
  zone  = local.zones[count.index % length(local.zones)]
  size  = 50
}

resource "google_compute_instance" "mesh_gateway_3" {
  count        = 2
  name         = "consul-mesh-gateway-3-${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.mesh_gateway_3_data[count.index].id
    mode   = "READ_WRITE"
  }

  labels = {
    app  = "consul"
    role = "mesh-gateway"
  }
}

Related views

Sources

Reference architecture: Consul for five-server-medium, version Consul current production architecture guidance, retrieved April 13, 2026.

https://developer.hashicorp.com/consul/docs/architecture

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 Consul production architecture guidance and translated into VM-based planning tiers.

Estimate excludes application workload nodes, external L7 gateways, network transfer, and any HCP-managed alternatives.

Related workloads on Google Cloud