亚马逊,应用网关_Amazon API网关

亚马逊,应用网关

API stands for “Application Programming Interface”. Amazon API gateway is the front door for your APIs on AWS cloud. An API Gateway provides a set of API endpoints and encapsulates the internal structure without revealing how it is being constructed.

API代表“应用程序编程接口” 。 Amazon API网关是AWS云上API的前门。 API网关提供了一组API端点并封装了内部结构,而没有透露其构造方式。

Amazon API gateway process and handles the request and response from thousands and millions of concurrent API calls. Similar to other services on AWS cloud, it is also build to massively scale.

Amazon API网关处理并处理来自成千上万并发API调用的请求和响应。 与AWS云上的其他服务类似,它也可以大规模构建。

AWS offers Amazon API Gateway service on a very reasonable cost and also available in AWS free tier. It allows you 1 million API calls in a month for free in the free tier and for 12 months in a row. If your application use exceeds the tiers, you simply pay standard, pay-as-you-go service rates.

AWS以非常合理的价格提供了Amazon API Gateway服务,并且还提供AWS免费套餐。 它允许您每月免费获得一次免费的API调用,并且可以连续12个月进行一百万次API调用。 如果您的应用程序使用超出了这些级别,则只需支付标准的即付即用服务费。

什么是API网关? (What is API Gateway?)

To understand and use Amazon API Gateway, you need to know what is an API Gateway and its applications.

要了解和使用Amazon API Gateway,您需要知道什么是API Gateway及其应用程序。

In a large application, you may have more than one microservice running and all of them exposes some of the API endpoints. You can connect to these API endpoints from the microservice url. But think about when you consume these API endpoints in your UI or give them to some third party. You will end up having many URLs. And for each of the service, you have to manage cache, throttling, etc separately.

在大型应用程序中,您可能正在运行多个微服务,并且所有微服务都公开了一些API端点。 您可以从微服务网址连接到这些API端点。 但是请考虑一下何时在用户界面中使用这些API终结点或将它们提供给第三方。 您最终将拥有许多URL。 对于每项服务,您都必须分别管理缓存,限制等。

API gateway removes having several URLs for REST services and provides you a front door for your APIs. It encapsulates the internal structure of your services. And restricts the direct access to your APIs which makes the APIs secure.

API网关删除了用于REST服务的多个URL,并为您的API提供了前门。 它封装了服务的内部结构。 并限制对API的直接访问,这使API安全。

Mostly, API Gateways are a proxy based application which routes the request to the right resources. And take care of all the front door activities like throttling, security, load balancing, logging, authentication, and authorization, etc.

通常,API网关是基于代理的应用程序,可将请求路由到正确的资源。 并注意所有前门活动,例如节流,安全性,负载平衡,日志记录,身份验证和授权等。

Amazon API网关 (Amazon API Gateway)

Amazon API Gateway is an AWS service that is the front door for all your APIs running of AWS cloud. In addition, it offers service for creating, publishing, maintaining, monitoring, and securing REST and WebSocket APIs at any scale.

Amazon API Gateway是一项AWS服务,是运行AWS云的所有API的前门。 此外,它还提供用于创建,发布,维护,监视和保护任意规模的REST和WebSocket API的服务。

You can create a REST API with the help of Amazon API Gateway and deploy it instantly. The API you can use in your application or can also make it available for the third party.

您可以在Amazon API Gateway的帮助下创建REST API并立即进行部署。 您可以在应用程序中使用的API或也可以将其提供给第三方。

Let’s take an example of Amazon API Gateway application to understand it (Source: Amazon Web services):

让我们以Amazon API Gateway应用程序为例来理解它(来源:Amazon Web服务):

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值