Is it possible to run gRPC or HTTP/2 application in a AppEngine Managed VM?

让人想犯罪 __ 提交于 2019-12-25 05:30:14

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/31142404/is-it-possible-to-run-grpc-or-http-2-application-in-a-appengine-managed-vm

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!