38
Going Serverless with AWS Lambda Functions — 2

Going Serverless with AWS Lambda Functions — 2

5 years ago
Anonymous $L9wC17otzH

https://medium.com/@info.ankitp/going-serverless-with-aws-lambda-functions-2-51a1bd786547

As discussed earlier, Lambda Functions can be written to perform complex operations as well which might require multiple libraries or modules. For example — Extracting face from images using MXNET, downloading images using links. For these use cases, we will need multiple libraries packed in the execution environment, as coding it from the scratch will be very complex. So, to deploy those we will have to provide the required libraries to the lambda instances since, lambda instances only have specific libraries to work with.

One more thing to notice is AWS Lambda Instances are actually Amazon Linux based instances, which are different from Ubuntu environments and might have different codes for different modules. Due to this reason, a lot of people have faced import issue of PIL library with python while using it in Lambda Functions.