我可以在Google云功能上托管Node.js GRPC服务器吗? [英] Can I host a nodejs GRPC server on google cloud functions?

查看:88
本文介绍了我可以在Google云功能上托管Node.js GRPC服务器吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个在AWS实例上运行的nodejs GRPC服务器,并且想移至google cloud功能.这可能吗?我的无服务器选项是什么

I have a nodejs GRPC server running on a AWS instance and would like to move to a google cloud function. Is this possible? What are my serverless options

推荐答案

是的,可以使用 云功能 > 用于您的 gRPC服务,因为它提供了一个无服务器事件驱动的平台,该平台可以对某些事件或HTTP请求做出反应.另外,支持您选择的语言 Node.js .

Yes, it is possible to use Cloud Functions for your gRPC service, as it offers a serverless event-driven platform that reacts to certain events or HTTP requests. Plus, your language of choice, Node.js, is supported.

根据您的特定用例,您还可以探索其他Google无服务器选项:

Depending on your specific use case, you may also explore other Google serverless options:

  1. Cloud Run ( Beta )-无服务器计算平台,使您可以通过HTTP请求运行无状态容器.
  2. 在GKE上运行云( Beta )-用于Cloud Run的Google Kubernetes Engine加载项.
  3. > App Engine标准环境 -完全托管的无服务器Web和API后端的应用程序平台.要组织许多功能,您可以实施Cloud Endpoints for API Management,更具体地
  1. Cloud Run (Beta) - Serverless compute platform that enables you to run stateless container via HTTP requests.
  2. Cloud Run on GKE (Beta) - Google Kubernetes Engine add-on for Cloud Run.
  3. App Engine standard environment - Fully-managed serverless application platform for web and API backends. To organize your many functions, you can implement Cloud Endpoints for API Management, more especifically Cloud Endpoints for gRPC

这是 GCP无服务器选项,所以您可以查看全局并确定最适合您的.

这篇关于我可以在Google云功能上托管Node.js GRPC服务器吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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