Тёмный

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

Jackson Yuan
Подписаться 1,9 тыс.
Просмотров 34 тыс.
50% 1

Опубликовано:

 

14 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 39   
@ephilihp
@ephilihp 2 года назад
Thank you for having an actually useful tutorial! So glad to find actually useful information after wading through the cesspool of marketing slide decks.
@ashwinjoshy5906
@ashwinjoshy5906 Месяц назад
Great video, Even though it was published 3 year ago, It was very helpful to me.
@j0Nt4Mbi
@j0Nt4Mbi 3 года назад
Wow Jackson, Thanks for sharing the knowledge!!
@jameswilliam4570
@jameswilliam4570 3 года назад
Thank you! This was a great introduction to Serverless and Github Actions!
@jacksonyuan7744
@jacksonyuan7744 3 года назад
I'm glad you found it helpful! Let me know if there's any other content/tutorials you'd like to see!
@jameswilliam4570
@jameswilliam4570 3 года назад
@@jacksonyuan7744 I'm having a lot of difficulty with environment variables. Serverless keeps resetting the one's in my lambda functions on AWS and I also don't want to make API's visible on GitHub. Maybe I'm not the only having difficulty with this right now!
@jacksonyuan7744
@jacksonyuan7744 3 года назад
@@jameswilliam4570 I briefly go over how to set env variables using the Serverless framework here: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-K-c0AoMmaOU.html. This works well if your variable isn't holding a secret value. For storing secrets and using them in your Lambda function, I would recommend trying a service such as AWS Secrets Manager: aws.amazon.com/secrets-manager/. I hope that helps!
@blondeaufofe
@blondeaufofe 7 месяцев назад
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.
@samtonijourney
@samtonijourney Год назад
makes my day. thanks!
@thinhlpg
@thinhlpg Год назад
Thank you! This is awesome!
@jyotindratavanoji9929
@jyotindratavanoji9929 2 года назад
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 ! . 🧑‍💻❤️
@arjunbk5825
@arjunbk5825 2 года назад
Thank You
@arjunbk5825
@arjunbk5825 2 года назад
If you face with an Error: "ROLLBACK_COMPLETE state and can not be updated". Try deleting the stack with "aws cloudformation delete-stack --stack-name "
@007eumamerda
@007eumamerda Год назад
Thank you
@lesliechiu1437
@lesliechiu1437 2 года назад
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.
@ianramsianto7051
@ianramsianto7051 Год назад
by delete it, do you mean delete stack in CloudFormation?
@marybeliveau2562
@marybeliveau2562 3 года назад
Extremely helpful, thank you!!
@jacksonyuan7744
@jacksonyuan7744 3 года назад
Glad I could help!
@edwardgaming5681
@edwardgaming5681 2 месяца назад
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 .
@travelingvibes7796
@travelingvibes7796 2 года назад
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
@olehbilykh4695
@olehbilykh4695 2 года назад
If u've found the fix, pls reply
@ernes4705
@ernes4705 2 года назад
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?
@dundasbrands
@dundasbrands 3 года назад
Thanks so much super helpful!
@deepikajha3757
@deepikajha3757 3 года назад
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
@jacksonyuan7744
@jacksonyuan7744 3 года назад
Thanks for the suggestion! I'll definitely look into it :)
@lesliechiu1437
@lesliechiu1437 2 года назад
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?
@kumarbanavathu7716
@kumarbanavathu7716 2 года назад
The bucket name should be globally unique
@hazadan123
@hazadan123 3 года назад
Thanks for the tutorial, really helpful. you got one more subscriber :)
@jacksonyuan7744
@jacksonyuan7744 3 года назад
Thanks for the feedback and subscription! Let me know anytime if there's other content/tutorials you'd like to see!
@sebascardonac
@sebascardonac 2 года назад
How Can I do to configúrate The serverless yml to dont save the source code into S3?
@dipakbhise4779
@dipakbhise4779 2 года назад
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.
@lutdootutdoo5342
@lutdootutdoo5342 3 года назад
Very helpful! Thanks
@abhinaypratap3889
@abhinaypratap3889 2 года назад
good and best
@nicodemus399
@nicodemus399 2 года назад
can I do this for a rest api ?, how would I do it for the npm install?
@armandocarracedovelazquez672
@armandocarracedovelazquez672 3 года назад
Thanks you!
@Youdude2
@Youdude2 3 года назад
Can this be done without an IAM user and using only a lambda execution role?
@jacksonyuan7744
@jacksonyuan7744 3 года назад
Hi! I don't believe so. Lambda execution roles are meant for granting your Lambda function the necessary permissions to interact with other AWS services. However, many of the managed policies we attach to the IAM user here are required for the Serverless Framework to make its deployment and not for the operations conducted within the Lambda function.
@sunsampicesg
@sunsampicesg 2 года назад
some of the steps Jackson not mention How git repo to AWS configure account configure
@engineerbarkat
@engineerbarkat 2 года назад
User: arn:aws:iam:::user/SocialHub_User_Barkat is not authorized to perform: cloudformation:DescribeStacks on resource: arn:aws:cloudformation:us-east-1::stack/socialhub-dev/* with an explicit deny in a service control policy. I am got this error can anyone help me with this?
Далее
Which part do you like?😂😂😂New Meme Remix
00:28
Flipping Robot vs Heavier And Heavier Objects
00:34
Просмотров 33 млн
How to deploy a lambda function using github actions?
15:09
Deploy FastAPI on AWS Lambda ⚡ Serverless hosting!
22:24
How to design a modern CI/CD Pipeline
9:59
Просмотров 143 тыс.
Developing AWS Lambda Functions Locally in VS Code
20:22
CI/CD using Github +  Github Actions + AWS Lambda
34:47
Просмотров 2,8 тыс.
Which part do you like?😂😂😂New Meme Remix
00:28