Ravindra BagaleCourses & study guides मराठी Track your progress

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.

Why API Gateway in front of Lambda Browsers should not hold AWS credentials or invent routing. API Gateway is the HTTPS front door: routes, auth, throttle, stages. Create an HTTP API, add a route, integrate Lambda, copy the invoke URL. fetch(API+
Why API Gateway in front of Lambda · Download PNG
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.

See all AWS revision cards