Amazon API Gateway Architecture
The below diagram shows how the APIs built-in Amazon API Gateway provides customers with an integrated and consistent developer experience for building AWS serverless applications. It acts as a gateway for applications to access data from your backend services such as code running on Amazon Elastic Compute Cloud (Amazon EC2), AWS Lambda, any web applications, etc.
The entire architecture of AWS API Gateway consists of the below key components:
- Amazon API Gateway: It is used to create, publish, secure, maintain and monitor APIs.
- API Gateway Cache: Users can enable API caching to cache their endpoint responses, which can reduce the number of calls made to the endpoint and also improve the latency of API requests.
- Amazon Cloud Watch: It is a monitoring and observability service. It collects monitoring and operational data and visualizes it using automated dashboards, which allows users to visually monitor calls to their services.
Amazon Web Service – Introduction to API Gateway
Firstly, API stands for Application Program Interface. An API Gateway is a management tool that acts as an interface between users and microservices. The Amazon API Gateway is an AWS service that allows users to create, publish, secure, maintain and monitor APIs at any scale. You can create APIs in your client application and can also make them available to third-party developers. It is serverless. It supports HTTP, WebSocket, and REST APIs. API Gateway is a type of server that provides the service of API which is used to customize each client.
The Netflix API Gateway is the most popular example of API Gateway. Many e‑commerce site uses an API gateway to provide the endpoint for retrieving the details of all products from mobile clients with only a single request. So, This invokes many different services like the proper information of product, and product reviews and then combines the results.