how to allow conection form datastudio

326 views
Skip to first unread message

Juan Pablo Vidal

unread,
Mar 12, 2021, 11:24:18 AM3/12/21
to gce-discussion
Hi guys!!

I need connect from Google Datastudio to my server Database MySQL that is runing on Compute Engine.

But i have to create a rule in the firewall for allow the connection.

Any idea?

because i dont want to public my Machine on internet.

Thanks for the help 

pralove

unread,
Mar 12, 2021, 5:54:25 PM3/12/21
to gce-discussion
Hello,

If you have instance with no external Ip in GCP, you can connect from external networks by using the following methods[1].

1. Connecting an instance over a VPn connection[2]
2. Connecting through a bastion host instance[3]
3. Connecting using IAP for TCP forwarding[4]

You can also create a firewall rule[5] to allow connection only from your public ip to the external ip of your database server on ssh port(eg: port 22) that is running on compute engine.

I hope this helps. 

Thanks. 






Reply all
Reply to author
Forward
0 new messages