🎉 We are launching a new weekly show: Hot off the Cloud

🎉 We are launching a new weekly show

API Gateway WebSocket API versus ALB WebSocket

28 Sep 2022

Learn how API Gateway WebSocket API differs from ALB WebSocket.

API Gateway WebSocket API ALB WebSocket
Type

Websocket

Websocket

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