Cloud SQL for PostgreSQL is a fully-managed database service that helps you set up, maintain, manage, and administer your PostgreSQL relational databases on Google Cloud Platform.
Start your proof of concept with $300 in free creditAccess 20+ free products for common use cases, including AI APIs, VMs, data warehouses, and more.
Documentation resourcesFind quickstarts and guides, review key references, and get help with common issues.
Explore self-paced training from Google Cloud Skills Boost, use cases, reference architectures, and code samples with examples of how to use and connect Google Cloud services.
TrainingTraining and tutorials
Using Cloud SQL for PostgreSQL with Ruby on Rails 5Learn how to connect a Ruby on Rails 5 app to Cloud SQL for PostgreSQL.
TrainingTraining and tutorials
Connecting to Cloud SQL with Cloud FunctionsLearn how to connect to Cloud SQL from Cloud Functions.
Use caseUse cases
Deploying Pega using Compute Engine and Cloud SQLLearn how to deploy Pega Platform, which is a business process management and customer relationship management (CRM) platform with Cloud SQL for PostgreSQL.
CRM Reference architecture
Use caseUse cases
Production launch checklistThis checklist provides recommended activities to complete for launching a commercial application that uses Cloud SQL. This checklist focuses on Cloud SQL-specific activities.
Production Launch
Use caseUse cases
Data residency overviewLearn how to use Cloud SQL to enforce data residency requirements for data.
Data residency data
Use caseUse cases
Use Secret Manager to handle secrets in Cloud SQLLearn how to use Secret Manager to store sensitive information about Cloud SQL instances and users as secrets.
Secret Manager secret
Code sampleCode Samples
Python SQLAlchemyUse SQLAlchemy with your Cloud SQL for PostgreSQL database
Code sampleCode Samples
Node.js sampleConnecting to your Cloud SQL for PostgreSQL database in Node.js
Code sampleCode Samples
PHP PDOConnecting your Cloud SQL for PostgreSQL database using PHP PDO
Code sampleCode Samples
Go web app sampleSimple examples of connecting to Cloud SQL for PostgreSQL using Go
Code sampleCode Samples
.NET sampleThis sample application demonstrates how to store data in Google Cloud SQL with a PostgreSQL database when running in Google App Engine Flexible Environment.
Code sampleCode Samples
Terraform for Cloud SQL networkingUse Terraform to create Cloud SQL for PostgreSQL instances with private networking options.
Code sampleCode Samples
Java servletConnecting to Cloud SQL for PostgreSQL from a Java application
Related videosExcept as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-02 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-02 UTC."],[],[]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4