Ravi Sir's Cards › AWS
When to use WebSocket APIs
What is a VPC: your own private network inside one AWS Region, example ThreeTierVpc 10.0.0.0/16.
Read card text
What this card says
Why do we need it?
Chat and live boards need push, not one-shot request/response.
What is it?
WebSocket APIs keep a connection; Gateway routes $connect, $disconnect, messages.
How to do it
Create WebSocket API → integrate Lambda on routes → manage connection ids.
$connect
Example
Teacher pushes a quiz update to all open student connections.