AWS Lambda, provided by Amazon Web Services, is a serverless platform that helps code execution without the need to manage underlying servers.
You’ll start by creating a Lambda function with Python, incorporating the requests
library to enable API interactions. Then, you will package and deploy this function with its dependencies. Next, you will optimize by creating a Lambda layer with the requests
library, allowing for more efficient code editing and package management. You’ll also delve into sentiment analysis by adding the textblob
library to a Lambda layer and applying this to analyze text data. Finally, you’ll learn to share this textblob
layer across multiple Lambda functions, including the analysis of the text from an image stored in an S3 bucket.
By the end of this Cloud Lab, you will have gained practical experience in integrating and managing Lambda layers within AWS Lambda functions.
The following is the high-level architecture diagram of the infrastructure you will create in this Cloud Lab: