Please do not cut videos. I spent hours figuring out the npm and plugin installation, and the directory where to put the serverless.yml
@zunky243 жыл бұрын
Great video @Jackson Yuan. Question though, how did you generate the package.json file @ 11:30? Thanks. Looking forward to more videos.
@jacksonyuan77443 жыл бұрын
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.
@zunky243 жыл бұрын
@@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.
@jacksonyuan77443 жыл бұрын
Thanks for the feedback, I’m glad I could help!
@kumarbanavathu77162 жыл бұрын
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.
@pottaz3 жыл бұрын
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.
@jacksonyuan77443 жыл бұрын
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
@pottaz3 жыл бұрын
@@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.
@jacksonyuan77443 жыл бұрын
@@pottaz Thanks for letting me know! I'm glad you got it figured out :)
@abettertomorrow4311 Жыл бұрын
@@pottaz Where do you install this plugin? Is there any resources I can refer to? Thanks
@guwalanijay63772 жыл бұрын
A more detailed explanation on the Deployment and setting up the required env. would have been helpful.
@Barbero33 жыл бұрын
i'm missing the part where you actually deploy the project to aws lambda. Would be helpful :D
@jacksonyuan77443 жыл бұрын
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.