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 96 vCPUs and 416 GB 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.
*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 96 CPUs and 416 GB 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.
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.
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 and Cloud SQL cross-region replicas | 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 and traffic to Cloud SQL cross-region replicas) |
Intra-continental: free Inter-continental: $0.12/GB |
Internet egress using Cloud Interconnect | $0.05/GB |
Internet egress (not using Cloud Interconnect) | $0.19/GB |
What's next?
- Refer to the Pricing Overview documentation.
- Visit the pricing examples page to see how you can calculate your potential costs.
- Try the Pricing Calculator.
- Learn more about instance settings.
- Learn more about the high availability configuration.