With API Gateway, you can create, publish, maintain, monitor, and secure APIs.
With API Gateway, you can connect your applications to AWS services and other public or private websites. It provides consistent RESTful and HTTP APIs for mobile and web applications to access AWS services and other resources hosted outside of AWS.
As a gateway, it handles all the tasks involved in accepting and processing up to hundreds of thousands of concurrent API calls. These include traffic management, authorization and access control, monitoring, and API version management.
API Gateway sample architecture
API Gateway integrates with Amazon CloudWatch by sending log messages and detailed metrics to it. You can activate logging for each stage in your API or for each method. You can set the verbosity of the logging (Error or Info), and if full request and response data should be logged.
The detailed metrics that API Gateway can send to Amazon CloudWatch are:
- Number of API calls
- Latency
- Integration latency
- HTTP 400 and 500 errors
API Gateway features
| Creates a unified API front end for multiple microservices. |
| Provides DDoS protection and throttling for your backend. |
| Authenticates and authorizes requests to a backend. |
| Throttles, meters, and monetizes API usage by third-party developers. |
Regards
Osama