This video shows you how to install Python Dependencies and Libraries on AWS Lambda using a Zip folder.
The Libraries used in the deployment package are Pandas, Numpy, and Requests but you can substitute them with any that you want such as SciPy.
🔔 Subscribe and never miss new videos: https://www.youtube.com/nktstudios?su...
⏱️TIMESTAMPS⏱️
00:00 - Install Python Dependency and Library on AWS Lambda
01:28 - Create Lambda Function Locally
01:48 - Lambda Code Explanation
02:47 - Create AWS Lambda Deployment Package
03:01 - Installing Libraries and Dependencies for AWS Lambda
04:44 - Create a Zip Folder with the Libraries
05:40 - Create Lambda Function in AWS Console
06:28 - Upload Zip Folder to Lambda Function
07:00 - Create a Test Event and Test Lambda Function
✔️ Source Code:
The Lambda function used can be found here:
https://gist.github.com/nktstudios/e0...
The terminal commands used are as follows:
Pandas
pip install --platform manylinux2014_x86_64 --target=package --implementation cp --python-version 3.9 --only-binary=:all: --upgrade pandas
Numpy
pip install --platform manylinux2014_x86_64 --target=package --implementation cp --python-version 3.9 --only-binary=:all: --upgrade numpy
Requests
pip install --platform manylinux2014_x86_64 --target=package --implementation cp --python-version 3.9 --only-binary=:all: --upgrade requests
🔹 My Courses: https://nktstudios.com/courses
⚡ My Gear
Windows Laptop: https://amzn.to/3d4xaK6
Recording Mic (Blue Yeti X): https://amzn.to/3rUyEws
Redragon Headset: https://amzn.to/33AMR8H
🎵 Music
✅ Let's connect:
Website: https://nktstudios.com
💬 Twitter - @nktstudios
Facebook: / nktstudioz
DISCLOSURE: Some of the links on this page are affiliate links, meaning, at no additional cost to you, I may earn a commission if you click through and make a purchase and/or subscribe. Affiliate commissions help us to continue making videos for you.
❤️ Thanks for watching.
On this page of the site you can watch the video online Install Python Dependency and Libraries on AWS Lambda with a duration of hours minute second in good quality, which was uploaded by the user NKT Studios 21 September 2023, share the link with friends and acquaintances, this video has already been watched 22,683 times on youtube and it was liked by 343 viewers. Enjoy your viewing!