filmov
tv
How To Install Python Dependency and Libraries on AWS Lambda

Показать описание
This tutorial will show you how to create your deployment package(your code and required dependencies) for AWS Lambda.
💥CloudWays COUPON CODE: CLOUDGURU25
☝️☝️ USE THE EXCLUSIVE COUPON CODE ABOVE TO GET 25% OFF FOR 3 MONTHS💥
💥Get $200 FREE Credits for signup. So, hurry up!💥
╔═╦╗╔╦╗╔═╦═╦╦╦╦╗╔═╗
║╚╣║║║╚╣╚╣╔╣╔╣║╚╣═╣
╠╗║╚╝║║╠╗║╚╣║║║║║═╣
╚═╩══╩═╩═╩═╩╝╚╩═╩═╝
⏱️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
Topics covered in this video:
(1) Creating a new lambda function
(2) Create a folder on your desktop
(3) Make a python file you can just copy and paste the default Lambda function in here for now
(4) run command prompt / terminal and do pip install [package name] -t . pip3 if on Mac/linux
(5) turn your folder to a zip file and upload to lambda
(6) write your code using your package
(8) Deploy
While building any python application, you use a lot of different libraries, but the AWS lambda only provides you python runtime that has only the standard python libraries. In order to run your code with additional dependencies, you need to provide those dependencies to AWS lambda yourself.
#python #awslambda #cloudguru #aws
💥CloudWays COUPON CODE: CLOUDGURU25
☝️☝️ USE THE EXCLUSIVE COUPON CODE ABOVE TO GET 25% OFF FOR 3 MONTHS💥
💥Get $200 FREE Credits for signup. So, hurry up!💥
╔═╦╗╔╦╗╔═╦═╦╦╦╦╗╔═╗
║╚╣║║║╚╣╚╣╔╣╔╣║╚╣═╣
╠╗║╚╝║║╠╗║╚╣║║║║║═╣
╚═╩══╩═╩═╩═╩╝╚╩═╩═╝
⏱️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
Topics covered in this video:
(1) Creating a new lambda function
(2) Create a folder on your desktop
(3) Make a python file you can just copy and paste the default Lambda function in here for now
(4) run command prompt / terminal and do pip install [package name] -t . pip3 if on Mac/linux
(5) turn your folder to a zip file and upload to lambda
(6) write your code using your package
(8) Deploy
While building any python application, you use a lot of different libraries, but the AWS lambda only provides you python runtime that has only the standard python libraries. In order to run your code with additional dependencies, you need to provide those dependencies to AWS lambda yourself.
#python #awslambda #cloudguru #aws
Комментарии