Triggering an AWS Lambda Function For S3 File Uploads | AWS in Action
ฝัง
- เผยแพร่เมื่อ 11 ก.ค. 2024
- AWS Lambda is a serverless, managed service that allows you to define code that should be executed upon the occurrence of certain events.
One possible event is the creation of S3 objects (e.g., because of file uploads).
In this video, a new Lambda function will be created from scratch. The function is then configured to execute and read and output the content of files uploaded to S3.
AWS in Action Playlist: • Bootstrapping EC2 Inst...
Demo project code: github.com/academind/aws-demos
AWS Cloud Practitioner course: acad.link/aws-cp
Join our Academind Community on Discord: academind.com/community
Check out all our other courses: academind.com/courses
00:00 Introduction
01:42 Creating a new S3 bucket
04:37 Describing the goal / problem
05:26 Creating a new Lambda function
06:55 Writing & executing Lambda code
07:53 Adding a unction trigger (S3 event source)
10:24 More Lambda settings
13:45 Uploading Lambda code
15:58 Granting required IAM permissions
16:28 Editing the existing IAM role & creating a new policy
18:19 Testing the function
19:58 Summary & cleanup
----------
• Go to www.academind.com and subscribe to our newsletter to stay updated and to get exclusive content & discounts
• Follow @maxedapps and @academind_real on Twitter
• Follow @academind_real on Instagram: / academind_real
• Join our Facebook community on / academindchannel
See you in the videos!
----------
Academind is your source for online education in the areas of web development, frontend web development, backend web development, programming, coding and data science! No matter if you are looking for a tutorial, a course, a crash course, an introduction, an online tutorial or any related video, we try our best to offer you the content you are looking for. Our topics include Angular, React, Vue, Html, CSS, JavaScript, TypeScript, Redux, Nuxt.js, RxJs, Bootstrap, Laravel, Node.js, Progressive Web Apps (PWA), Ionic, React Native, Regular Expressions (RegEx), Stencil, Power BI, Amazon Web Services (AWS), Firebase or other topics, make sure to have a look at this channel or at academind.com to find the learning resource of your choice!
Thank you! I was having some difficulty with this when going through the documentation but this helps a lot
Thanks for your sharing!
Is there anything you don't know to do? Man you know all techs in the industry. Thanks for your great content, so helpful.
Hi, can you perhaps demonstrate that whole process using serverless application model or SAM using the SAM to configure inline policies, events (S3) and deploying to AWS using AWS deploy command. Thanks
Hi Max, do you have a plan to create ember + octane course ?
Hello I need to trigger Amazon comprehend when file is upload in s3 and textract the data from pdf so can you create example for that with data trained as well.
This is part of aws course in udemy?
You save me bro
First💕
Second
Third