Guides: How to get started with Cloud SQL on Google Cloud

Find resources for getting started with Cloud SQL, migrating existing databases, using your database, and architecting for scalability, reliability, and security.

Getting started

Video: What is Cloud SQL?

How to set up Cloud SQL, migrate your existing database, and understand data security and pricing.

Blog: Introducing Cloud SQL Enterprise Plus

New edition delivers accelerated read and write performance, a 99.99% availability SLA, and enhanced data protection.

Blog: Running MySQL in Google Cloud

How to start MySQL, access it from the command line, and connect to it from a Compute Engine instance.

Case study: Manhattan Associates

Manhattan Associates enhanced the scalability, availability, and reliability of its software-as-a-service through a seamless migration to Cloud SQL.

Tutorial: Create a MySQL instance with Cloud SQL

Learn how to enable Cloud SQL in a Cloud project, create an instance, connect to it, create a database, and upload data.

Lab: Cloud SQL

In this quest you will receive hands-on practice with the basics of Cloud SQL and quickly progress to advanced features.

Database migration

Blog: Cloud SQL regional migration

Expand your business, achieve compliance, or add capabilities by migrating your Cloud SQL database to a new region.

Video: Security, cost-efficiency, and simplicity: Migrating databases to Cloud SQL

How small and medium-sized organizations made successful database migrations to Cloud SQL.

Video: Running business-critical commercial databases with Google Cloud

How Cloud SQL makes it easy to run SQL Server workloads with high availability, data protection, security, and cost optimization.

Video: Getting started with Database Migration Service

Learn how Database Migration Service simplifies your migration with a serverless, secure platform that utilizes native replication for higher fidelity and greater reliability.

Blog: How to plan your SQL Server migration to Cloud SQL

Guidance on what option you might want to choose for your specific migration scenario.

Documentation: Best practices for importing and exporting data

Best practices for importing and exporting data with Cloud SQL, covering SQL Mode, flag, compression, and more.

Database operations

Video: Database Configurations with Google Cloud SQL

Deep dive into Cloud SQL plus a demo, best practices, database optimization, and application examples.

Documentation: Database observability for MySQL, PostgreSQL, and SQL Server.

Use database observability to accurately infer the internal state of your database based on the data, or telemetry, that it generates.

Connectivity

Blog: Lightweight application development with Serverless Cloud Functions and Cloud SQL

Learn to build a Java based Cloud Function that will connect to a Cloud SQL for SQL Server database using the Cloud SQL Connector for Java.

Documentation: Connecting to Cloud SQL from external applications

Learn how to establish a connection to Cloud SQL from applications running outside of Google Cloud.

Tutorial: Connecting a 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.

Tutorial: Connect to a Cloud SQL for MySQL instance from a Compute Engine virtual machine

Learn how to enable Compute Engine and Cloud SQL, create a VM, install a MySQL client, and connect to your MySQL instance.

Video: Concepts of Cloud SQL networking

Cloud SQL networking concepts from implementation and security to connectivity, and tips on how to determine who and what can access your instance.

Video: Connecting to Cloud SQL from Kubernetes

Explore the ins and outs of connecting to Cloud SQL from Google Kubernetes Engine.

Video: How to build a three-tier serverless Cloud Run app

Learn how to build a three-tier serverless Cloud Run app with Cloud SQL as the back end.

Scalability, reliability, and security

Video: Five best practices to enable highly available applications with Cloud SQL

Best practices for rightsizing your Cloud SQL instances and setting up high availability and disaster recovery.

Video: Industry-leading availability and performance for MySQL workloads

Migrate and manage MySQL-based applications and optimize them for enterprise-grade performance.

Video: Availability and performance with Cloud SQL for PostgreSQL

Migrate or build PostgreSQL-based applications while leveraging the strengths of Cloud SQL in high availability, data protection, and security.

Documentation: Use Query insights to improve query performance in MySQL and PostgreSQL.

Use the Query insights dashboard to detect, diagnose, and prevent query performance problems for Cloud SQL databases.

Documentation: Replication in Cloud SQL for MySQL, PostgreSQL, and SQL Server

Use replication to scale the use of data in a database without degrading performance, and to migrate data between regions.

Blog: Building a resilient architecture with Cloud SQL

Build a resilient database architecture, learn about planned and unplanned events that impact Cloud SQL availability, and learn how to limit downtime.

Whitepaper: Resiliency with Cloud SQL

Cloud SQL availability features and how the service handles planned maintenance events and unplanned outages.

Documentation: High availability for MySQL, PostgreSQL, and SQL Server

Overview of the high availability (HA) configuration for Cloud SQL instances, used to reduce downtime when a zone or instance becomes unavailable.

Video: High availability and disaster recovery with Cloud SQL

Learn how to configure databases that can recover from user errors, infrastructure failures, and full region outages.

Documentation: Manage users with built-in authentication in MySQL, PostgreSQL, and SQL Server

How to enable and use Cloud SQL built-in authentication.

Analytics and AI

Documentation: Cloud SQL federated queries

Query data in Cloud SQL from BigQuery in real time, without copying or moving data.

White paper: Unlocking gen AI’s full potential with operational databases

A guide to generative AI app development with Google databases.

Video: How to build data-driven apps with Google Cloud's latest services

Explore three approaches to building data-driven apps and getting real-time insights from your data.

Video: Accelerate your generative AI journey with Google Cloud databases

Introduction to using operational data to build gen AI applications.

Video: Building AI-powered apps using pgvector, LangChain and LLMs

Extend your database application to build AI-powered experiences using the pgvector PostgreSQL extension, LangChain and LLMs.

Google Cloud
  • ‪English‬
  • ‪Deutsch‬
  • ‪Español‬
  • ‪Español (Latinoamérica)‬
  • ‪Français‬
  • ‪Indonesia‬
  • ‪Italiano‬
  • ‪Português (Brasil)‬
  • ‪简体中文‬
  • ‪繁體中文‬
  • ‪日本語‬
  • ‪한국어‬
Console
Google Cloud