google-cloud-sql

ETL approaches to bulk load data in Cloud SQL

冷暖自知 提交于 2020-12-04 08:45:59
问题 I need to ETL data into my Cloud SQL instance. This data comes from API calls. Currently, I'm running a custom Java ETL code in Kubernetes with Cronjobs that makes request to collect this data and load it on Cloud SQL. The problem comes with managing the ETL code and monitoring the ETL jobs. The current solution may not scale well when more ETL processes are incorporated. In this context, I need to use an ETL tool. My Cloud SQL instance contains two types of tables: common transactional

Connecting to Google Cloud SQL instance on private IP from a VM with both private and public IPs fails

ぐ巨炮叔叔 提交于 2020-12-04 05:19:00
问题 What I'm trying to set up: Cloud SQL instance with private IP, Postgresql database A VM with one public IP and one private IP on same VPC network as the SQL instance is on (VM, SQL instance and VPC are all in the same region) VM has a service account with sufficient Cloud SQL client/viewer permissions SQL proxy on VM connecting to SQL instance. I run it with the -ip_address_types=PRIVATE argument I've found in some of the documentation. Configuration code Slightly simplified Terraform code

Connecting to Google Cloud SQL instance on private IP from a VM with both private and public IPs fails

前提是你 提交于 2020-12-04 05:17:39
问题 What I'm trying to set up: Cloud SQL instance with private IP, Postgresql database A VM with one public IP and one private IP on same VPC network as the SQL instance is on (VM, SQL instance and VPC are all in the same region) VM has a service account with sufficient Cloud SQL client/viewer permissions SQL proxy on VM connecting to SQL instance. I run it with the -ip_address_types=PRIVATE argument I've found in some of the documentation. Configuration code Slightly simplified Terraform code

Connecting to Google Cloud SQL instance on private IP from a VM with both private and public IPs fails

荒凉一梦 提交于 2020-12-04 05:17:33
问题 What I'm trying to set up: Cloud SQL instance with private IP, Postgresql database A VM with one public IP and one private IP on same VPC network as the SQL instance is on (VM, SQL instance and VPC are all in the same region) VM has a service account with sufficient Cloud SQL client/viewer permissions SQL proxy on VM connecting to SQL instance. I run it with the -ip_address_types=PRIVATE argument I've found in some of the documentation. Configuration code Slightly simplified Terraform code

Jdbc connection error from Google Apps Script

好久不见. 提交于 2020-11-27 00:30:17
问题 I have created a Google Cloud Project MySQL database to use in conjunction with the Jdbc service provided by Google Apps Script. Everything went as planned with the connection. I am basically connecting as it does in the docs. var conn = Jdbc.getCloudSqlConnection(dbUrl, user, userPwd); I shared the file with another account and all of a sudden I am seeing a red error saying: 'Failed to establish a database connection. Check connection string, username and password.' Nothing changed in the

Jdbc connection error from Google Apps Script

自闭症网瘾萝莉.ら 提交于 2020-11-27 00:28:47
问题 I have created a Google Cloud Project MySQL database to use in conjunction with the Jdbc service provided by Google Apps Script. Everything went as planned with the connection. I am basically connecting as it does in the docs. var conn = Jdbc.getCloudSqlConnection(dbUrl, user, userPwd); I shared the file with another account and all of a sudden I am seeing a red error saying: 'Failed to establish a database connection. Check connection string, username and password.' Nothing changed in the

Jdbc connection error from Google Apps Script

南笙酒味 提交于 2020-11-27 00:28:43
问题 I have created a Google Cloud Project MySQL database to use in conjunction with the Jdbc service provided by Google Apps Script. Everything went as planned with the connection. I am basically connecting as it does in the docs. var conn = Jdbc.getCloudSqlConnection(dbUrl, user, userPwd); I shared the file with another account and all of a sudden I am seeing a red error saying: 'Failed to establish a database connection. Check connection string, username and password.' Nothing changed in the

Jdbc connection error from Google Apps Script

蹲街弑〆低调 提交于 2020-11-27 00:26:24
问题 I have created a Google Cloud Project MySQL database to use in conjunction with the Jdbc service provided by Google Apps Script. Everything went as planned with the connection. I am basically connecting as it does in the docs. var conn = Jdbc.getCloudSqlConnection(dbUrl, user, userPwd); I shared the file with another account and all of a sudden I am seeing a red error saying: 'Failed to establish a database connection. Check connection string, username and password.' Nothing changed in the