本文介绍了Google App Engine能否在不使用外部IP的情况下向同一项目中的Compute Engine实例发出http请求?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在App Engine中,我希望对在同一个Google云项目中创建的计算引擎实例上运行的Web服务器执行http获取调用,并且我想知道是否可以在不启用的情况下对此实例进行调用一个外部IP为它?是App Engine和Compute Engine的情况下,从同一项目,同一网络内,我可以从App Engine的调用计算引擎实例的名称?

In App Engine I'd like to make http fetch calls to a web server running on an Compute Engine instance, created within the same Google cloud project, and I'm wondering if I can make such calls to the instance without enabling an external IP for it? Are App Engine and Compute Engine instances, from the same project, within the same network and can I call a Compute Engine instance by name from App Engine?

推荐答案

目前这是不受支持的。 App Engine和GCE之间的通信必须通过URLFetch API并使用公共IP。

This is currently unsupported. Communication between App Engine and GCE must go through the URLFetch API and use a public IP.

这篇关于Google App Engine能否在不使用外部IP的情况下向同一项目中的Compute Engine实例发出http请求?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-24 13:39