...

Create Your First AWS Lambda Function | AWS Tutorial for Beginners

create-your-first-aws-lambda-function-aws-tutorial-for-beginners

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.

If you want to follow along, you can find the Python code here for the Lambda function: https://docs.google.com/document/d/1R9jO94MEjTy1ffb-TL4HOP1a_3ZIkwEU5lzLyEUGj5k/edit?usp=sharing

??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

Also check out these other videos:
• Using Lambda with API Gateway: https://youtu.be/jgpRAiar2LQ
• Learn how to create an AWS account: https://youtu.be/SJcqOj0fz6A
• Learn the basics of S3: https://youtu.be/mDRoyPFJvlU

00:00 – Overviewing an AWS Lambda scenario
00:37 – What is serverless computing?
02:04 – Benefits of using AWS Lambda
02:48 – Introducing the AWS Lambda tutorial
03:07 – Overviewing AWS Lamba pricing and the Free Tier
03:32 – Creating an S3 bucket in the AWS Management Console
04:21 – Creating an AWS Lambda function in the AWS Management Console
06:13 – Updating and deploying code in an AWS Lambda function
07:29 – Creating a trigger for an AWS Lambda function
08:41 – Understanding events and permissions on a Lambda trigger
09:45 – Uploading to S3 to trigger a Lambda function
10:14 – Monitoring a Lambda function with CloudWatch Metrics and Logs
11:41 – Deleting an S3 bucket and a Lambda function

Discover more from WIREDGORILLA

Subscribe now to keep reading and get access to the full archive.

Continue reading