Advertisement
Beginner AWS, Amazon API Gateway

What is Amazon API Gateway and why is it used?

Short answer

Amazon API Gateway is a fully managed service that lets you create, publish, secure, and monitor REST, HTTP, and WebSocket APIs at any scale, acting as the front door for applications to access backend services such as AWS Lambda, EC2, or any other web application, without you…

Save AWS mock interview
Advertisement
AModel answer
Amazon API Gateway is a fully managed service that lets you create, publish, secure, and monitor REST, HTTP, and WebSocket APIs at any scale, acting as the front door for applications to access backend services such as AWS Lambda, EC2, or any other web application, without you needing to manage any servers yourself.
Example

aws apigateway create-rest-api --name 'MyDemoAPI'

Real-world example
An online store exposes its product catalog and checkout functionality through API Gateway endpoints, which route incoming requests to Lambda functions that handle the actual business logic.
Likely follow-ups
  • What is the difference between REST APIs and HTTP APIs in API Gateway?
  • How does API Gateway integrate with Lambda?
Related topics