是否可以在AppEngine托管虚拟机中运行gRPC或HTTP / 2应用程序? [英] Is it possible to run gRPC or HTTP/2 application in a AppEngine Managed VM?
问题描述
我正在尝试构建一个gRPC后端并尝试将其部署到AppEngine托管虚拟机上。是否支持HTTP / 2?如果没有,我可以简单地将它暴露在一个单独的端口上并禁用健康检查,或者我应该将它部署在计算引擎/容器引擎上。
此时,托管虚拟机不支持http / 2。目前最好的解决方案是在不同的端口上运行http / 2服务器,并指定要在app.yaml中转发的端口号( I am trying to build a gRPC backend and trying to deploy it on an AppEngine Managed VM. Is HTTP/2 supported? If not, can I simply expose it on a separate port and disable health checks or should I deploy this on compute engine/container engine. At this point http/2 is not supported by Managed VMs. The best current solution is to run your http/2 server on a different port and specify the port number to forward in app.yaml (doc link). You can keep health checking active on the default (8080) port if you want as long as you have an http endpoint listening there as well. 这篇关于是否可以在AppEngine托管虚拟机中运行gRPC或HTTP / 2应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!