Deploying to AWS Lambda with Serverless + GitHub Actions (Modern CI/CD) | Serverless Saturday

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

Other Serverless Saturday tutorials:

Sections:
0:00 - Intro
0:23 - Serverless Framework & GitHub Actions Intro
1:02 - Creating the IAM User
4:13 - Installing Dependencies & Boilerplate Code
8:21 - Writing the Lambda code
9:15 - Setting up CI/CD using GitHub Actions
12:59 - Verifying/testing our Deployment
17:05 - Wrap up

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

Great video, Even though it was published 3 year ago, It was very helpful to me.

ashwinjoshy
Автор

Thank you for having an actually useful tutorial! So glad to find actually useful information after wading through the cesspool of marketing slide decks.

ephilihp
Автор

Wow Jackson, Thanks for sharing the knowledge!!

jNtMbi
Автор

Thank you! This was a great introduction to Serverless and Github Actions!

jameswilliam
Автор

For developers who are trying this out in 2022, please add 1 more policy in you IAM group : awsS3FullAccess, or else it will give out a error in deployment of the serverless.yaml file. S3 bucket permission denied ! . 🧑‍💻❤️

jyotindratavanoji
Автор

Thank you for the tutorial. I don't understand why in the GitHub Action, we didn't specify the line for installing the serverless package, which is useful for deployment.

xbpfrym
Автор

Thanks for the tutorial, really helpful. you got one more subscriber :)

hazadan
Автор

If i run serverless deploy then my ts code is getting bundled ans single index.js file is being deployed but when i use this method entire code base is getting deployed .

edwardgaming
Автор

hi, I followed your steps and have two errors, and I fixed them; first, it showed" s3:CreateBucket Access Denied", I added S3FullAccess to that IAM User group; second, i had a "ROLLBack Complete" error, then I deleted it in AWS console and re-run the job. Finally problems resolved.

lesliechiu
Автор

Hi sir i am facing the error while deploy through github action and the error is : " An error occurred: ServerlessDeploymentBucket - API: s3:CreateBucket Access Denied." please help me

travelingvibes
Автор

Thanks you, is a good video. I have a question: What if I have several serverless files, how can I reference them using this github action?

ernes
Автор

hi, i just followed your steps. but I got this error :
CREATE_FAILED: ServerlessDeploymentBucket (AWS::S3::Bucket)
API: s3:CreateBucket Access Denied

Do we need to S3 in this video?

lesliechiu
Автор

Please help me this error is showing i have also added serverless-dotenv-plugin this in serverless.yml file
Error:
Serverless plugin "serverless-dotenv-plugin" not found. Make sure it's installed and listed in the "plugins" section of your serverless config file. Run "serverless plugin install -n serverless-dotenv-plugin" to install it.

dipakbhise
Автор

Thanks man for this tutorial it is very helpful. Can you also post video on triggering lamda on sns topic and sending mail to subscriber using SES

deepikajha
Автор

How Can I do to configúrate The serverless yml to dont save the source code into S3?

sebascardonac
Автор

can I do this for a rest api ?, how would I do it for the npm install?

nicodemus
Автор

Can this be done without an IAM user and using only a lambda execution role?

Youdude
Автор

some of the steps Jackson not mention How git repo to AWS configure account configure

sunsampicesg
Автор

User: is not authorized to perform: cloudformation:DescribeStacks on resource: with an explicit deny in a service control policy. I am got this error can anyone help me with this?

engineerbarkat