Back to Browse

Triggering an AWS Lambda Function For S3 File Uploads | AWS in Action

25.7K views
Aug 25, 2022
21:03

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: https://www.youtube.com/watch?v=O7cF8-bz2jE&list=PL55RiY5tL51rudermnWTq1LlGC1BL1g3l Demo project code: https://github.com/academind/aws-demos AWS Cloud Practitioner course: https://acad.link/aws-cp Join our Academind Community on Discord: https://academind.com/community Check out all our other courses: https://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 https://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: https://www.instagram.com/academind_real • Join our Facebook community on https://www.facebook.com/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!

Download

1 formats

Video Formats

360pmp431.2 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Triggering an AWS Lambda Function For S3 File Uploads | AWS in Action | NatokHD