Ravi Sir's Cards › AWS
GSI and LSI
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?
A second access pattern appears after launch.
What is it?
GSI = new PK/SK for Queries. LSI = same PK, different SK; created with the table.
How to do it
Add GSI email-index; Query by email without Scan.
Example
Find user by email for login → GSI on email.