Deploying to AWS Lambda in Python with Serverless Framework + GitHub Actions (Modern CI/CD)

preview_player
Показать описание
In today's tutorial, we'll be going over how to set up a CI/CD pipeline using GitHub Actions and the Serverless Framework, to deploy your Python serverless function to AWS Lambda.

Sections:
0:00 - Intro
0:27 - Creating IAM user and setting AWS access keys
1:25 - Understanding the GitHub Actions workflow file for Python
11:54 - Implementing the Python Lambda function
13:27 - Testing the deployed Lambda function

#aws #awslambda #python #serverless #githubactions
Рекомендации по теме
Комментарии
Автор

Please do not cut videos. I spent hours figuring out the npm and plugin installation, and the directory where to put the serverless.yml

abhishekdv
Автор

Hi there, your videos are really helpful to learn and deploy. Please make a video on serverless API gateway(python) AWS lambda authorizer(python based) to connect with Amplify front-end application. Looking forward to watching more videos on your youtube channel. The ci/cd section is repeated in each video, which increases the video length. Except that the remaining content is really awesome.

kumarbanavathu
Автор

A more detailed explanation on the Deployment and setting up the required env. would have been helpful.

guwalanijay
Автор

i'm missing the part where you actually deploy the project to aws lambda. Would be helpful :D

Barbero
Автор

Great video. Thanks for uploading. How would you create a layer on a lambda based on the requirements.txt file?

The layer should contain all the dependencies inside the requirements file and the the lambda should use that layer. The documentation isn't clear on this.

pottaz
Автор

Great video @Jackson Yuan. Question though, how did you generate the package.json file @ 11:30? Thanks. Looking forward to more videos.

zunky