Skip to main content
Google Cloud
Documentation Technology areas
  • AI and ML
  • Application development
  • Application hosting
  • Compute
  • Data analytics and pipelines
  • Databases
  • Distributed, hybrid, and multicloud
  • Generative AI
  • Industry solutions
  • Networking
  • Observability and monitoring
  • Security
  • Storage
Cross-product tools
  • Access and resources management
  • Costs and usage management
  • Google Cloud SDK, languages, frameworks, and tools
  • Infrastructure as code
  • Migration
Related sites
  • Google Cloud Home
  • Free Trial and Free Tier
  • Architecture Center
  • Blog
  • Contact Sales
  • Google Cloud Developer Center
  • Google Developer Center
  • Google Cloud Marketplace
  • Google Cloud Marketplace Documentation
  • Google Cloud Skills Boost
  • Google Cloud Solution Center
  • Google Cloud Support
  • Google Cloud Tech Youtube Channel
/
  • English
  • Deutsch
  • Español – América Latina
  • Français
  • Indonesia
  • Italiano
  • Português – Brasil
  • 中文 – 简体
  • 中文 – 繁體
  • 日本語
  • 한국어
Console Sign in
  • Cloud SQL
Guides Reference Samples Resources
Contact Us Start free
Google Cloud
  • Documentation
    • Guides
    • Reference
    • Samples
    • Resources
  • Technology areas
    • More
  • Cross-product tools
    • More
  • Related sites
    • More
  • Console
  • Contact Us
  • Start free
  • Discover
  • Product overview
  • Introduction to Cloud SQL editions
  • Cloud SQL for PostgreSQL features
  • Key terms
  • Get started
  • Connect from a Cloud Service
    • Quickstart: Connect from Cloud Shell
    • Quickstart: Connect from Cloud Run
    • Quickstart: Connect from Google Kubernetes Engine
    • Quickstart: Connect from App Engine standard environment
    • Quickstart: Connect from App Engine flexible environment
    • Quickstart: Connect from Compute Engine
  • Quickstart: Connect using private IP
  • Quickstart: Connect using the Cloud SQL Auth proxy
  • Quickstart: Connect from your local computer
  • Create and manage
  • Instances
    • Create instances
    • Edit instances
    • Clone instances
    • Start, stop, and restart instances
    • Label instances
    • Delete instances
    • Prevent deletion of an instance
    • View instance information
    • Manage instance locations
    • Manage connectivity tests
    • Manage maintenance updates
      • Maintenance updates on instances
      • View and set maintenance windows
      • Perform self-service maintenance
    • Upgrade
      • Upgrade an instance to Cloud SQL Enterprise Plus edition
        • Upgrade an instance by using in-place upgrade
        • Upgrade an instance by using IP allowlists
        • Upgrade an instance by using VPC peering
      • Upgrade an instance to the new network architecture
      • Upgrade the database major version
        • Upgrade the database major version in-place
        • Upgrade the database major version by migrating data
    • Use best practices
      • General best practices
      • Operational guidelines
      • Manage memory usage
  • Databases
    • Create and manage databases
    • Overcome transaction ID (TXID) wraparound protection
  • Users
    • About PostgreSQL users
    • Cloud SQL built-in database authentication
    • Create and manage users
  • Manage your data using Cloud SQL Studio
  • Write SQL using Gemini assistance
  • Manage your resources using Dataplex Universal Catalog
  • Configure
  • Configure database flags
  • Configure PostgreSQL extensions
  • About instance settings
  • Data cache overview
  • Machine series overview
  • Region availability overview
  • Storage options overview
  • Secure and control access
  • Overview
    • About access control
    • Data privacy strategies
    • Data residency overview
  • Use Secret Manager to handle secrets in Cloud SQL
  • Organization policies
    • Cloud SQL organization policies
    • Add predefined organization policies
    • Add custom organization policies
  • Identity and Access Management (IAM)
    • IAM authentication
    • Roles and permissions
    • Use IAM Conditions
    • Configure instances for IAM database authentication
    • Manage users with IAM database authentication
    • Log in using IAM database authentication
  • Fine-grained access control with tags
    • Access control with Google Cloud tags
    • Attach and manage tags on Cloud SQL instances
  • Use encryption
    • About client-side encryption
    • About customer-managed encryption keys (CMEK)
    • Use customer-managed encryption keys (CMEK)
  • Audit
    • Audit logs
    • Auditing for PostgreSQL using pgAudit
  • Configure VPC Service Controls
  • Connect
  • Choose how to connect to Cloud SQL
  • Authorize with authorized networks
  • Connect to an instance using public IP
    • Configure public IP
  • Connect to an instance using private IP
    • Learn about using private IP
    • Configure private IP
    • Configure private services access
    • Connect to an instance using a write endpoint
    • Private Service Connect overview
    • Connect to an instance using Private Service Connect
    • Configure both private services access and Private Service Connect
    • Connect to your instance across Multiple VPCs
  • Connect using SSL/TLS certificates
    • Authorize with SSL/TLS certificates
    • Configure SSL/TLS certificates
    • Manage SSL/TLS certificates
    • Use a customer-managed certificate authority (CA)
    • Set up a custom DNS name
  • Connect using Cloud SQL Language Connectors
    • Cloud SQL Language Connectors overview
    • Connect using the Cloud SQL Language Connectors
  • Connect using Cloud SQL Auth Proxy
    • About the Cloud SQL Auth Proxy
    • Connect using the Cloud SQL Auth Proxy
    • Connect using Cloud SQL Proxy Operator
  • Use Managed Connection Pooling
    • Managed Connection Pooling overview
    • Configure Managed Connection Pooling
  • Connect from applications
    • Connect using a psql client
    • Connect from Cloud Run
    • Connect from Cloud Functions
    • Connect from App Engine (Standard)
    • Connect from App Engine (Flexible)
    • Connect from Compute Engine
    • Connect from Kubernetes Engine
    • Connect from Cloud Build
    • Manage database connections
  • Connect to an instance from outside its VPC
  • Replicate
  • About replication in Cloud SQL
  • Create and manage replicas
    • Create read replicas
    • Manage read replicas
    • Promote replicas for regional migration or disaster recovery
    • Replication lag
  • Create and manage read pools
    • About read pools
    • Create a read pool
  • Set up logical replication and decoding
  • Configure external replicas
  • Replicate from an external server
    • About replicating from an external server
    • Configure Cloud SQL and the external server for replication
    • Use a managed import to set up replication from external databases
  • About data migration in Cloud SQL
  • Availability and disaster recovery (DR)
  • Availability in Cloud SQL
  • About high availability (HA)
  • Enable and disable high availability (HA) on an instance
  • About disaster recovery (DR)
  • Use advanced disaster recovery (DR)
  • Back up and restore
  • Back up an instance
    • About Cloud SQL backups
    • Manage Enhanced backups
    • Manage Standard backups
      • Create and manage on-demand and automatic backups
      • Manage final backups
      • Manage retained backups
      • View audit logs for automated backups
      • Schedule Cloud SQL database backups
  • Restore an instance
    • About restoring an instance
    • Restore an instance