👉 AWS Debug Games (Beta) - Prove your AWS expertise by solving tricky challenges.

👉 AWS Debug Games - Prove your AWS expertise.

API Gateway WebSocket API versus ALB

30 Jan 2023

Learn how API Gateway WebSocket API differs from ALB.

API Gateway WebSocket API ALB
Type

Websocket

REST API

HTTPS/TLS

Backends

✅ Lambda
✅ Public endpoint
✅ Private endpoint
✅ AWS Service APIs

✅ Lambda
❌ Public endpoint
✅ Private endpoint
❌ AWS Service APIs

Costs

💰

💰💰

Maturity

⭐️⭐️⭐️⭐️

⭐️⭐️⭐️⭐️

Authentication

✅ IAM
❌ API Key
❌ OpenID Connect
❌ SAML
❌ Social
✅ Custom

❌ IAM
❌ API Key
✅ OpenID Connect
✅ SAML
✅ Social
❌ Custom

Tenant-based Throttling

Request Validation

Req./Res. Transformation

Endpoints

✅ Public
❌ Private

✅ Public
✅ Private

WAF