AppSync versus ALB WebSocket

27 Mar 2024

Learn how AppSync differs from ALB WebSocket.

AppSync ALB WebSocket
Type

GraphQL

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