AlloyDB for PostgreSQL pricing
This page contains information about pricing for AlloyDB for PostgreSQL.
Pricing for AlloyDB for PostgreSQL is transparent and predictable, with no expensive, proprietary licensing and no opaque I/O charges. It is composed of the following charges:
AlloyDB for PostgreSQL has a unique architecture to help users seamlessly scale storage and compute. Each AlloyDB for PostgreSQL deployment is organized as a cluster. A cluster includes all of the database storage and the compute resources in a region that serve a particular workload. A cluster has compute resources called instances, including primary instances and read pools. For high availability and horizontal scalability, instances have multiple nodes. Unlike typical PostgreSQL deployments, all of the instances deployed in a cluster share a single, horizontally scalable storage layer in the region
For AlloyDB for PostgreSQL, VM memory, storage, and data transfers are calculated in gigabytes (GB), where 1 GB is 230 bytes. This unit of measurement is also known as a gibibyte (GiB).
CPU and memory
Compute resources for AlloyDB for PostgreSQL are organized as instances, and are priced per vCPU and GB of memory. When you create an instance, you choose the number of CPUs and the amount of memory you want, up to 128 vCPUs and 864 GB of memory per node. A zonal primary instance uses one node. A high availability primary instance uses two nodes, one for the active primary and a second for the in-region standby. AlloyDB read pool instances can contain up to 20 nodes. CPU and memory pricing varies by location. Select your region in the dropdown on the pricing table.
AlloyDB also offers committed use discounts (CUDs) for CPU and memory resources when you commit to continuously use databases for a one- or three-year term. The pricing table below illustrates effective pricing per vCPU and per GB of RAM after CUDs are applied. For more information about these commitments, see Committed use discounts.
Billing is on an hourly basis. Monthly prices are illustrative, assuming
a 730 hour month.
If you pay in a currency other than USD, the prices listed in your currency on
Cloud Platform SKUs
apply.
Database storage
AlloyDB for PostgreSQL uses an intelligent regional storage system that automatically scales up and down. As a result, you only pay for the storage you use. Your database storage is shared between all of the instances deployed on your cluster. As a result, your storage costs don’t change when you horizontally scale your workload by adding read pool instances, or more read nodes into your existing read pools. Storage prices vary by the location of your database cluster. Select your region in the dropdown on the pricing table.
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
Backup storage
AlloyDB for PostgreSQL stores the data associated with your on-demand, automatic, and continuous backups in backup storage. When you take an on-demand backup, AlloyDB stores a full snapshot of your database at that time. When you configure your database cluster with automated and continuous backups, AlloyDB takes a full snapshot, and incremental backups periodically. A backup is billed from the time it is complete (designated by a "Ready" state) until it is outside of its retention period. AlloyDB’s continuous backup and recovery feature also stores transaction logs to enable recovery to any point in time within its recovery window. First seven days of transaction logs are retained at no extra charge, and logs retained after seven days are billed.
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
Networking pricing
Data transfer into AlloyDB for PostgreSQL is free. Data transfer out of AlloyDB within the same region is also free. Pricing for data transfer out of AlloyDB resources depends on the destination of the traffic, and in some cases, whether a specialty networking service is involved.
Outbound traffic into another region
Outbound traffic prices below are based on source-destination pairs, where the source is an AlloyDB resource, and the destination is another AlloyDB resource or a Google Cloud service in another region.
Northern America | Europe | Asia | Indonesia & Oceania |
Middle East | Latin America | |
---|---|---|---|---|---|---|
Northern America | $0.02/GB | $0.05/GB | $0.08/GB | $0.10/GB | $0.11/GB | $0.14/GB |
Europe | $0.05/GB | $0.02/GB | $0.08/GB | $0.10/GB | $0.11/GB | $0.14/GB |
Asia | $0.08/GB | $0.08/GB | $0.08/GB | $0.10/GB | $0.11/GB | $0.14/GB |
Indonesia & Oceania |
$0.10/GB | $0.10/GB | $0.10/GB | $0.08/GB | $0.11/GB | $0.14/GB |
Middle East | $0.11/GB | $0.11/GB | $0.11/GB | $0.11/GB | $0.08/GB | $0.14/GB |
Latin America | $0.14/GB | $0.14/GB | $0.14/GB | $0.14/GB | $0.14/GB | $0.14/GB |
Outbound traffic into the internet
Outbound traffic prices below are based on source-destination pairs, where the source is an AlloyDB instance, and the destination is any client that is not a Google product, such as using a local server to read data from AlloyDB.
All pricing is per GB | Monthly Usage | |||
---|---|---|---|---|
0-1 TB | 1-10 TB | 10+ TB | ||
Outbound traffic source and destination pairs | Within North America, Europe, or Asia | $0.12 | $0.11 | $0.08 |
Between Asia, Europe and North America | $0.12 | $0.11 | $0.085 | |
Within Africa; Between Africa and North America, Europe or Asia | $0.13 | $0.12 | $0.085 | |
Within Middle East; Between Middle East and Africa | $0.13 | $0.12 | $0.09 | |
Within Indonesia or Oceania; Between Indonesia and Oceania; Between Middle East and North America, Europe or Asia | $0.15 | $0.14 | $0.11 | |
Between Middle East or Africa and Indonesia, Oceania or Latin America | $0.18 | $0.17 | $0.14 | |
Within Latin America; Between Indonesia, Oceania or Latin America and North America, Europe, or Asia; Between Latin America and Indonesia or Oceania | $0.19 | $0.18 | $0.15 |
Other networking charges
If you have chosen to use certain networking features, you may incur additional charges:
- For public IP, an idle static IP address charge is applied only when the AlloyDB instance is stopped.
For more information, see External IP address pricing - For Private Service Connect, an hourly charge per endpoint and data processing charge for both inbound and outbound traffic is applied. For more information, see Using a Private Service Connect endpoint (forwarding rule) to access a published service
AlloyDB free trial clusters
AlloyDB free trial clusters let you evaluate how AlloyDB performs in real-world scenarios and try AlloyDB features and capabilities at no cost for 30 days. During the 30-day free trial period, you can store up to 1 TB of data in your free trial cluster, and deploy an 8 vCPU primary instance, along with an 8 vCPU, single node read pool instance. For more details, see AlloyDB free trial clusters. If you are a new Google Cloud customer, you are also eligible for the 90-day Google Cloud free trial that gives you $300 credits to use on Google Cloud products including AlloyDB. The AlloyDB free trial cluster is in addition to the $300 credits offered by the Google Cloud free trial.
You can upgrade from a free trial cluster to a paid cluster to continue using your resources beyond the 30-day free trial period and remove any free trial restrictions. If you choose to upgrade your free trial cluster to a paid cluster, you will be charged according to the pricing on this page.
What's next
- Try the Pricing Calculator.
- Learn more about how AlloyDB works.
- Learn more about the high availability configuration.
Request a custom quote
With Google Cloud's pay-as-you-go pricing, you only pay for the services you use. Connect with our sales team to get a custom quote for your organization.Contact sales