2

所以我一直在尝试使用我的无服务器后端(即 Aurora MySQL)设置一个 BI 工具。

架构如下:

在此处输入图像描述

在这些方面实现:tutorial-link

现在,我正在探索将此后端与 BI/Analytics 工具连接的选项,以实现快速查询和可视化目的。

由于我们的后端是 Aurora MySQL Serverless,因此限制是无法直接连接到端点,就像使用预置的端点一样。

如此处所述:https ://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html

在类似的线路上,我正在尝试设置一个 AWS Direct Connect,它目前处于请求阶段:

在此处输入图像描述

我需要帮助,这是否是正确的方法,如果是这样,是否有使用 Direct Connect 和 Aurora Serverless 的教程?

另一方面,是否有任何人成功使用过无服务器后端的双向工具。

需要能够在最短的时间内启动并运行,以便快速推断。然后转向 ETL 或更复杂的用例。

非常感谢任何帮助!

谢谢, 阿纳布

4

1 回答 1

13

想通了。

需要设置一个 Enterprise QuickSight 帐户才能连接到私有 VPC。常规 QuickSight 帐户期望端点是公开可用的。虽然无服务器端点不是。

限制:https ://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html

先决条件:企业 QuickSight 帐户、Aurora Serverless 集群,并确保您的集群在创建连接时具有活动容量单位。

    Step 1: In QuickSight, choose your profile icon at the top right of the screen, then choose "Manage QuickSight". From the menu at left, choose "Manage VPC connections".

    Step 2: Choose "Add VPC connection" to add a new VPC connection.

    Step 3: For "VPC connection name", type a unique descriptive name. This name doesn't need to be an actual VPC ID or name.

    Step 4: Type the subnet ID for Subnet ID, and type the group ID for Security group ID. Make sure that the subnet and the security group are in the same VPC. Also, make sure you are accessing a VPC that is in the same AWS Region where you are creating Amazon QuickSight analyses. You can't use Amazon QuickSight in one AWS Region to connect to a subnet and security group that are in a different AWS Region.

    Important note: Please make sure the Security group you use for the VPC connection has access to the Security group used by your Aurora Serverless cluster and vice versa.

    Step 5: Review your choices, then choose "Create".

    Step 6: Create a new Aurora Data source

    Step 7: For the "Connection Type" option choose your newly created VPC connection from the drop down.

    Step 8 Fill out the rest of the details on for the connection and click "Create Data Source".

您现在应该能够选择要在分析中使用的表或编写自定义 SQL 查询来获取数据。

也许将来会帮助某人。

于 2019-03-06T06:17:49.973 回答