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

  Рет қаралды 15,871

Jackson Yuan

Jackson Yuan

Күн бұрын

Пікірлер: 15
@abhishekdv3543
@abhishekdv3543 Жыл бұрын
Please do not cut videos. I spent hours figuring out the npm and plugin installation, and the directory where to put the serverless.yml
@lutdootutdoo5342
@lutdootutdoo5342 3 жыл бұрын
Beautiful video Mr. Jawkson
@kumarbanavathu7716
@kumarbanavathu7716 Жыл бұрын
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.
@guwalanijay6377
@guwalanijay6377 2 жыл бұрын
A more detailed explanation on the Deployment and setting up the required env. would have been helpful.
@Barbero3
@Barbero3 3 жыл бұрын
i'm missing the part where you actually deploy the project to aws lambda. Would be helpful :D
@jacksonyuan7744
@jacksonyuan7744 3 жыл бұрын
Sorry I cut that out. But to deploy, you can just commit and push your changes to your remote repository and the deployment process will automatically begin.
@pottaz
@pottaz 3 жыл бұрын
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.
@jacksonyuan7744
@jacksonyuan7744 3 жыл бұрын
Hi Ruan, I haven't fully tested this but this article might help point you in the right direction: towardsdatascience.com/how-to-install-python-packages-for-aws-lambda-layer-74e193c76a91
@pottaz
@pottaz 3 жыл бұрын
@@jacksonyuan7744 thank you. I got it sorted Yesterday. There is a plugin you install for the serverless framework. Then just specify the layer name and reference it on your lambda. Serverless handles the rest. Thanks for getting back to me.
@jacksonyuan7744
@jacksonyuan7744 3 жыл бұрын
@@pottaz Thanks for letting me know! I'm glad you got it figured out :)
@abettertomorrow4311
@abettertomorrow4311 Жыл бұрын
@@pottaz Where do you install this plugin? Is there any resources I can refer to? Thanks
@zunky24
@zunky24 3 жыл бұрын
Great video @Jackson Yuan. Question though, how did you generate the package.json file @ 11:30? Thanks. Looking forward to more videos.
@jacksonyuan7744
@jacksonyuan7744 3 жыл бұрын
That’s a good question and I’m sorry I actually edited that part out. But to generate the package.json file, you need to first install Node.js on your machine which should also come with NPM. Then in your terminal, you can run the command `npm init -y` which initializes a package.json file in the current directory.
@zunky24
@zunky24 3 жыл бұрын
@@jacksonyuan7744 thank you so much! Your videos are very helpful especially since there aren't that many resources on the topic of CI/CD with GitHub Actions, Server less, Python and Lambda. Very cool.
@jacksonyuan7744
@jacksonyuan7744 3 жыл бұрын
Thanks for the feedback, I’m glad I could help!
How to deploy a lambda function using github actions?
15:09
BiteSize Academy
Рет қаралды 30 М.
Bend The Impossible Bar Win $1,000
00:57
Stokes Twins
Рет қаралды 44 МЛН
How to Deploy AWS Lambda using Serverless Framework
18:25
Dr. Joanne Skiles
Рет қаралды 7 М.
Getting Started with Serverless Framework
20:53
Serverless
Рет қаралды 31 М.
Deploy FastAPI on AWS Lambda ⚡ Serverless hosting!
22:24
pixegami
Рет қаралды 38 М.
Serverless Framework with AWS Lambda Crash Course
1:29:11
Laith Academy
Рет қаралды 111 М.
Serverless Framework | Deploy Python lambdas in minutes
8:18
Soumil Shah
Рет қаралды 23 М.