filmov
tv
Install Python Dependency and Libraries on AWS Lambda

Показать описание
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.
⏱️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:
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 Gear
🎵 Music
✅ Let's connect:
💬 Twitter - @nktstudios
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.
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.
⏱️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:
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 Gear
🎵 Music
✅ Let's connect:
💬 Twitter - @nktstudios
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.
Комментарии