Ravi Sir's Cards › AWS
Why API Gateway in front of Lambda
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?
Browsers should not hold AWS credentials or invent routing.
What is it?
API Gateway is the HTTPS front door: routes, auth, throttle, stages.
How to do it
Create an HTTP API, add a route, integrate Lambda, copy the invoke URL.
https://xxxx.execute-api…
Example
fetch(API+"/hello") from a static site hits Gateway, then Lambda.