Cloud SQL for PostgreSQL Pricing

PostgreSQL pricing

Cloud SQL for PostgreSQL pricing is composed of the following charges:

Instance pricing

Instance pricing for Cloud SQL for PostgreSQL applies only to shared-core instances. Dedicated-core instances, which can have up to 64 vCPUs and 416 GiB of memory, are charged by the number of cores and amount of memory they have. Read replicas are charged at the same rate as stand-alone instances.

Instance pricing depends on the region where the instance is located. Select your region from the dropdown on the pricing table.

HA prices are applied for instances configured for high availability, also called regional instances. Learn more.

Iowa Oregon Northern Virginia South Carolina Montréal São Paulo Belgium London Netherlands Frankfurt Singapore Sydney Mumbai Taiwan Tokyo
Monthly
Hourly
Shared-Core Machine Type Virtual CPUs RAM (GB) Maximum Storage Capacity Price (USD) Sustained Use Price (USD)
db-f1-micro* Shared 0.6 3,062 GB
db-g1-small* Shared 1.7 3,062 GB
HA db-f1-micro* Shared 0.6 3,062 GB
HA db-g1-small* Shared 1.7 3,062 GB
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.

*Shared CPU machine types (db-f1-micro and db-g1-small) are not covered by the Cloud SQL SLA.

CPU and memory pricing

For dedicated-core instances, you choose the number of CPUs and the amount of memory you want, up to 64 CPUs and 416 GiB of memory. Pricing for CPUs and memory depends on the region where your instance is located. Select your region in the dropdown on the pricing table.

HA prices are applied for instances configured for high availability, also called regional instances. Learn more.

Iowa Oregon Northern Virginia South Carolina Montréal São Paulo Belgium London Netherlands Frankfurt Singapore Sydney Mumbai Taiwan Tokyo
Monthly
Hourly
  Price (USD) Sustained Use Price (USD)
vCPUs
Memory
HA vCPUs
HA Memory
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.

Storage and networking pricing

PostgreSQL storage and networking prices depend on the region where the instance is located. Select your region in the dropdown on the pricing table.

HA prices are applied for instances configured for high availability, also called regional instances. Learn more.

Iowa Oregon Northern Virginia South Carolina Montréal São Paulo Belgium London Netherlands Frankfurt Singapore Sydney Mumbai Taiwan Tokyo
  Price
Storage
HA Storage
Network Ingress to Cloud SQL: Free
Note: Egress charges may apply on the source. For example, egress from Compute Engine is charged at the external IP addresses rate.

Egress from Cloud SQL: See Network Egress Pricing

If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.

Network Egress Pricing

When network traffic leaves a Cloud SQL instance, the charge applied depends on the destination of the traffic, and in some cases, whether a partner is involved.

Internet egress is network traffic leaving a Cloud SQL instance to a client that is not a Google product, such as using a local server to read data from Cloud SQL.

Destination Price
Compute Engine instances Within the same region: free
Between regions within North America: $0.12/GB
Between regions outside of North America: $0.12/GB
Google Products (except Compute Engine) Intra-continental: free
Inter-continental: $0.12/GB
Internet egress using Google Cloud Interconnect $0.05/GB
Internet egress (not using Google Cloud Interconnect) $0.19/GB

If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.

PostgreSQL instance pricing examples

You can use the Google Cloud Platform Pricing Calculator to get pricing estimates for your Cloud SQL instances. Here are a few example calculations:

Use case Configuration details Monthly cost Pricing Calculator
Test instance
  • db-f1-micro machine type
  • Shared CPU
  • 0.6 GB memory
  • 10 GB storage
  • Running 7 days a week, 24 hours per day
  • Not highly available
  • No backups
  • us-central1 region
$9 Pricing example
Test instance, stopped when not in use
  • db-f1-micro machine type
  • Shared CPU
  • 0.6 GB memory
  • 10 GB storage
  • Running 5 days a week, 4 hours per day
  • Not highly available
  • No backups
  • us-central1 region
$3 Pricing example
High-performance production database
  • 32 CPUs
  • 208 GB memory
  • 10,230 GB storage
  • Running continuously
  • 1,000 GB backups
  • Highly available
  • us-central1 region
$7,613 Pricing example

What's next?

Send feedback about...

Cloud SQL for PostgreSQL