# Amazon API Gateway

Cloud service · AWS. Updated 2026-11-12. Page: https://blowstack.com/tools/cloud-services-hub/amazon-api-gateway

> 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, providing a way to facilitate communication between software applications through web services.

Practice exams covering Amazon API Gateway: [ANS-C01 AWS Certified Advanced Networking - Specialty](https://blowstack.com/practice-exams/aws-certified-advanced-networking-specialty), [DEA-C01 AWS Certified Data Engineer - Associate](https://blowstack.com/practice-exams/aws-certified-data-engineer-associate), [DVA-C02 AWS Certified Developer - Associate](https://blowstack.com/practice-exams/aws-certified-developer-associate), [DOP-C02 AWS Certified DevOps Engineer - Professional](https://blowstack.com/practice-exams/aws-certified-devops-engineer-professional), [AIP-C01 AWS Certified Generative AI Developer - Professional](https://blowstack.com/practice-exams/aws-certified-generative-ai-developer-professional), [SCS-C03 AWS Certified Security - Specialty](https://blowstack.com/practice-exams/aws-certified-security-specialty), [SAA-C03 AWS Certified Solutions Architect - Associate](https://blowstack.com/practice-exams/aws-certified-solutions-architect-associate), [SAP-C02 AWS Certified Solutions Architect - Professional](https://blowstack.com/practice-exams/aws-certified-solutions-architect-professional).

## 9 key features of Amazon API Gateway

Amazon API Gateway provides a scalable, secure, and cost-effective way to manage APIs with support for multiple protocols, performance at any scale, robust security and compliance features, cost efficiency, and comprehensive monitoring and management options.

1. **Protocol Flexibility**: Amazon API Gateway supports a variety of protocols including RESTful APIs and WebSocket APIs, enabling developers to create, publish, maintain, monitor, and secure APIs at any scale.
2. **Performance at Scale**: It provides efficient, low-latency performance at any scale. 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.
3. **Security and Compliance**: Offers robust security features that enable developers to secure their APIs. These include options to authenticate and authorize access through identity providers and support for AWS IAM roles and policies. It also complies with ISO, PCI, SOC, and other certifications.
4. **Cost Efficiency**: With Amazon API Gateway, there is no minimum fee or upfront commitment. HTTP APIs and REST APIs have API-call charges, while WebSocket APIs are billed for messages sent and received and connection time. This makes it a cost-effective solution for businesses of all sizes.
5. **Monitoring and Management**: API Gateway integrates with Amazon CloudWatch allowing developers to gain insights into API performance and usage metrics. This enables proactive monitoring and management of APIs to ensure optimal performance and availability.
6. **Canary Release Deployments**: Supports canary release deployments for safely rolling out API changes.
7. **Lambda Authorizers**: Supports Lambda authorizer functions as an authentication mechanism.
8. **Request and Response Validation and Transformation**: Supports request/response validation and transformation.
9. **CloudTrail Logging**: Supports CloudTrail logging and monitoring of API usage and API changes.

## Where Amazon API Gateway is used

Amazon API Gateway serves a versatile role in enabling serverless backend, RESTful API development, real-time bidirectional communication via WebSockets, monetization of APIs through AWS Marketplace, and acting as a unified aggregation layer for microservices.

1. **Serverless Application Backend**: Amazon API Gateway is commonly used to build secure and scalable backends for serverless applications. By integrating with AWS Lambda, it allows developers to execute code in response to HTTP requests without managing servers. This setup is ideal for applications with variable workloads, ensuring high availability, performance, and automatic scaling.
2. **RESTful API Development**: Developers utilize Amazon API Gateway to create, publish, maintain, monitor, and secure RESTful APIs at any scale. This enables applications to access data, business logic, or functionality from backend services. The gateway provides tools for version management, authorization and access control, throttling, monitoring, and API versioning, facilitating a smooth development lifecycle and API management.
3. **Real-Time Two-Way Communication**: With the WebSocket protocol support, Amazon API Gateway enables real-time two-way communication between clients and servers. This feature is pivotal for building interactive applications, such as chat applications, real-time notifications, and collaborative platforms, where an instant and continuous data exchange is crucial.
4. **API Monetization**: Amazon API Gateway supports the use case of API monetization, enabling organizations to create, deploy, and manage APIs as products. By integrating with AWS Marketplace, enterprises can allow developers to subscribe to their APIs, generate revenue based on API usage, and thus turn their APIs into profitable assets.
5. **Aggregation Layer for Microservices**: API Gateway acts as an aggregation layer for microservices, simplifying the architecture by providing a single entry point for multiple backend services. This helps in managing microservices more effectively, facilitating better monitoring, security, and reliability across all services, while also improving the client experience by reducing the number of round trips required.

## How Amazon API Gateway is priced

Amazon API Gateway pricing includes pay-as-you-go for API calls, optional monthly caching fees, and standard AWS data transfer fees.

- **Pay-As-You-Go**: HTTP APIs and REST APIs are billed by API calls. WebSocket APIs are billed by messages sent and received and the number of minutes a client is connected.
- **Hourly Caching Fees**: Optional dedicated caching is charged hourly for each API stage, with rates based on the selected cache size and no long-term commitments.
- **Data Transfer Fees**: HTTP APIs and REST APIs incur charges for data transferred out, except that Private APIs have no data transfer out charges.
- **AWS PrivateLink Charges**: AWS PrivateLink charges apply when using Private APIs in API Gateway.
- **API Gateway Portals**: Each Portal's monthly charge includes 10 PortalProducts with 40 ProductRestEndpoints each. Additional PortalProducts are billed separately, and monthly Portal and PortalProduct charges are prorated based on usage within the month.
- **AWS Free Tier Credits**: Starting July 15, 2025, new AWS customers receive up to $200 in AWS Free Tier credits applicable to eligible services, including API Gateway. Customers can choose a free plan available for six months or a paid plan; credits expire within 12 months of account creation.

## Services Amazon API Gateway works with

- **[AWS Lambda](https://blowstack.com/tools/cloud-services-hub/aws-lambda)**: Amazon API Gateway integrates with AWS Lambda to allow API endpoints to invoke Lambda functions, enabling serverless computing and automatic handling of backend processing.
- **[Amazon CloudWatch](https://blowstack.com/tools/cloud-services-hub/amazon-cloudwatch)**: Provides monitoring and logging capabilities for APIs managed by Amazon API Gateway, allowing the capture of metrics, logs, and alarms for API performance and health.
- **[Amazon Cognito](https://blowstack.com/tools/cloud-services-hub/amazon-cognito)**: Facilitates user authentication and authorization through integration with Amazon Cognito User Pools and Identity Pools, enabling secure access to APIs.
- **[AWS WAF](https://blowstack.com/tools/cloud-services-hub/aws-waf)**: Integrates with AWS WAF (Web Application Firewall) to protect APIs from common web exploits and threats including DDoS attacks.
- **[Amazon DynamoDB](https://blowstack.com/tools/cloud-services-hub/amazon-dynamodb)**: Allows APIs to interact with Amazon DynamoDB for data storage and retrieval, providing seamless integration for backend database services.
- **[AWS Step Functions](https://blowstack.com/tools/cloud-services-hub/aws-step-functions)**: Enables orchestration and coordination of multiple AWS services using step functions, integrating business workflows with API Gateway endpoints.
- **[Amazon S3](https://blowstack.com/tools/cloud-services-hub/amazon-s3)**: Facilitates storage interaction by enabling APIs to retrieve data from and store data into Amazon S3 buckets.
- **[Amazon Athena](https://blowstack.com/tools/cloud-services-hub/amazon-athena)**: API Gateway REST APIs can invoke Athena API actions through AWS service integrations. An endpoint can start a query or retrieve its execution status without a Lambda intermediary.
- **[Amazon Aurora](https://blowstack.com/tools/cloud-services-hub/amazon-aurora)**: API Gateway can invoke the RDS Data API through an AWS service integration to execute SQL against supported Aurora clusters. Request mappings can translate API parameters into SQL parameters.
- **[Amazon Aurora Serverless](https://blowstack.com/tools/cloud-services-hub/amazon-aurora-serverless)**: API Gateway can expose database operations through the RDS Data API for Aurora Serverless configurations that support it. This allows an API method to execute a parameterized statement without managing a database connection.
- **[Amazon Bedrock](https://blowstack.com/tools/cloud-services-hub/amazon-bedrock)**: API Gateway REST APIs can invoke Amazon Bedrock model operations through AWS service integrations. API Gateway can authenticate clients, transform inference requests, and return model responses without an intervening Lambda function.
- **[Amazon Bedrock AgentCore](https://blowstack.com/tools/cloud-services-hub/amazon-bedrock-agentcore)**: API Gateway REST APIs can be registered as targets in AgentCore Gateway. AgentCore Gateway exposes selected API operations as tools that agents can discover and invoke.
- **[Amazon CloudFront](https://blowstack.com/tools/cloud-services-hub/amazon-cloudfront)**: API Gateway uses a managed CloudFront distribution for edge-optimized REST API endpoints. Regional API endpoints can also serve as origins for a customer-managed distribution with its own caching and routing configuration.
- **[Amazon Comprehend](https://blowstack.com/tools/cloud-services-hub/amazon-comprehend)**: API Gateway REST APIs can call Comprehend operations through AWS service integrations. For example, an API can accept text and return detected sentiment or entities without a Lambda intermediary.
- **[Amazon Data Firehose](https://blowstack.com/tools/cloud-services-hub/amazon-kinesis-data-firehose)**: API Gateway can send request data directly to Firehose using AWS service integrations. HTTP APIs support first-class PutRecord and PutRecordBatch integrations for ingestion endpoints.
- **[Amazon DevOps Guru](https://blowstack.com/tools/cloud-services-hub/amazon-devops-guru)**: DevOps Guru can analyze supported API Gateway resources and their operational metrics to identify anomalous behavior. Its insights can help investigate changes in API latency or errors alongside related backend resources.
- **[Amazon EC2](https://blowstack.com/tools/cloud-services-hub/amazon-ec2)**: API Gateway can expose HTTP applications running on EC2 instances. Private integrations use VPC links and supported load balancers to reach instance backends without making those backends publicly accessible.
- **[Amazon Elastic Container Service (Amazon ECS)](https://blowstack.com/tools/cloud-services-hub/amazon-elastic-container-service-(amazon-ecs))**: API Gateway can route requests to ECS services through private load-balancer integrations. HTTP APIs can also use AWS Cloud Map service discovery to reach registered ECS task endpoints.
- **[Amazon Elastic Kubernetes Service (Amazon EKS)](https://blowstack.com/tools/cloud-services-hub/amazon-elastic-kubernetes-service-(amazon-eks))**: API Gateway can expose applications running in EKS through a VPC link and a supported load balancer serving the Kubernetes workloads. This places API authentication, routing, and throttling in front of private cluster applications.
- **[Amazon EMR](https://blowstack.com/tools/cloud-services-hub/amazon-emr)**: API Gateway REST APIs can invoke EMR API actions through AWS service integrations. An API can submit a processing step to a cluster or retrieve its execution status.
- **[Amazon EventBridge](https://blowstack.com/tools/cloud-services-hub/amazon-eventbridge)**: API Gateway HTTP APIs can publish events directly to EventBridge with the PutEvents integration. EventBridge rules can also invoke supported API Gateway REST API endpoints as targets.
- **[Amazon Forecast](https://blowstack.com/tools/cloud-services-hub/amazon-forecast)**: API Gateway REST APIs can invoke the Forecast query API through an AWS service integration. An endpoint can return forecast values for an item and time range supplied by a client.
- **[Amazon Fraud Detector](https://blowstack.com/tools/cloud-services-hub/amazon-fraud-detector)**: API Gateway REST APIs can invoke Fraud Detector prediction operations through AWS service integrations. An endpoint can map submitted event attributes into a fraud prediction request and return the resulting outcomes.
- **[Amazon GameLift](https://blowstack.com/tools/cloud-services-hub/amazon-gamelift)**: API Gateway REST APIs can invoke GameLift API actions through AWS service integrations. For example, an authenticated matchmaking endpoint can request creation of a game session.
- **[Amazon Kendra](https://blowstack.com/tools/cloud-services-hub/amazon-kendra)**: API Gateway REST APIs can invoke Kendra query operations through AWS service integrations. An application-facing search endpoint can map a search phrase into a Kendra request and return matching results.
- **[Amazon Kinesis Data Streams](https://blowstack.com/tools/cloud-services-hub/amazon-kinesis-data-streams)**: API Gateway can write incoming request data directly to Kinesis Data Streams. HTTP APIs provide first-class PutRecord and PutRecords integrations, while REST APIs can map requests to Kinesis API actions.
- **[Amazon Lex](https://blowstack.com/tools/cloud-services-hub/amazon-lex)**: API Gateway REST APIs can invoke Lex runtime operations through AWS service integrations. An API can forward a user's message and session information to a bot and return its response.
- **[Amazon Personalize](https://blowstack.com/tools/cloud-services-hub/amazon-personalize)**: API Gateway REST APIs can invoke Personalize Runtime operations through AWS service integrations. An endpoint can request recommendations for a user and return the recommended items.
- **[Amazon Polly](https://blowstack.com/tools/cloud-services-hub/amazon-polly)**: API Gateway REST APIs can invoke Polly through AWS service integrations to synthesize submitted text. Binary response handling allows an API to return the resulting audio to its client.
- **[Amazon RDS](https://blowstack.com/tools/cloud-services-hub/amazon-rds)**: API Gateway can invoke the RDS Data API for supported Aurora databases managed by Amazon RDS. It can map HTTP requests to statement execution and return the results without a Lambda intermediary.
- **[Amazon Redshift](https://blowstack.com/tools/cloud-services-hub/amazon-redshift)**: API Gateway REST APIs can invoke the Redshift Data API through AWS service integrations. API endpoints can submit SQL statements, check their status, and retrieve results.
- **[Amazon Rekognition](https://blowstack.com/tools/cloud-services-hub/amazon-rekognition)**: API Gateway REST APIs can invoke Rekognition operations through AWS service integrations. An endpoint can submit an image or an S3 image reference for label detection and return the analysis.
- **[Amazon Route 53](https://blowstack.com/tools/cloud-services-hub/amazon-route-53)**: Route 53 alias records can direct a custom domain to an API Gateway Regional or edge-optimized custom domain endpoint. This lets clients access an API using a hostname such as api.example.com.
- **[Amazon SageMaker](https://blowstack.com/tools/cloud-services-hub/amazon-sagemaker)**: API Gateway REST APIs can invoke SageMaker inference endpoints through AWS service integrations. API Gateway maps the client's payload to an inference request and returns the model's prediction.
- **[Amazon Simple Email Service (Amazon SES)](https://blowstack.com/tools/cloud-services-hub/amazon-simple-email-service-(amazon-ses))**: API Gateway REST APIs can invoke SES email-sending actions through AWS service integrations. A secured API method can map submitted form data into an email request without a Lambda intermediary.
- **[Amazon Simple Notification Service (Amazon SNS)](https://blowstack.com/tools/cloud-services-hub/amazon-simple-notification-service-(amazon-sns))**: API Gateway can publish messages directly to SNS through an AWS service integration. An API method can transform a client request into a notification published to a configured topic.
- **[Amazon Simple Queue Service (Amazon SQS)](https://blowstack.com/tools/cloud-services-hub/amazon-simple-queue-service-(amazon-sqs))**: API Gateway can send requests directly to SQS queues, allowing an API to acknowledge work before a consumer processes it. HTTP APIs offer first-class queue actions, and REST APIs support mapped AWS service integrations.
- **[Amazon Textract](https://blowstack.com/tools/cloud-services-hub/amazon-textract)**: API Gateway REST APIs can invoke Textract operations through AWS service integrations. An endpoint can analyze a document synchronously or start asynchronous processing for a document stored in S3.
- **[Amazon Transcribe](https://blowstack.com/tools/cloud-services-hub/amazon-transcribe)**: API Gateway REST APIs can invoke Transcribe batch-job operations through AWS service integrations. An API can start transcription of media stored in S3 and expose another method for checking the job's status.
- **[Amazon Translate](https://blowstack.com/tools/cloud-services-hub/amazon-translate)**: API Gateway REST APIs can invoke Translate through AWS service integrations. An endpoint can accept text and language codes and return translated text.
- **[Amazon Verified Permissions](https://blowstack.com/tools/cloud-services-hub/amazon-verified-permissions)**: API Gateway can enforce Verified Permissions authorization decisions through a Lambda authorizer. Verified Permissions supports creating API-linked policy stores and authorizer resources that map API methods and paths to authorization actions.
- **[Amazon VPC](https://blowstack.com/tools/cloud-services-hub/amazon-vpc)**: API Gateway private REST APIs can be accessed through interface VPC endpoints and restricted with endpoint and resource policies. VPC links let API Gateway reach supported private backend resources inside a VPC.
- **[AWS Amplify](https://blowstack.com/tools/cloud-services-hub/aws-amplify)**: Amplify can provision API Gateway REST APIs and connect them to application backends such as Lambda functions. Amplify client libraries can call these APIs using configured authentication, including IAM credentials.
- **[AWS App Runner](https://blowstack.com/tools/cloud-services-hub/aws-app-runner)**: API Gateway can forward requests to a public App Runner service using an HTTP integration. This adds API Gateway routing, authorization, and throttling in front of the application's App Runner endpoint.
- **[AWS AppConfig](https://blowstack.com/tools/cloud-services-hub/aws-appconfig)**: API Gateway REST APIs can invoke AppConfig API operations through AWS service integrations. A controlled configuration endpoint can retrieve configuration data while API Gateway handles client access and request mapping.
- **[AWS AppSync](https://blowstack.com/tools/cloud-services-hub/aws-appsync)**: API Gateway endpoints can serve as HTTP data sources for AppSync resolvers. AppSync can sign requests with IAM credentials when the API Gateway method uses IAM authorization.
- **[AWS Audit Manager](https://blowstack.com/tools/cloud-services-hub/aws-audit-manager)**: Audit Manager can collect evidence used to assess API Gateway controls through its AWS Config and CloudTrail integrations. This supports auditing settings and activity such as API logging and configuration changes.
- **[AWS Batch](https://blowstack.com/tools/cloud-services-hub/aws-batch)**: API Gateway REST APIs can submit Batch jobs through AWS service integrations. An API can map a client request to SubmitJob and return the job identifier for later status checks.
- **[AWS Certificate Manager (ACM)](https://blowstack.com/tools/cloud-services-hub/aws-certificate-manager-(acm))**: API Gateway uses ACM certificates to secure custom domain names with TLS. Regional custom domains use certificates in the API's Region, while edge-optimized custom domains require certificates in US East (N. Virginia).
- **[AWS Cloud Map](https://blowstack.com/tools/cloud-services-hub/aws-cloud-map)**: API Gateway HTTP APIs support private integrations that discover backend instances through Cloud Map. API Gateway uses the registered addresses and ports to route requests to services such as ECS tasks.
- **[AWS CloudFormation](https://blowstack.com/tools/cloud-services-hub/aws-cloudformation)**: CloudFormation provisions API Gateway resources, including APIs, routes, methods, integrations, stages, authorizers, and custom domains. Templates can deploy an API together with its backend resources and permissions.
- **[AWS CloudTrail](https://blowstack.com/tools/cloud-services-hub/aws-cloudtrail)**: CloudTrail records supported API Gateway management operations, such as creating an API or changing a stage. These events provide an audit history of who changed API Gateway resources and when.
- **[AWS Config](https://blowstack.com/tools/cloud-services-hub/aws-config)**: AWS Config records supported API Gateway resource configurations and evaluates them against managed or custom rules. Rules can check controls such as authorization, execution logging, TLS settings, and X-Ray tracing.
- **[AWS Elastic Beanstalk](https://blowstack.com/tools/cloud-services-hub/aws-elastic-beanstalk)**: API Gateway can expose an Elastic Beanstalk application's HTTP endpoint through an HTTP integration. A VPC-link integration can also reach an environment through a supported private load balancer.
- **[AWS Fargate](https://blowstack.com/tools/cloud-services-hub/aws-fargate)**: API Gateway can route requests to ECS tasks running on Fargate through supported private load balancers or HTTP API Cloud Map integrations. This exposes containerized APIs without requiring public task endpoints.
- **[AWS Firewall Manager](https://blowstack.com/tools/cloud-services-hub/aws-firewall-manager)**: Firewall Manager can centrally apply AWS WAF policies to API Gateway REST API stages across accounts. This helps enforce consistent web ACL protections for APIs managed by different teams.
- **[AWS Glue](https://blowstack.com/tools/cloud-services-hub/aws-glue)**: API Gateway REST APIs can invoke Glue API actions through AWS service integrations. An API can start a Glue job with request-derived arguments and return the job-run identifier.
- **[AWS Identity and Access Management (IAM)](https://blowstack.com/tools/cloud-services-hub/aws-identity-and-access-management-(iam))**: API Gateway supports IAM authorization for API requests and IAM policies for administering API resources. It can also use an IAM execution role to invoke an integrated AWS service on behalf of an API method.
- **[AWS IoT Core](https://blowstack.com/tools/cloud-services-hub/aws-iot-core)**: AWS IoT Core rules can send messages to API Gateway endpoints using an HTTP action. The action can use Signature Version 4 authentication to invoke an API protected by IAM authorization.
- **[AWS Key Management Service (AWS KMS)](https://blowstack.com/tools/cloud-services-hub/aws-key-management-service-(aws-kms))**: API Gateway REST APIs can invoke KMS operations through AWS service integrations. A tightly authorized endpoint can map requests to operations such as Encrypt or Decrypt using an execution role with access to the designated key.
- **[AWS Marketplace](https://blowstack.com/tools/cloud-services-hub/aws-marketplace)**: API Gateway usage plans can be integrated with AWS Marketplace SaaS subscriptions for API products. Subscriber identifiers and API keys can associate customers with usage plans and support usage-based billing.
- **[AWS PrivateLink](https://blowstack.com/tools/cloud-services-hub/aws-privatelink)**: API Gateway private REST APIs use PrivateLink interface endpoints for private access from VPCs. Endpoint policies and API resource policies can restrict which callers and VPC endpoints may invoke the API.
- **[AWS Resilience Hub](https://blowstack.com/tools/cloud-services-hub/aws-resilience-hub)**: Resilience Hub can assess supported API Gateway resources as part of an application's resilience assessment. It evaluates the API layer alongside dependent resources against the application's recovery objectives.
- **[AWS Resource Access Manager (AWS RAM)](https://blowstack.com/tools/cloud-services-hub/aws-resource-access-manager-(aws-ram))**: API Gateway private custom domain names can be shared across accounts using AWS RAM. Consumer accounts can associate their VPC endpoints with the shared domain, subject to the required access policies.
- **[AWS Resource Groups and Tag Editor](https://blowstack.com/tools/cloud-services-hub/aws-resource-groups-and-tag-editor)**: Supported API Gateway resources can be tagged and included in tag-based resource groups. This allows API resources to be organized with the other resources belonging to an application or environment.
- **[AWS Secrets Manager](https://blowstack.com/tools/cloud-services-hub/aws-secrets-manager)**: API Gateway REST APIs can invoke Secrets Manager operations through AWS service integrations. An explicitly authorized method can retrieve a designated secret using an execution role, without requiring a Lambda intermediary.
- **[AWS Security Hub](https://blowstack.com/tools/cloud-services-hub/aws-security-hub)**: Security Hub evaluates API Gateway security controls, including supported checks for authorization, logging, TLS configuration, and tracing. Failed checks produce findings that identify the affected API Gateway resources.
- **[AWS Security Token Service (AWS STS)](https://blowstack.com/tools/cloud-services-hub/aws-security-token-service-(aws-sts))**: API Gateway accepts requests signed with temporary STS credentials when IAM authorization is enabled. It also assumes configured IAM execution roles to obtain credentials for calling integrated AWS services.
- **[AWS Serverless Application Repository](https://blowstack.com/tools/cloud-services-hub/aws-serverless-application-repository)**: Applications deployed from the Serverless Application Repository can create API Gateway resources declared in their SAM templates. These applications can package an API together with its functions, permissions, and other backend resources.
- **[AWS Shield](https://blowstack.com/tools/cloud-services-hub/aws-shield)**: API Gateway edge-optimized endpoints benefit from Shield Standard protection through their CloudFront distributions. A customer-managed CloudFront distribution in front of a Regional API can also be enrolled in Shield Advanced.
- **[AWS Systems Manager](https://blowstack.com/tools/cloud-services-hub/aws-systems-manager)**: Systems Manager Automation provides runbooks for diagnosing and remediating supported API Gateway configuration issues. Automation can also serve as the remediation action for AWS Config findings affecting an API.
- **[AWS Transfer Family](https://blowstack.com/tools/cloud-services-hub/aws-transfer-family)**: API Gateway REST APIs can provide custom identity-provider endpoints for Transfer Family servers. Transfer Family calls the API during authentication to obtain the user's authorization settings, such as an IAM role and home directory.
- **[AWS X-Ray](https://blowstack.com/tools/cloud-services-hub/aws-x-ray)**: API Gateway REST API stages can enable active X-Ray tracing. Traces show API Gateway processing and connected instrumented backends, helping locate latency and failures along a request's path.
- **[Elastic Load Balancing (ELB)](https://blowstack.com/tools/cloud-services-hub/elastic-load-balancing-(elb))**: API Gateway VPC links connect APIs to private load-balancer backends. HTTP APIs support Application Load Balancer and Network Load Balancer listeners, and REST APIs support private load-balancer integrations according to the VPC link configuration used.

## What is Amazon API Gateway

Amazon API Gateway is a fully managed service that makes it easier for developers to create, publish, maintain, monitor, and secure APIs at any scale. APIs act as the "doorway" for applications to access data, business logic, or functionality from backend services. In today's digital world, where software applications are increasingly interconnected, API Gateway plays a crucial role in application development and operations. By offering high scalability, a range of API types, and extensive security features, Amazon API Gateway helps developers to efficiently connect their applications to services and data, and ultimately, to end users.

One of the key benefits of using Amazon API Gateway is its ability to handle thousands of concurrent API calls, effectively managing traffic to ensure smooth and reliable access to backend services. This is particularly beneficial for businesses experiencing varying levels of usage, as the service automatically scales in response to the amount of incoming traffic. Whether traffic patterns are predictable or subject to sudden spikes, Amazon API Gateway can dynamically adjust, helping to ensure that the applications remain responsive and available.

Account-level throttling limits apply across all APIs in an account within a Region, and the account-level rate limit can be increased upon request.

Amazon API Gateway supports a variety of API types including RESTful APIs and WebSocket APIs. REST APIs are widely used for web services that need to interact over HTTP, while WebSocket APIs are ideal for real-time, full-duplex communication channels over a single, long-lived connection. This versatility allows developers to build a wide array of applications, from simple web applications to complex, real-time communication systems.

WebSocket API connections have a maximum duration of 7,200 seconds, which cannot be increased.

For RESTful APIs, API Gateway offers both HTTP APIs and REST APIs. HTTP APIs are optimized for proxying requests to Lambda functions or HTTP backends and are a cheaper and faster alternative; REST APIs additionally provide API management functionality.

API Gateway Portals is a fully managed capability for creating developer portals where REST APIs can be centrally discovered, documented, and governed across your AWS infrastructure.

HTTP APIs have a maximum integration timeout of 30 seconds, which cannot be increased.

API Gateway also offers Private APIs, accessed through Amazon VPC endpoints rather than public endpoints.

API Gateway also supports Regional and edge-optimized API endpoints.

Furthermore, security is a paramount concern for any API, and Amazon API Gateway provides several mechanisms to protect access to your APIs. It integrates with AWS Identity and Access Management (IAM) and Amazon Cognito, allowing for fine-grained access control. It also supports OAuth 2.0, providing a framework for authorizing secure access. Additionally, Amazon API Gateway offers capabilities to throttle traffic and protect your backend systems from traffic spikes, as well as encryption tools to help safeguard your data. Amazon API Gateway also simplifies the process of monitoring and maintaining APIs.

With integration to Amazon CloudWatch, developers gain access to real-time dashboards, log access and execution, and detailed metrics, helping them to understand and react to API activity and health. This comprehensive insight into API usage and performance is essential for optimizing application delivery and user experience.

In conclusion, Amazon API Gateway stands out as a powerful tool for developers looking to build and deploy APIs. Its managed service approach reduces the complexity associated with directly managing APIs, allowing developers to focus on building functionality rather than being bogged down by infrastructure concerns. From scalability and support for multiple API types to strong security and detailed monitoring capabilities, Amazon API Gateway offers a comprehensive solution for modern API management. This makes it an indispensable tool in the arsenal of developers aiming to build innovative, connected, and secure applications.

## Free Amazon API Gateway tools

- [AWS CORS Configuration Generator](https://blowstack.com/tools/aws-cors-configuration-generator): Fix CORS errors and generate the CORS configuration for S3, API Gateway, function URLs and CloudFront.
- [Amazon Cognito JWT Inspector](https://blowstack.com/tools/aws-cognito-jwt-inspector): See why a Cognito authorizer rejects a token: expired, an ID token instead of an access token, another pool or app client.
- [AWS SigV4 & Presigned URL Debugger](https://blowstack.com/tools/aws-sigv4-presigned-url-debugger): Fix SignatureDoesNotMatch on an IAM-authorized API: the canonical request API Gateway computed, Region, service and signed headers.

## Concepts related to Amazon API Gateway

- [Access Control](https://blowstack.com/tools/cloud-concepts-hub/access-control): Access control determines which identities can perform which actions on which resources under specified conditions.
- [Adapter Pattern](https://blowstack.com/tools/cloud-concepts-hub/adapter-pattern): The Adapter Pattern translates a provider-specific interface into a stable application interface so implementations can change without changing calling code.
- [API Gateway Pattern](https://blowstack.com/tools/cloud-concepts-hub/api-gateway-pattern): The API Gateway Pattern places a controlled entry point between clients and backend services to centralize request routing and shared API policies.
- [API Versioning](https://blowstack.com/tools/cloud-concepts-hub/api-versioning): API versioning is the practice of identifying and managing distinct API contracts so interfaces can evolve without unexpectedly breaking consumers.
- [API-First Design](https://blowstack.com/tools/cloud-concepts-hub/api-first-design): API-first design defines and validates an application's interface contracts before implementing the systems that fulfill them.
- [APIs](https://blowstack.com/tools/cloud-concepts-hub/apis): APIs are defined interfaces that let software request data or actions from another system without depending on its internal implementation.
- [Application integration](https://blowstack.com/tools/cloud-concepts-hub/application-integration): Application integration connects independent applications so they can exchange information and coordinate business processes through defined interfaces.
- [Business Model Canvas](https://blowstack.com/tools/cloud-concepts-hub/business-model-canvas): The Business Model Canvas is a nine-part framework for describing how an organization creates, delivers, and captures value.
- [Chunked Transfer Encoding](https://blowstack.com/tools/cloud-concepts-hub/chunked-transfer-encoding): Chunked transfer encoding is an HTTP/1.1 mechanism that sends a message body in length-prefixed chunks without requiring its total size in advance.
- [Content-Based Routing](https://blowstack.com/tools/cloud-concepts-hub/content-based-routing): Content-based routing directs a request or message to a destination by evaluating its payload, attributes, or derived meaning.
- [Contract Testing](https://blowstack.com/tools/cloud-concepts-hub/contract-testing): Contract testing verifies that communicating components satisfy agreed expectations for requests, responses, or messages at their integration boundaries.
- [Declarative Programming](https://blowstack.com/tools/cloud-concepts-hub/declarative-programming): Declarative programming describes the desired result or structure of a system while delegating the execution steps to a runtime, framework, or provisioning engine.
- [Distributed Tracing](https://blowstack.com/tools/cloud-concepts-hub/distributed-tracing): Distributed tracing follows a request across multiple application components to show how they interact, where time is spent, and where failures occur.
- [Exponential Backoff](https://blowstack.com/tools/cloud-concepts-hub/exponential-backoff): Exponential backoff is a retry strategy that increases the delay between successive attempts, usually by multiplying the previous delay by a fixed factor.
- [Externalized Configuration](https://blowstack.com/tools/cloud-concepts-hub/externalized-configuration): Externalized Configuration separates environment-specific settings and operational controls from application code so the same application artifact can run in different environments.
- [Feedback Loops](https://blowstack.com/tools/cloud-concepts-hub/feedback-loops): Feedback loops are repeatable processes that use observations, user input, and outcomes to evaluate and improve a system’s behavior.
- [Graceful Degradation](https://blowstack.com/tools/cloud-concepts-hub/graceful-degradation): Graceful degradation is the deliberate preservation of essential service when failures or resource constraints require reduced functionality, performance, or output quality.
- [Human-Centered Design](https://blowstack.com/tools/cloud-concepts-hub/human-centered-design): Human-Centered Design is an iterative approach to building systems around the needs, capabilities, and circumstances of the people who use them or are affected by them.
- [Input Sanitization](https://blowstack.com/tools/cloud-concepts-hub/input-sanitization): Input sanitization is the controlled transformation of untrusted input to remove or neutralize unsafe content before an application processes it.
- [Input Validation](https://blowstack.com/tools/cloud-concepts-hub/input-validation): Input validation checks incoming data against structural, semantic, and safety rules before an application uses it.
- [JSON Web Tokens](https://blowstack.com/tools/cloud-concepts-hub/json-web-tokens): JSON Web Tokens are a standardized format for carrying claims between parties, commonly used as signed bearer tokens for application authentication and authorization.
- [Loose Coupling](https://blowstack.com/tools/cloud-concepts-hub/loose-coupling): Loose coupling is an architectural principle that minimizes dependencies between components so they can change, scale, and recover with limited impact on one another.
- [Microservices and component delivery](https://blowstack.com/tools/cloud-concepts-hub/microservices-and-component-delivery): Microservices and component delivery is an approach to building applications as loosely coupled services that can be developed, tested, deployed, and scaled independently.
- [Minimum Viable Product](https://blowstack.com/tools/cloud-concepts-hub/minimum-viable-product): A Minimum Viable Product is the smallest usable version of a product that delivers core value and tests important assumptions with real users.
- [Mocking](https://blowstack.com/tools/cloud-concepts-hub/mocking): Mocking replaces real dependencies with controlled test substitutes so application behavior can be tested in isolation.
- [OAuth 2.0](https://blowstack.com/tools/cloud-concepts-hub/oauth-2_0): OAuth 2.0 is an authorization framework that lets applications obtain limited access to protected resources using access tokens rather than a resource owner's credentials.
- [Pagination](https://blowstack.com/tools/cloud-concepts-hub/pagination): Pagination divides a large result set into smaller responses that clients retrieve through successive requests.
- [Rate Limiting](https://blowstack.com/tools/cloud-concepts-hub/rate-limiting): Rate limiting controls how many requests or operations a client or workload can perform within a defined period.
- [Request Signing](https://blowstack.com/tools/cloud-concepts-hub/request-signing): Request signing cryptographically binds an API request to credentials so a receiving service can authenticate the caller and detect changes to protected request components.
- [Request Validation](https://blowstack.com/tools/cloud-concepts-hub/request-validation): Request validation checks incoming requests against an explicit contract before allowing them to reach application logic or downstream services.
- [REST](https://blowstack.com/tools/cloud-concepts-hub/rest): REST, or Representational State Transfer, is an architectural style for distributed systems that exposes resources through a uniform, stateless interface.
- [Reverse Proxy](https://blowstack.com/tools/cloud-concepts-hub/reverse-proxy): A reverse proxy is an intermediary that receives client requests on behalf of backend servers and forwards those requests to the appropriate backend.
- [Same-Origin Policy](https://blowstack.com/tools/cloud-concepts-hub/same-origin-policy): The Same-Origin Policy is a browser security rule that restricts how scripts from one origin can access documents and data belonging to another origin.
- [Separation of Concerns](https://blowstack.com/tools/cloud-concepts-hub/separation-of-concerns): Separation of concerns is the design principle of dividing a system into distinct responsibilities that interact through clearly defined interfaces.
- [Server-Sent Events](https://blowstack.com/tools/cloud-concepts-hub/server-sent-events): Server-Sent Events is an HTTP-based mechanism for delivering a continuous stream of text events from a server to a client over a long-lived response.
- [Serverless](https://blowstack.com/tools/cloud-concepts-hub/serverless-and-event-driven-design-principles): Serverless is a cloud operating model in which the provider manages the underlying servers while customers deploy applications or use services without provisioning and maintaining those servers.
- [Servitization](https://blowstack.com/tools/cloud-concepts-hub/servitization): Servitization is the transformation of a product-focused business into one that delivers ongoing customer value through services built around its products.
- [Statelessness](https://blowstack.com/tools/cloud-concepts-hub/statelessness): Statelessness is a design principle in which a processing instance does not depend on locally retained client or workflow state from previous requests.
- [Strategy Pattern](https://blowstack.com/tools/cloud-concepts-hub/strategy-pattern): The Strategy Pattern encapsulates interchangeable behaviors behind a common interface so an application can select an implementation at runtime without changing its calling code.
- [Synchronous Communication](https://blowstack.com/tools/cloud-concepts-hub/synchronous-communication): Synchronous communication is an interaction in which a caller waits for a receiver’s response before proceeding with work that depends on that response.
- [Test Doubles](https://blowstack.com/tools/cloud-concepts-hub/test-doubles): Test doubles are controlled substitutes for real components or dependencies used to exercise application behavior during testing.
- [Timeouts](https://blowstack.com/tools/cloud-concepts-hub/timeouts): Timeouts are enforced time limits on how long an application waits for an operation before treating it as unsuccessful or taking another action.
- [Token Bucket](https://blowstack.com/tools/cloud-concepts-hub/token-bucket): Token Bucket is a rate-limiting algorithm that permits short bursts of activity while controlling the sustained rate through a finite supply of replenishing tokens.
- [Token Validation](https://blowstack.com/tools/cloud-concepts-hub/token-validation): Token validation is the process of checking that a presented security token is authentic, acceptable for its intended recipient and purpose, and valid at the time of use.
- [Tool Calling](https://blowstack.com/tools/cloud-concepts-hub/tool-calling): Tool calling is the mechanism by which an AI model requests that an application execute an external function or operation and return its result.
- [Tool Use](https://blowstack.com/tools/cloud-concepts-hub/tool-use): Tool use enables a foundation-model application to request external functions, APIs, or utilities to retrieve information, perform calculations, or take actions.
- [Trace Sampling](https://blowstack.com/tools/cloud-concepts-hub/trace-sampling): Trace sampling selects which distributed requests have their tracing data recorded or retained, balancing diagnostic coverage against telemetry cost and overhead.
- [Webhooks](https://blowstack.com/tools/cloud-concepts-hub/webhooks): Webhooks are event-triggered HTTP callbacks that notify another application when something happens.
- [WebSockets](https://blowstack.com/tools/cloud-concepts-hub/websockets): WebSockets is a communication protocol that enables persistent, bidirectional message exchange between a client and a server over a single connection.
