如何在GCP专用网络中的服务器之间发送请求? [英] How to send requests between servers in Private Network in GCP?

查看:55
本文介绍了如何在GCP专用网络中的服务器之间发送请求?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

用例如下:

  • 仅具有私有IP(无外部IP)的Compute Engine实例
  • 该项目具有不创建外部IP的政策
  • 目标是能够从Cloud Build向私有计算引擎实例发送HTTP请求

网络中确保交流的最佳实践是什么?

What are the best practices in Networking to ensure that communication?

谢谢

推荐答案

目前,您不能将Cloud Build插入VPC,从而无法从那里连接私有资源.

For now, you can't plug Cloud Build in your VPC and thus connect private resources from there.

一项即将推出的新功能名为 Worker Pool.原则是在您的项目中配置Compute Engine实例,然后在您的VPC中配置Compute Engine实例以运行Cloud Build管道.因为管道将在VPC的VM中运行,所以您将能够访问VPC的专用IP.

A new feature is coming and named Worker Pool. The principle is to provision Compute Engine instances in your project, and thus in your VPC to run Cloud Build pipeline. Because the pipeline will run in your VM in your VPC, you will be able to reach the private IPs of your VPC.

这篇关于如何在GCP专用网络中的服务器之间发送请求?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆