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
  • Industry solutions
  • Migration
  • Networking
  • Observability and monitoring
  • Security
  • Storage
Cross-product tools
  • Access and resources management
  • Costs and usage management
  • Infrastructure as code
  • SDK, languages, frameworks, and tools
/
Console
  • English
  • Deutsch
  • Español – América Latina
  • Français
  • Indonesia
  • Italiano
  • Português
  • Português – Brasil
  • 中文 – 简体
  • 中文 – 繁體
  • 日本語
  • 한국어
Sign in
  • Cloud SQL
  • SQL Server
Start free
Overview Guides Reference Samples Resources
Google Cloud Documentation
  • Technology areas
    • More
    • Overview
    • Guides
    • Reference
    • Samples
    • Resources
  • Cross-product tools
    • More
  • Console
  • Discover
  • Product overview
  • Cloud SQL editions overview
  • Cloud SQL for SQL Server features
  • Key terms
  • Get started
  • Quickstart: Create and query a database in the Cloud Console
  • Create an instance in a private network and then import a database
  • 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
  • Plan and prepare
  • Overview
  • Choose a Cloud SQL edition
  • Choose a machine series
  • Choose a storage option
  • Region availability
  • Data cache overview
  • Create and manage
  • Instances
    • Create instances
    • Edit instances
    • Clone instances
    • Start, stop, and restart instances
    • Label instances
    • Delete instances
    • Prevent deletion of an instance
    • Supported instance settings
    • View instance information
    • Configure database flags
    • Manage instance locations
    • Manage connectivity tests
    • Manage capacity
      • About storage shrink
      • Shrink instance storage capacity
    • 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 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
  • Databases
    • Create and manage databases
    • Manage the tempdb database
    • Data virtualization using PolyBase
      • PolyBase overview
      • Enable and disable PolyBase
      • Configure external data sources
    • Linked servers
      • About linked servers
      • Manage linked servers
  • Users
    • About SQL Server users
    • Cloud SQL built-in database authentication
    • Create and manage users
    • Managed Microsoft AD in Cloud SQL
      • Overview of Managed Microsoft AD in Cloud SQL
      • Use Managed Microsoft AD with Cloud SQL
      • Use Managed Microsoft AD Diagnosis Tool with Cloud SQL
    • Customer-managed Microsoft AD in Cloud SQL
      • Customer-managed Active Directory overview
      • Use customer-managed Active Directory
  • Cloud SQL Studio
    • Manage your data using Cloud SQL Studio
    • Write SQL with Gemini Assistance
  • Manage your resources using Knowledge Catalog
  • Secure and control access
  • Overview
    • About access control
    • 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
  • Integration with Microsoft Entra ID
  • 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)
    • About transparent data encryption (TDE)
    • Use transparent data encryption (TDE)
  • Use Cloud SQL regional endpoints
  • 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 the Cloud SQL Auth Proxy
    • About the Cloud SQL Auth Proxy
    • Connect using the Cloud SQL Auth proxy
    • Connect using Cloud SQL Proxy Operator
  • Connect from applications
    • Connect using a SQL Server 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
  • SQL Server integrations
    • SQL Server Integration Services
  • 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
  • Configure external replicas
  • Enable change data capture (CDC)
  • 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)
  • About disaster recovery (DR)
  • Use advanced disaster recovery (DR)
  • Back up and restore
  • Back up an instance
    • Cloud SQL backups overview
    • Choose your backup option
    • Manage standard backups
    • Manage enhanced backups
    • Manage backups for deleted instances
    • View audit logs for automated backups
  • Restore an instance
    • Overview
    • Restore an instance using a backup
    • Configure point-in-time recovery
    • Perform point-in-time recovery
  • Import and export
  • Best practices for importing and exporting data
  • Export and import using SQL dump files
  • Export and import using BAK files
  • Cancel the import and export of data
  • Check the status of import and export operations
  • Develop
  • Build generative AI applications using Cloud SQL
    • Integrate Cloud SQL with Vertex AI
  • Build LLM-powered applications using LangChain
  • Use Cloud SQL for SQL Server with agents
  • Use the Cloud SQL remote MCP server
  • Best practices for securing agent interactions with MCP
  • Use saved queries
    • Overview
    • Create and manage saved queries
  • Monitor and optimize
  • About database observability
  • Monitor and troubleshoot with AI assistance
  • Audit
    • Audit logs
    • SQL Server database auditing
  • Query performance
    • Use query insights
    • Use index advisor
    • Monitor active queries