Build & Deploy a Serverless CRUD REST API for S3 w/ API Gateway, AWS Lambda and Serverless Framework

preview_player
Показать описание
In this Serverless Saturday tutorial, we'll be building a complete CRUD REST API for Amazon S3 using AWS Lambda and API Gateway. We'll also be using the Serverless Framework along with GitHub Actions to set up a CI/CD pipeline that deploys our application to the AWS cloud.

Sections:
00:00 - Intro
00:32 - Set up IAM user to obtain deployment access keys
2:34 - Set up GitHub Actions CI/CD workflow
6:34 - Set up deployment config a new S3 bucket
8:10 - Set up deployment config for Lambda functions & API Gateway triggers
15:30 - Implementing the POST endpoint lambda handler
16:30 - Implementing the GET endpoint lambda handler
22:02 - Implementing the DELETE endpoint lambda handler
23:50 - Testing the CRUD REST API
28:22 - Wrap up

Other related tutorials:

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

excellent work... 100% satisfactory tutorial

CodeXpert-pg
Автор

This was great. Succinct, helpful to me being new to AWS, and source-code to work from. Now I just need to figure out how to make this work with multi-part POST & auth & maybe the direct to S3 upload pattern.

ThomasLeo
Автор

Please you do a tutorial on a simple Serverless app that has an Authentication and Authorization.

For example, a TODO app where users can sign up and log in to manage their own TODO list. A user with Admin role can, for instance, ban a normal user account.

Maybe you can add option for user to upload an image to a TODO item (stored on S3). Also, you might want to have an option for a collaborative TODO list where users can add item to it.

Sorry for the long list. It is just that I have not seen anyone done something that we can learn to make a serverless app with multiple users that have Authentication and Authorization.

Thank you very much. 🙏

valirjonathan
Автор

Awesome content. Subscribed.

Would love to see how to setup different environment deploy like dev, staging and prod with serverless framework and github actions.

g-luu
Автор

For me, deployment was giving error. I had to add CloudWatchLogsFullAccess to the permissions list of the users to make it work. Putting it down for any future readers.

RahulYadav-ddqe
Автор

Hello. I am very interested in learning AWS. I came across a suggestion and while looking for a solution came across your channel. You are making very cool content. Would you like to shoot a video with a solution to my problem and share your experience with me, thank you?

СергейЯновский-эл