6

I've created one instance on Google Cloud with PostgreSql and I've connected the data studio with this database adding all the addresses specified in white list specified at link below

[https://support.google.com/datastudio/answer/7288010?hl=en]

With that solution I have to open access to my database to a lot of addresses. And this issue, associated to the fact that SSL is not supported is a big lack of security. Is there any different way to use google data studio for reports? Maybe using CloudSqlProxy and considering google data studio as an external application from the GC environment?

Thanks for cooperation

Michele

2 Answers 2

4

I am assuming you are concerned about data being exposed due to the lack of support for SSL. Though that is a valid concern in a lot of cases, for your specific use case, it should not matter:

  • All the ip addresses that you have to whitelist here are Google Server/infrastructure addresses.
  • Data Studio as an application runs on Google's servers. So the communication between Google Cloud SQL and Google Data Studio will be entirely within Google's network. Even if it is not SSL, that traffic should not be exposed to outside world.
  • The connection between any client computer (where report is being viewed) and Data Studio will always be HTTPS.

However, if you still want to have an SSL connection, you can create a Community Connector in Apps Script that uses the JDBC service to connect to databases using SSL.

Sign up to request clarification or add additional context in comments.

3 Comments

If security is not a concern, you can authorize 0.0.0.0/0 to permit any IP to connect. Saves you 10-15 minutes authorizing all those Google IPs. cloud.google.com/sql/docs/postgres/diagnose-issues
@MinhazKazi Regarding the 2nd point, this means that a hacker that creates a Google project and spins up an instance there, can try brute forcing into the database, without any firewall protection? Could you maybe be a bit more specific on what is "Google's network"?
I am not the expert in that area. You should be able to find the necessary information here: cloud.google.com/security/infrastructure
0

Try using client.key in both client fields.

The solution posted below helped here, https://support.google.com/datastudio/thread/8739014?hl=en

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.