Reputation: 111
I have my database in Cloud SQL (SQL Server). The public IP is disabled.
I wanted to run some select queries on this database based on which I want to create a dashboard on Data Studio.
I tried following two approaches:
Is there anyway I can connect to Cloud SQL (SQL Server) with disabled public IP from BigQuery or Data Studio?
Upvotes: 0
Views: 728
Reputation: 2126
As Suggested by Guillaume, you cannot perform federated queries unless you're querying a PostgreSQL/MySQL instance or have a public IP.
However, in your scenario you can try replicating your data from SQL Server to BigQuery using Cloud Data Fusion as per this Documentation and then perform queries in BigQuery.
Upvotes: 1
Reputation: 75940
No, you can only perform BigQuery federated queries if you use:
You have none of 2.
For datastudio, it's an external tool, not attached to your project/VPC, and so, you can't access your database without a public IP.
Upvotes: 1