Amazon API Gateway is a fully managed service that makes it easy for developers to create, publish, maintain, monitor, and secure APIs at any scale. With a few clicks in the AWS Management Console, you can create REST and WebSocket APIs that act as a “front door” for applications to access data, business logic, or functionality from your backend services, such as workloads running on Amazon Elastic Compute Cloud (Amazon EC2), code running on AWS Lambda, any web application, or real-time communication applications.
API Gateway handles all the tasks involved in accepting and processing up to hundreds of thousands of concurrent API calls, including traffic management, authorization and access control, monitoring, and API version management. API Gateway has no minimum fees or startup costs. You pay only for the API calls you receive and the amount of data transferred out and, with the API Gateway tiered pricing model, you can reduce your cost as your API usage scales.
How API Gateway Works
EFFICIENT API DEVELOPMENT
Run multiple versions of the same API simultaneously with API Gateway, allowing you to quickly iterate, test, and release new versions. You pay only for calls made to your APIs and data transfer out and there are no minimum fees or upfront commitments.
Monitor performance metrics and information on API calls, data latency, and error rates from the API Gateway dashboard, which allows you to visually monitor calls to your services using Amazon CloudWatch.
PERFORMANCE AT ANY SCALE
Provide end users with the lowest possible latency for API requests and responses by taking advantage of our global network of edge locations using Amazon CloudFront. Throttle traffic and cache the output of API calls to ensure that backend operations withstand traffic spikes and backend systems are not unnecessarily called.
COST SAVINGS AT SCALE
API Gateway provides a tiered pricing model for API requests. With an API Requests price as low as $1.51 per million requests at the highest tier, you can decrease your costs based on the number of API requests you make per region across your AWS accounts.
FLEXIBLE SECURITY CONTROLS
Authorize access to your APIs with AWS Identity and Access Management (IAM) and Amazon Cognito. If you use OAuth tokens or other authorization mechanisms, API Gateway can help you verify incoming requests by executing a Lambda authorizer from AWS Lambda.
RESTFUL API ENDPOINTS
Create resource-based APIs and use API Gateway’s data transformation capabilities to generate the requests in the language target services expect. API Gateway also helps protect your existing services by enforcing throttling rules to ensure that your backend can withstand unpredictable spikes in traffic.
Create REST APIs using API Gateway that mobile and web applications can use to call publicly available AWS services through code running in AWS Lambda. Lambda runs your code on a high-availability compute infrastructure, eliminating the need to provision, scale, or manage any servers.
Build real-time two-way communication applications, such as chat apps and streaming dashboards, without having to provision or manage any servers or worry about connected users and devices. API Gateway maintains a persistent connection between clients, handles message transfer, and pushes data through backend servers.