GCP Cloud Spanner is a fully managed, globally distributed, and horizontally scalable database service that offers strong consistency, high availability, and seamless scalability for modern applications.
GCP Cloud Spanner uses a unique architecture that combines the benefits of traditional relational databases with the advantages of horizontally scalable NoSQL databases. It is a globally consistent and distributed database that automatically handles data sharding, replication, and failover without any manual intervention. Cloud Spanner's architecture relies on the TrueTime API, which provides a globally synchronized clock to ensure strong consistency and accurate timestamp ordering across regions.
GCP Cloud Spanner is an ideal choice for applications that require the following:
GCP Cloud Spanner is a cloud-native, horizontally scalable, and globally distributed database service provided by Google Cloud Platform (GCP). It is designed to meet the requirements of modern, globally distributed applications that demand high availability, strong consistency, and automatic scaling. Cloud Spanner is built on top of Google's infrastructure, utilizing Google's global network and advanced technologies to ensure low-latency access and seamless replication of data across regions.
GCP Cloud Spanner is a paid service, and its pricing is based on several factors:
GCP Cloud Spanner is not available for free. It is a paid service, and you are billed based on your usage of compute capacity, database storage, backup storage, and network bandwidth.
Regarding pricing tiers, Cloud Spanner does not have explicit "tiers" like some other services. Instead, the pricing is based on the resources you provision and the amount of data you store. You can choose between different configurations, such as regional or multi-region setups, and you can also commit to long-term contracts for discounted pricing.
1. Compute Capacity Pricing: The pricing for compute capacity varies based on the instance's regional or multi-region configuration and whether you choose on-demand or committed use discounts.
Regional Configuration: Iowa (us-central1)
Multi-Region Configuration: North America 3 (nam3)
2. Database Storage Pricing: The pricing for database storage depends on the instance's regional or multi-region configuration.
Regional Configuration: Iowa (us-central1)
Multi-Region Configuration: North America 3 (nam3)
Database storage pricing for adding optional read-only replicas:
As an example, let's say you create a custom instance configuration with 1000 GB of storage and add one read-only replica (us-east1) to the base multi-region instance configuration (nam7). Your total database storage cost would be as follows:
In total, your database storage cost for the custom instance configuration would be $0.82 per hour.
3. Backup Storage Pricing: The pricing for backup storage is based on the instance's regional or multi-region configuration.
Regional Configurations:
Multi-region Configurations:
4. Network Pricing: Ingress traffic is free, while egress traffic between regions within the same continent incurs a specific cost per GB.
5. Cloud Spanner Data Boost Pricing:
Data Boost provides on-demand, isolated compute resources for Spanner instances. It measures usage in Serverless Processing Units (SPU) on a per-second basis, with a 1-minute minimum charge. You only pay for actual SPU usage, and there are no fixed costs or resources to manage.
Pricing per SPU per hour:
Americas:
US Regions:
Asia Pacific:
Europe:
To optimize GCP Cloud Spanner costs, consider the following strategies:
Why waste hours tinkering with a spreadsheet when Economize can do the heavy lifting for you 💪
Let's upgrade your cloud cost optimization game!