Introduction
Sometimes you want to run code in the cloud that responds to web requests without managing servers. AWS Lambda with API Gateway lets you do this by running your code only when needed and connecting it to web URLs.
When you want to create a simple web API without setting up servers.
When you need to run backend code that triggers on HTTP requests.
When you want to save costs by paying only for the code execution time.
When you want to quickly deploy a function that handles web requests.
When you want to build a serverless app that scales automatically.