You can create an account to evaluate how Cloud SQL performs in real-world scenarios. New customers also get $300 in free credits to spend on Cloud SQL to run, test, and deploy workloads. You won’t be charged until you upgrade.
Sign up to try Cloud SQL for free.
This page contains information about pricing for Cloud SQL.
Cloud SQL offers two editions, Enterprise and Enterprise Plus. These editions provide different levels of availability, performance and data protection. The pricing for the vCPUs and memory for each edition varies. Cloud SQL Enterprise edition and Cloud SQL Enterprise Plus edition are supported by Cloud SQL for MySQL, Cloud SQL for PostgreSQL, and Cloud SQL for SQL Server.
Pricing for Cloud SQL depends on your instance type:
MySQL and PostgreSQL pricing
Cloud SQL pricing is composed of the following charges:
To get a cost estimate for Cloud SQL, try the Pricing Calculator.
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 624 GB of memory for Enterprise edition and up to 128 CPUs and 864 GB of memory for Enterprise Plus edition. For Cloud SQL Enterprise Plus edition for SQL Server instances, you can also choose from performance-optimized machines (up to 128 CPUs and 864 GB of memory) and memory-optimized machines (up to 16 CPUs and 512 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.
Read replicas and failover replicas are charged at the same rate as stand-alone instances.
HA prices are applied for instances configured for high availability, also called regional instances. Learn more about high availability.
Cloud SQL also offers committed use discounts (CUDs) that provide deeply discounted prices in exchange for your commitment to continuously use database instances in a particular region for a one- or three-year term. In the pricing tables on this page, the prices for CUDs are listed as commitments. For more information about these commitments, see Committed use discounts.
In the following tables:
- Select your region from the dropdown menu to see the price for that region
- Use the slider to choose Monthly or Hourly pricing
- Compare pricing between per use, 1-year, and 3-year commitments
Enterprise edition
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
Enterprise Plus edition – N2 machine series
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
Enterprise Plus edition – C4A machine series
Note: The C4A machine series is in Preview. If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
Storage and networking pricing
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 about high availability.
With Hyperdisk Balanced you are billed for provisioned capacity, IOPS and throughput independently. You are billed for the total provisioned capacity of your Hyperdisk Balanced volumes until you delete them. You are charged per GiB per month. Hyperdisk Balanced charges a monthly rate for the provisioned IOPS and provisioned throughput (in MBps) in excess of the baseline values of 3,000 IOPS and 140 MBps throughput. Note: Committed use discounts do not apply to storage or network prices.
In the following table, Select your region from the dropdown menu to see the price for that region.
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 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 |
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
Instance pricing
Instance pricing applies only to shared-core instances. Dedicated-core instances, which can have up to 96 vCPUs and 624 GB of memory, are charged by the number of cores and amount of memory they have.
Instance pricing is charged for every second that the instance is running (the activation policy is set to ALWAYS). Cloud SQL uses seconds as the time unit multiplier for usage. This means that each second of usage counts toward a full billable minute. For more details, see Billing on partial seconds.
HA prices are applied for instances configured for high availability, also called regional instances. Learn more about high availability.
Note: Committed use discounts do not apply to instance prices.
In the following table:
- Select your region from the dropdown menu to see the price for that region
- Use the slider to choose Monthly or Hourly pricing
- Find the machine type you want to use to view pricing details
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.
Billing on partial seconds
Milliseconds of usage are rounded to the nearest second. If usage is under half a second, (499ms or less), it rounds down to zero and does not count toward billable usage.
For example:
- If you use an instance for 499ms, you are not billed for that second.
- If you use an instance for 500ms or 1.49 seconds, in both cases, you are billed for 1 second.
- If you use an instance for 1.5 seconds or 2.49 seconds, in both cases you are billed for 2 seconds.
Serverless export pricing
Serverless export prices depend on the region where the instance is located. Select your region using the dropdown on the pricing table.
Note: Committed use discounts don’t apply to serverless export prices. If you perform frequent exports of a subset of your Cloud SQL instance (for example, by using the database, table, or query parameter), then it’s more cost effective for you to create a read replica for your primary instance and perform your exports from that instance. You avoid impacting your database with your exports, and lower your costs because you’re paying for the read replica only, and not for each export.
In the following table, select your region from the dropdown menu to see the price for that region.
Note: The price per GB is calculated based on the disk size of the offload instance, which is the same as the disk size of the primary instance. This price isn’t based on the amount of data exported.
Cloud DNS pricing
With Cloud DNS pricing, the charge is per zone per month (regardless of whether you use your zone), and you also pay for queries against your zones. For more information, see Cloud DNS pricing.
Extended support pricing
Note: From February 1, 2025 through April 30, 2025, Google has waived charges for extended support. Starting on May 1, 2025, all instances running on major versions that have reached end of life (EOL) will be charged for extended support.
Extended support pricing applies to Cloud SQL instances that are running major versions in extended support. Refer to the Database version policies documentation for the extended support timelines of Cloud SQL major versions.
For dedicated-core instances, extended support is priced per vCPU per hour and charged for every second that the instance is running. For shared-core instances, extended support is priced per instance per hour and charged for every second that the instance is running. Extended support is charged in addition to regular instance pricing. For more details, see Billing on partial seconds. Pricing depends on the region where your instance is located. Select your region in the dropdown on the pricing table.
Read replicas are charged at the same rate as stand-alone instances.
HA prices are applied for instances configured for high availability, also called regional instances. Learn more about high availability.
Note: Committed use discounts don’t apply to extended support prices.
In the following table, select your region from the dropdown menu to see the price for that region. To see how you can calculate your potential costs, please refer to this pricing example.
SQL Server pricing
Cloud SQL for SQL Server is composed of the following charges:
Try it for yourself
If you’re new to Google Cloud, create an account to evaluate how Cloud SQL performs in real-world scenarios. New customers also get $300 in free credits to run, test, and deploy workloads.
Try Cloud SQL free
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 624 GB of memory. For Cloud SQL Enterprise Plus edition instances, you can choose from Performance-optimized machines (up to 128 CPUs and 864 GB of memory) and Memory-optimized machines (up to 16 CPUs and 512 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.
Read replicas and failover replicas are charged at the same rate as stand-alone instances.
HA prices are applied for instances configured for high availability, also called regional instances. Learn more about high availability.
Cloud SQL also offers committed use discounts (CUDs) that provide deeply discounted prices in exchange for your commitment to continuously use database instances in a particular region for a one- or three-year term. In the pricing tables on this page, the prices for CUDs are listed as commitments. For more information about these commitments, see Committed use discounts.
In the following tables:
- Select your region from the dropdown menu to see the price for that region
- Use the slider to choose Monthly or Hourly pricing
- Compare pricing between per use, 1-year, and 3-year commitments
Enterprise edition
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
Enterprise Plus edition – N2 machine series
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
Enterprise Plus edition – Memory optimized N2 machine series
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
Storage and networking pricing
SQL server 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 about high availability.
Note: Committed use discounts do not apply to storage or network prices.
In the following table, select your region from the dropdown menu to see the price for that region.
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 Cloud Interconnect | $0.05/GB |
Internet egress (not using 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.
Licensing
In addition to instance and resource pricing, SQL Server also has a licensing component. High availability, or regional instances, will only incur the cost for a single license for the active resource.
Note: As a managed service, Cloud SQL does not support BYOL (Bring your own license).
You can learn more about instance creation here.
Note: Committed Use Discounts do not apply to licenses.
License | Price per Core Hour |
---|---|
Enterprise | $0.47 |
Standard | $0.13 |
Web | $0.01134 |
Express | $0 |
Microsoft SQL Server licensing requires a core license to be assigned to each virtual CPU on your instance, with a four core minimum for each instance. Instances with fewer than 4 vCPUs will be charged for SQL Server at 4 times the license rate to comply with these requirements. For instances with 4 or more vCPUs, you will be charged for the number of SQL Server licenses that is equal to the number of vCPUs.
Important: SQL Server Web Edition software can only be used to support public and internet-accessible pages, websites, and web services. You can’t use SQL Server Web edition to support line of business applications such as Customer Relationship Management, Enterprise Resource Management, or other similar applications. For more information, see Google Cloud Terms of Service for Microsoft Products.
Disabling simultaneous multithreading (SMT) reduces the number of virtual CPUs (vCPUs) per core from 2 to 1, which in turn might reduce your SQL Server licensing costs. Disabling SMT doesn’t change the compute engine price for SQL Server. You are billed for the number of vCPUs defined in the SQL Server CPU configuration. The following examples show how disabling SMT affects your billing:
User | SMT: enabled or disabled | Number of vCPUs on the instance | Number of vCPUs the SQL Server licensing fees are calculated for | Number of vCPUs the compute charges are calculated for |
---|---|---|---|---|
User1 | Enabled | 8 | 8 | 8 |
User2 | Disabled | 8 | 4 | 8 |
User3 | Disabled | 6 | 4 | 6 |
Note that despite disabling SMT, User3’s SQL Server license fees are calculated for 4 vCPUs because SQL Server licensing requires a core license to be assigned to each virtual CPU on your instance, with a minimum of four cores for each instance.
SQL Server instance licenses are charged a 1 minute minimum. After 1 minute, SQL Server instance licenses are charged in 1 second increments.
Cloud DNS pricing
With Cloud DNS pricing, the charge is per zone per month (regardless of whether you use your zone), and you also pay for queries against your zones. For more information, see Cloud DNS pricing.