是否可以使用GCP上的gRPC端点路由到PROJECT_ID.appspot.com网址?

时间:2021-08-14 23:13:26

I'm trying to quickly setup a gRCP-endpoint instance on GCP but they seem to be only accessible from inside GCP.

我正在尝试在GCP上快速设置gRCP端点实例,但它们似乎只能从GCP内部访问。

The thing is you can have an endpoint that is managed and it will have a PROJECT_ID.appspot.com URL.

问题是您可以拥有一个托管的端点,它将具有PROJECT_ID.appspot.com URL。

Also, can a gRPC endpoint be publicly accessible ? Is it recommended ?

此外,gRPC端点可以公开访问吗?推荐吗?

1 个解决方案

#1


0  

pRPC is one solution, as I am using golang.

pRPC是一种解决方案,因为我正在使用golang。

Following this post I might use it. It allows to do gRPC on appengine, without the streaming capabilities, which is fine for me now.

在这篇文章后我可能会用它。它允许在appengine上进行gRPC,没有流媒体功能,这对我来说很好。

Hope someone has a better answer.

希望有人有更好的答案。

#1


0  

pRPC is one solution, as I am using golang.

pRPC是一种解决方案,因为我正在使用golang。

Following this post I might use it. It allows to do gRPC on appengine, without the streaming capabilities, which is fine for me now.

在这篇文章后我可能会用它。它允许在appengine上进行gRPC,没有流媒体功能,这对我来说很好。

Hope someone has a better answer.

希望有人有更好的答案。