Dashboard

Learn faster. Build smarter.

Back to AWS
AWSIntegration

API Gateway

Amazon API Gateway is a managed service for creating, publishing, securing, and monitoring APIs.

What it does

Managed API front door for backend services.

When to use

Use API Gateway when you need a managed public entry point for REST, HTTP, or WebSocket APIs.

Key Concepts

API Gateway can front Lambda, HTTP backends, and other integrations.

It supports authentication, throttling, and stages.

Often used in serverless architectures.

Logging and metrics integrate with CloudWatch.

Common Use Cases

Building serverless APIs.

Exposing internal services through managed endpoints.

Adding auth and throttling to APIs.

Interview Questions

What is API Gateway?

How does API Gateway work with Lambda?

Why use API Gateway instead of exposing backend directly?