Chalice is a new Python serverless microframework for AWS. In this session, we'll show how to use it to create serverless REST APIs that use Amazon API Gateway and AWS Lambda. We'll deploy our first REST API in less than 30 seconds. Several live demos will show how to build on this example to leverage other Chalice capabilities, including advanced URL routing, automatic policy generation, and Swagger exports.
12. Amazon API Gateway
Create, maintain, and secure APIs at any scale
Handles authorization, access control, and monitoring
Acts as a “front door” for applications
13. AWS Lambda
Run code without thinking about servers
Pay for only the compute time you consume
Lambda takes care of everything required to run and
scale your code with high availability
41. Client
Lambda runtime and API
Amazon API Gateway AWS Lambda
GET /users HTTP/1.1 API call
{"hello": "world"}HTTP/1.1 200 OK
Date: …
{"hello": "world"}