Fully managed relational database service for MySQL, PostgreSQL, and SQL server

Cloud SQL is fully compatible with applications using MySQL, PostgreSQL, and SQL Server. You can connect with nearly any application, anywhere in the world. Cloud SQL automates backups, replication, and failover to ensure your database is reliable, highly available, and flexible to your performance needs.

  • Easy-to-manage compatible relational databases in the cloud
  • Connects with just about any application built for MySQL, PostgreSQL, or SQL Server, from anywhere in the world
  • Automates database provisioning, storage capacity management, and other time-consuming tasks
  • Ensures reliability and security with built-in automation for high availability, backups, and security updates, plus a 24/7 SRE team
  • Easy integration with your workstation, as well as App Engine, Compute Engine, Kubernetes, and BigQuery

Secure and compliant

Automatic data encryption at rest and in transit. Private connectivity with Virtual Private Cloud (VPC) and user-controlled network access that includes firewall protection. Compliant with SSAE 16, ISO 27001, PCI DSS v3.0, and HIPAA.

Scale as you go

Flexible scaling options eliminate the need to pre-provision or plan capacity before you get started. It takes a single API call to create your database, whether you start with simple testing or you need a highly available database in production right away.

Set up in minutes

Standard connection drivers and built-in migrational tools allow you to create and connect to your first database in just a few minutes.

Key features

For devops

Fully managed

Cloud SQL automatically ensures your databases are reliable, secure, and scalable so you can focus more time on your applications and less time on administration. Cloud SQL automates all your backups, replication, encryption patches, and capacity increases—while ensuring greater than 99.95% availability, anywhere in the world.

For developers

Integrated

Access Cloud SQL instances from just about any application. Easily connect from App Engine, Compute Engine, Google Kubernetes Engine, and your workstation. Open up analytics possibilities by using BigQuery to directly query your Cloud SQL databases.

For business users

Reliable

Easily configure replication and backups to protect your data. Go further by enabling automatic failover to make your database highly available. Your data is automatically encrypted, and Cloud SQL is SSAE 16, ISO 27001, and PCI DSS v3.0 compliant and supports HIPAA compliance.

View all features

Customer stories

Highlights

  • Cloud SQL for PostgreSQL instances back many of the platform’s 15 microservices, ensuring each is independently scalable

  • OneMarket can now focus on data models rather than database management, delivering more value to its global customers

Industry

  • Retail

See more customers

What’s new

Documentation

Google cloud basics
Cloud SQL pricing

See pricing for each database service: MySQL, PostgreSQL, SQL Server.

Google cloud basics
Cloud SQL features

View a breakdown of features and capabilities across Cloud SQL database services.

Tutorial
Connecting to Cloud SQL from external applications

Learn how to connect to Cloud SQL from applications running outside of Google Cloud.

Tutorial
Connecting MySQL client using public IP

Connect a MySQL client to your Cloud SQL instance–whether it’s running locally on your client machine or in Cloud Shell.

Google cloud basics
Cloud SQL for MySQL

Learn about the major features and capabilities of Cloud SQL for MySQL.

Google cloud basics
High availability configuration

Get an overview of the high availability (HA) configuration for Cloud SQL instances.

Tutorial
All quickstarts for Cloud SQL

Get a quick intro to using Cloud SQL.

Tutorial
All how-to guides for Cloud SQL

Complete specific tasks in Cloud SQL.

Apis & libraries
All reference for Cloud SQL

APIs and other tools for using Cloud SQL.

Common use cases

Build a containerized application with a scalable database

Integrate Cloud SQL with Google Kubernetes Engine for rapid development and scalability.

Build an application with Kubernetes and Cloud SQL (PostgreSQL)

Build and scale applications leveraging Google Kubernetes Engine and Cloud SQL for PostgreSQL. Google Kubernetes Engine enables rapid application development and iteration by making it easy to deploy, update, and manage your applications and services. Cloud SQL makes it easy to set up, manage, and administer your Postgres databases on Google Cloud.

This use case is a building block of a microservices architecture that is backed by an independent storage service. Cloud SQL instances can be used to back individual microservices, decentralizing data management and ensuring that each service is independently scalable. Try the lab.

Architecture, showing build an application with Kubernetes and Cloud SQL (PostgreSQL)Google Kubernetes EngineHTTP ingressZone APython + flaskKubernetes podPython + flaskKubernetes podCloud SQLPrimary InstanceZone BPython + flaskKubernetes podPython + flaskKubernetes podCloud SQLSecondary InstanceEnd userSynchronous replication

All features

Cloud SQL for MySQL

Secure access and connectivity Cloud SQL data is encrypted when on Google’s internal networks and when stored in database tables, temporary files, and backups. Cloud SQL supports private connectivity with Virtual Private Cloud (VPC), and every Cloud SQL instance includes a network firewall, allowing you to control public network access to your database instance.
Availability protection Replicate your instance to another zone and rely on automatic failover to provide isolation from many types of infrastructure, hardware, and software failures.
Scalability Easily scale up as your data grows—add up to 64 processor cores and more than 400 GB of RAM, and add read replicas to handle increasing read traffic.
Automatic storage increases Cloud SQL can automatically scale up storage capacity when you are near your limit. This way you don’t have to spend time estimating future storage needs or spend money on capacity until you need it.
High performance Cloud SQL supports performance-intensive workloads with up to 60,000 IOPS and no extra cost for IO.
Easy integration Access Cloud SQL instances from just about any application. Easily connect from App Engine, Compute Engine, Google Kubernetes Engine, and your workstation. Open up analytics possibilities by using BigQuery to directly query your Cloud SQL databases.
Automatic backups Automate daily backups and binary logging (for replication or point-in-time recovery).
Point-in-time recovery Restore your instance to its state at an earlier point in time.
External migration Migrate on-premises MySQL databases (or MySQL-compatible databases) to Cloud SQL with low downtime.
Compatibility Build and deploy for the cloud faster because Cloud SQL offers standard MySQL databases, ensuring application compatibility.

Cloud SQL for PostgreSQL

Secure access and connectivity Cloud SQL data is encrypted when on Google’s internal networks and when stored in database tables, temporary files, and backups. Cloud SQL supports private connectivity with Virtual Private Cloud (VPC), and every Cloud SQL instance includes a network firewall, allowing you to control public network access to your database instance.
Built-in high availability Rely on automatic failover to provide isolation from many types of infrastructure, hardware, and software failures.
Scalability Easily scale up as your data grows–add up to 64 processor cores and more than 400 GB of RAM, and add read replicas to handle increasing read traffic.
Automatic storage increases Cloud SQL can automatically scale up storage capacity when you are near your limit. This way you don’t have to spend time estimating future storage needs or spend money on capacity until you need it.
High performance Cloud SQL for PostgreSQL can handle 60,000 IOs per second with no extra cost for IO.
Easy integration Access Cloud SQL instances from just about any application. Easily connect from App Engine, Compute Engine, Google Kubernetes Engine, and your workstation. Open up analytics possibilities by using BigQuery to directly query your Cloud SQL databases.
Automatic backups Automate daily backups and binary logging (for replication or point-in-time recovery).
Point-in-time recovery Restore your instance to its state at an earlier point in time.
Standard APIs Build and deploy for the cloud faster because Cloud SQL offers standard PostgreSQL databases, ensuring application compatibility. Use standard connection drivers and built-in migration tools to get started quickly.

Cloud SQL for SQL Server (beta)

Built-in high availability Live migration makes maintenance of our underlying infrastructure transparent. Cloud SQL for SQL Server has built-in HA that synchronously replicates data to each zone’s regional persistent disk. Cloud SQL provides continuous health checking and automatically fails over with minimal downtime.
Secure access and connectivity Cloud SQL data is encrypted when on Google’s internal networks and when stored in database tables, temporary files, and backups. Cloud SQL supports private connectivity with Virtual Private Cloud (VPC), and every Cloud SQL instance includes a network firewall, allowing you to control public network access to your database instance.
Compatibility Cloud SQL for SQL Server offers multiple editions of current versions of SQL Server and works with clients such as Microsoft Visual Studio and SQL Server Management Studio.
Scalability Choose between zonal and regional availability and customize your instance for your workloads (3.75 GB–416 GB memory and storage up to 30 TB).
Automatic storage increases Cloud SQL can automatically scale storage capacity when you are near your limit. This way you don’t have to spend time estimating future storage needs or spend money on capacity until you need it.
High performance Cloud SQL for SQL Server can handle 20,000 IOs per second with no extra cost for IO.
Easy integration Access Cloud SQL instances from just about any application. Easily connect from App Engine, Compute Engine, Google Kubernetes Engine, and your workstation. Open up analytics possibilities by using BigQuery to directly query your Cloud SQL databases.

Pricing

Cloud SQL offers sizes to fit any budget. Pricing varies with settings, including how much storage, memory, and CPU you provision. Cloud SQL offers per-second billing and database instances are easy to stop and start.

View pricing details

Partners

Αποστολή σχολίων σχετικά με…

Αυτή η σελίδα
Cloud SQL: Relational Database Service