【问题标题】:How to connect Cloud9 (python) to Redshift in VPC?如何将 Cloud9 (python) 连接到 VPC 中的 Redshift?
【发布时间】:2018-11-13 03:05:55
【问题描述】:

我的目标是使用 API Gateway -> Lambda -> Redshift 构建一个 API。我正在 Cloud9 中构建 Lambda 函数。我的问题是我们的 Redshift 安全地隐藏在 VPC 中。我可以将 IP 列入白名单(用于本地开发),但由于 Cloud9/Lambda 是无服务器的,它们没有稳定的 IP。

如何将 Cloud9 环境 Lambda 放在正确的位置,以便他们可以 ping 我的数据库?

【问题讨论】:

    标签: aws-lambda amazon-redshift aws-api-gateway vpc aws-cloud9


    【解决方案1】:

    This tutorial 有一步一步的。使用公共子网和私有子网设置 VPC 可以获得稳定的 IP 地址。

    【讨论】:

      猜你喜欢
      • 2017-12-26
      • 2020-11-26
      • 2019-07-01
      • 2021-04-29
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多