This page provides an overview of Cloud Spanner free trial instances.
A Cloud Spanner free trial instance lets you learn and explore Spanner features and capabilities at no cost for up to 90 days. Using a Spanner free trial instance, you can create GoogleSQL or PostgreSQL-dialect databases and store up to 10 GB of data to test out key Spanner features, and learn key Spanner concepts.
You can create a Spanner free trial instance using the Google Cloud console or Google Cloud CLI. After you create the free trial instance, you can create databases, define schema, and load data. You can also use the guided tutorials in the Google Cloud console to create sample databases with predefined schema and data, and run sample queries. For more information, see Create a Spanner free trial instance and sample application.
A Spanner free trial instance is available at no cost to both existing and new Google Cloud customers. If you're a new Google Cloud customer, you might also be eligible for the Google Cloud 90-day, $300 Free Trial that offers $300 in free Cloud Billing credits to pay for any Google Cloud resources. The Spanner free trial instance is in addition to the $300 Free Trial credits offered by the Google Cloud Free Trial, and you don't need to use any free Cloud Billing credits to create a free trial instance.
For more information about the Spanner free trial instance, see the following table:
You're eligible to create a Spanner free trial instance if you have a Cloud Billing account that's active, and Cloud Billing is enabled for your project.
The Spanner free trial instance period starts automatically when you create a free trial instance.
If you already have an active Cloud Billing account, you can create a Spanner free trial instance using the Google Cloud console or gcloud CLI.
If you are a new Google Cloud customer, sign in to the Google Cloud console with your Google Account and set up a Cloud Billing account with your credit card or other payment method first before creating a Spanner free trial instance. Google uses this payment information to verify your identity. We don't charge your Spanner instance unless you explicitly upgrade your Cloud Billing account to a paid account, and you upgrade your Spanner free trial instance to a paid instance.
Your free trial instance ends when one of the following occurs:
If you don't upgrade your free trial instance after the 90-day trial period, the instance stops serving requests and enters a 30-day grace period. During the grace period, the data in the instance is retained and you can still upgrade your free trial instance. If you don't upgrade your free trial instance by the end of the 30-day grace period, the instance, along with the data in it, is deleted. Note that even if you enable database deletion protection on a database in your free trial instance, your free trial instance will still be deleted after the 30-day grace period unless you upgrade it to a paid instance.
Note: An active Cloud Billing account is required to keep using your Spanner free trial instance. If your Google Cloud Free Trial ends before the end of your Spanner free trial instance, then you need to upgrade your Cloud Billing account to a paid account to continue using your Spanner free trial instance.
|Service level agreement (SLA)||
SLAs don't apply to free trial instances. The free trial instance is intended to help you learn and explore Spanner. We don't recommend running production applications in your free trial instance.
|Available instance configurations||
You can create a Spanner free trial instance in one of the following regional instance configurations:
You cannot create a free trial instance in a multi-region instance configuration. To create instances in other regional configurations or in any multi-region configuration, use a paid Spanner instance.
The free trial instance is subject to the following limitations:
- One free trial instance allowed per project lifecycle.
- Maximum five free trial instances allowed per Cloud Billing account.
- Maximum five databases allowed per free trial instance.
- 90-day free trial instance period provided.
- No SLA guarantees provided.
- All Spanner quotas and limits apply.
- One free trial instance provides 10 GB of storage capacity and limited compute capacity required for learning purposes. You can't edit a free trial instance to increase its storage or compute capacity limits. You can increase the storage and compute capacity of a free trial instance by upgrading to a paid instance.
- Free trial instances don't support backup and restore.
- Spanner free trial instances are available in select regional configurations. They aren't available in multi-region configurations.
The free trial instance is meant for evaluation purposes. It is not meant for the following use cases:
- Production related activities
- Performance evaluation and load testing of Spanner
- Ongoing testing and development
A Spanner free trial instance can provide around 500 queries per second (QPS) of reads or 100 QPS of writes (writing single rows at 1 KB of data per row) when you follow these best practices:
- Design a schema that prevents hotspots and other performance issues.
- Write efficient queries and follow other SQL best practices.
- Keep high priority total CPU utilization under 65% as recommended.
- Place compute resources within the same region as your Spanner instance, for optimal read and write latency.
You can monitor and optimize the performance of your free trial instance with the help of:
- Monitoring charts and metrics
- Query Insights
- Query plan visualizer
- Introspection tools
- Spanner Key Visualizer
For better performance, upgrade your free trial instance to a paid instance and scale up the compute capacity of your instance.
Upgrade from free trial instances
You can upgrade your Spanner free trial instance to a paid instance anytime during the 90-day free trial instance period without any downtime. You aren't charged unless you explicitly upgrade your free trial instance to a paid instance.
Upgrading your Spanner free trial instance has the following benefits:
- Keeps your Spanner free trial instance running uninterrupted beyond the 90-day free trial period.
- Gives you access to Spanner features not available in the free trial instance, such as backups and multi-region instance configurations.
- Lets you increase the compute capacity of your instance and obtain higher performance (QPS, throughput) and storage capacity (greater than 10 GB).
As an option, you can opt in to automatically upgrade your free trial instance to a paid instance after 90 days.
For more information, see Upgrade free trial instance.
- Why can't I create a free trial instance in my project?
- You can create one free trial instance per project. If you've already created a free trial instance in your project, you can't create another one.
- Why can't I create a free trial instance in instance configuration X?
- Spanner offers a limited subset of regional instance configurations to free trial instances.
- How can I create more than five databases in a free trial instance?
- If you want to create more than five databases, upgrade your free trial instance to a paid instance.
- My free trial instance has been disabled. How can I re-enable it?
- If you've completed the Spanner 90-day free trial period, the free trial instance is disabled and enters a 30-day grace period. You can start using your instance again by upgrading your free trial instance to a paid instance during the 90-day trial period or the 30-day grace period.
To get support for your Spanner instance, you can:
- Get a Google support package
- Ask a question on Stack Overflow
- Join online help communities
- File a bug or feature request
For more information, see Get support.
- Learn more about how to get started with a free trial instance and sample application.
- Learn more about Spanner quotas and limits.
- Learn more about Spanner instances and databases.
- For details on Spanner pricing after the free trial period, see the Pricing page.