【问题标题】:Connect Google Cloud Run with Google Compute Engine or GKE将 Google Cloud Run 与 Google Compute Engine 或 GKE 连接
【发布时间】:2021-05-28 03:20:12
【问题描述】:

有没有办法将 Google Cloud Run 与在特定端口的 Compute Engine 实例中运行的服务连接起来?

通过 Google Cloud Run,我想运行一个需要与 Compute Engine 或 Google Kubernetes Engine 中运行的服务连接的 Web 应用。这可能吗?

提前致谢!

【问题讨论】:

    标签: google-cloud-platform google-compute-engine google-kubernetes-engine google-cloud-run


    【解决方案1】:

    是的,这是可能的。您需要创建一个VPC Serverless connector 并使用它来连接GCE 中VM 的内部IP 或VPC 中的任何资源。

    【讨论】:

    • 我正在尝试在 GCR 上运行 WebApp 并连接到在 GCE 或 GKE 上运行的 Hyperledger Fabric 网络,但我遇到了连接错误。我设置了防火墙规则,不知道出了什么问题。
    • 如果您已经创建了连接器,则创建一个新问题并显示您所做的以及您遇到的错误
    猜你喜欢
    • 2020-10-26
    • 2018-08-15
    • 1970-01-01
    • 1970-01-01
    • 2020-01-28
    • 2018-04-28
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多