简体   繁体   English

如何将 Google Data Studio 连接到 AWS RDS Postgres 实例?

[英]How can I connect Google Data Studio to an AWS RDS Postgres instance?

When I go to make a new data source in Data Studio, I'm prompted to enter the client/server certificates to make a secure connection.当我 go 在 Data Studio 中创建新数据源时,系统提示我输入客户端/服务器证书以建立安全连接。 Where can I get this client certificate and key?我在哪里可以获得此客户端证书和密钥? How can I allow Google Data Studio to connect to my RDS instance?如何允许 Google Data Studio 连接到我的 RDS 实例?

在此处输入图像描述

Do the following:请执行下列操作:

  1. Add the Google IP addresses to your RDS security group inbound rule list.Google IP 地址添加到您的 RDS 安全组入站规则列表。

  2. Generate a self-signed cert.生成自签名证书。 This answer provides instructions.这个答案提供了说明。

openssl req -newkey rsa:2048 -nodes -keyout client.key -x509 -days 365 -out client.crt

  1. Get the correct server PEM file for your region from AWSAWS获取您所在区域的正确服务器 PEM 文件

  2. Add your database user information to the form and attach your client.crt , client.key and AWS pem files.将您的数据库用户信息添加到表单并附加您的client.crtclient.key和 AWS pem 文件。 在此处输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM