Google 的 API Gateway 和 Cloud Endpoints 之间的区别

Posted

技术标签:

【中文标题】Google 的 API Gateway 和 Cloud Endpoints 之间的区别【英文标题】:Difference between Google's API Gateway and Cloud Endpoints 【发布时间】:2020-12-26 22:22:00 【问题描述】:

最近查了一下谷歌发布了一个API Gateway的产品,但是我不明白已经创建的Cloud Endpoints有什么区别,两者看起来很相似。

API GatewayCloud Endpoints 的更新版本吗?还是有什么不同?

提前致谢!

【问题讨论】:

你能分享一下 google API 网关页面吗?AFAIK google 提供了 2 个 API 网关 apigee 和 GCP Cloud Endpoints @J.A.Hernández 我将其添加到问题中 【参考方案1】:

API Gateway 是一个新的 GCP 服务,just announced today。

据了解,它是 Cloud Endpoints 的改进版。 API Gateway 可以管理多个后端的 API,包括 Cloud Functions、Cloud Run、App Engine、Compute Engine 和 Google Kubernetes Engine。

主要区别在于 API 网关不依赖于云运行,从而使实施更加用户友好、快速和简洁。

产品、API 网关和云端点都支持相同的 Open API 实施。

【讨论】:

另一个值得注意的区别是 API Gateway 的 beta 版本还不支持自定义域。您可以设置自己的负载平衡器以将流量重定向到自定义域,但不像使用 Cloud Endpoints 那样简单。除了这个怪癖,我更喜欢 API Gateway 的简单性。 API Gateway 是否支持 Cloud Endpoints Portal 之类的东西?还是我应该建立自己的招摇文档? 我了解到 GCP API 网关目前没有开发者门户

以上是关于Google 的 API Gateway 和 Cloud Endpoints 之间的区别的主要内容,如果未能解决你的问题,请参考以下文章

api-gateway实践(15)guava-19.0和google-collections-1.0 的 ImmutableSet 类冲突

Google Cloud 线上课堂 | Kubernetes 网络演进,GKE Gateway API 打开新篇章

Google Cloud 线上课堂 | Kubernetes 网络演进,GKE Gateway API 打开新篇章

将 AWS API Gateway 和私有 EC2 实例拼接在一起

gRPC 到 JSON 代理生成器 grpc-gateway

grpc-POST提交主订单数据(gateway实现http api)