Cloud SQL for PostgreSQL is a fully-managed database service that makes it easy to set up, maintain, manage, and administer your PostgreSQL relational databases on Google Cloud Platform.
To use Cloud SQL with an app in the Google App Engine Python 2 Standard Environment:
- Set up Cloud SQL for PostgreSQL.
- Configure your app to connect to Cloud SQL.
- Use standard methods provided by the language or third-party libraries such as sqlalchemy to write and query data.
- Use Cloud SQL Proxy for local testing.