Before you go, check out these stories!

0
Hackernoon logoAWS Lambda with AWS Chalice by@trannotes

AWS Lambda with AWS Chalice

Author profile picture

@trannotestrannotes

Some notes while working with AWS Lambda using Python3

Limit:
https://docs.aws.amazon.com/lambda/latest/dg/limits.html#limits-list

Serverless framework by AWS:
https://github.com/aws/chalice
https://chalice.readthedocs.io/en/latest/

Build extension modules
https://docs.python.org/2/extending/extending.html

Some modules will not be compatible with Amazon Linux, they need to be rebuilt for Amazon Linux:
- Use build instance: AWS EC2
- Use docker: Amazon Linux Container Image: https://docs.aws.amazon.com/AmazonECR/latest/userguide/amazon_linux_container_image.html
- Use AWS Cloud9

Those extension modules need to be in /vendor of Chalice project:
http://chalice.readthedocs.io/en/latest/topics/packaging.html#rd-party-packages

Tags

The Noonification banner

Subscribe to get your daily round-up of top tech stories!