UPDATED for the new Lambda console editor!
One of the most popular services on AWS is Lambda, which lets you run code in response to some event, without having to worry about the underlying servers.
In this video, I’ll provide a short overview of Lambda, its benefits, and why you would use it. Then in a hands-on tutorial, I’ll walk through how to create a Lambda function (in Python 3.9) that’s triggered by a file upload to an S3 bucket. Finally, I’ll show you how to delete the S3 bucket and the Lambda function.
🌟***WHAT YOU NEED TO FOLLOW ALONG***🌟
• Python code for the Lambda function: https://docs.google.com/document/d/1R9jO94MEjTy1ffb-TL4HOP1a_3ZIkwEU5lzLyEUGj5k/edit?usp=sharing
🌟***OTHER VIDEOS YOU MIGHT ENJOY***🌟
• S3 for Beginners: https://youtu.be/mDRoyPFJvlU
• IAM for Beginners: https://youtu.be/iF9fs8Rw4Uo
🌟🌟If you’re interested in getting AWS certifications, check out these full courses. They include lots of hands-on demos, quizzes and full practice exams. Use FRIENDS10 for a 10% discount!
• AWS Certified Cloud Practitioner: https://academy.zerotomastery.io/a/aff_n20ghyn4/external?affcode=441520_lm7gzk-d
• AWS Certified Solutions Architect Associate: https://academy.zerotomastery.io/a/aff_464yrtnn/external?affcode=441520_lm7gzk-d
🌟***TIMESTAMPS***🌟
00:00 – Overviewing an AWS Lambda scenario
00:40 – What is serverless computing?
02:15 – Benefits of using AWS Lambda
02:59 – Introducing the AWS Lambda tutorial
03:18 – Overviewing AWS Lamba pricing and the Free Tier
03:57 – Creating an S3 bucket in the AWS Management Console
04:50 – Creating an AWS Lambda function in the AWS Management Console
05:25 – Creating a new execution role for the Lambda function
06:13 – Updating and deploying code in an AWS Lambda function
08:54 – Creating a trigger for an AWS Lambda function
10:36 – Understanding events and permissions on a Lambda trigger
11:32 – Uploading to the S3 bucket to trigger a Lambda function
12:12 – Monitoring a Lambda function with CloudWatch Metrics and Logs
14:27 – IMPORTANT! Deleting an S3 bucket and a Lambda function