CloudEstimate

Size EDB Postgres Advanced Server on Google Cloud

Extra Small — up to 250 GB database size for light OLTP

Monthly cost

$231.95

Annual cost

$2,783/year

Line-item breakdown

Compute $138.45
Storage $93.50
Other $0.00

Components provisioned

Role Instance vCPU GB RAM Storage
Primary 1 × n2-standard-4 4 16 500 GB
Connection Pooler 1 × n2-standard-2 2 8 50 GB

Why this sizing

This Extra Small tier supports up to a 250 GB database for light OLTP workloads on a single primary instance. The primary cost driver is the n2-standard-4 compute instance, which provides 4 vCPUs and 16 GB RAM. A key tradeoff is the absence of high availability, meaning no automatic failover in case of instance failure. The n2-standard-2 instance is likely for a management or utility function, given its smaller size and minimal cost contribution.

Export

Share the current URL or copy the launch Terraform baseline.

Google Cloud 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" "primary_1_data" {
  count = 1
  name  = "edb-postgres-advanced-server-primary-1-data-${count.index + 1}"
  type  = "pd-ssd"
  zone  = "us-central1-a"
  size  = 500
}

resource "google_compute_instance" "primary_1" {
  count        = 1
  name         = "edb-postgres-advanced-server-primary-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.primary_1_data[count.index].id
    mode   = "READ_WRITE"
  }

  labels = {
    app  = "edb-postgres-advanced-server"
    role = "primary"
  }
}


resource "google_compute_disk" "connection_pooler_2_data" {
  count = 1
  name  = "edb-postgres-advanced-server-connection-pooler-2-data-${count.index + 1}"
  type  = "pd-ssd"
  zone  = "us-central1-a"
  size  = 50
}

resource "google_compute_instance" "connection_pooler_2" {
  count        = 1
  name         = "edb-postgres-advanced-server-connection-pooler-2-${count.index + 1}"
  machine_type = "n2-standard-2"
  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.connection_pooler_2_data[count.index].id
    mode   = "READ_WRITE"
  }

  labels = {
    app  = "edb-postgres-advanced-server"
    role = "connection-pooler"
  }
}

Related views

Sources

Reference architecture: EDB Postgres Advanced Server for single-primary-small, version EPAS 18 requirements with current HA deployment guidance, retrieved April 13, 2026.

https://www.enterprisedb.com/docs/epas/latest/planning/planning_prerequisites/epas_requirements/

Pricing: Google Cloud pricing snapshot, retrieved May 6, 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 EDB Postgres Advanced Server requirements and public high-availability guidance, translated into VM-based planning tiers.

Estimate excludes backup storage, WAL archiving, tuning-specific IOPS requirements, logical replication, and any separate management tooling.

Other workloads on Google Cloud