Back to Lessons

API Gateway REST HTTP APIs

April 5, 2026

API Gateway Deep Dive

Create, deploy, manage REST/HTTP/WebSocket APIs.

API Gateway Types

REST API ($3.50/1M calls):
- Full Lambda proxy/proxy integration
- Request/response mapping
- Usage plans/throttling
- Cognito authorizers

HTTP API (71% cheaper, $1/1M):
- Lambda/JWT integration only
- Default throttling
- CORS auto-configured

WebSocket API:
- $1/1M messages + $0.25/conn/hr

Advanced Features

  • VPC Link (private integration)
  • Lambda authorizers
  • Request validation
  • Canary deployments (10% traffic)