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
AWS Lambda with AWS Chalice was originally published in Hacker Noon on Medium, where people are continuing the conversation by highlighting and responding to this story.
The post AWS Lambda with AWS Chalice appeared first on Crypto Currency Online.
source https://cryptocurrencyonline.co/aws-lambda-with-aws-chalice/
No comments:
Post a Comment