Guided Lab: Creating an AWS Lambda function
Description
AWS Lambda is a serverless computing service that lets you run code without provisioning or managing servers. Unlike traditional server-based setups like EC2, where you’re charged as long as your server is up, AWS Lambda matches costs directly with your actual usage. You pay only when your code is running, which is a big plus for event-based processes that don’t need to run 24/7. AWS Lambda automatically scales out, making it a great fit for workloads that have unpredictable or varying demands.
In this lab, you will learn how to create a Lambda function, which is a piece of code that runs in response to events and automatically manages the computing resources required by that code. The lab will guide you through the process of setting up a Lambda function in the AWS Console and testing the function to ensure it works as expected.
Objectives
In this lab, you will:
- Have a basic understanding of Lambda functions
- Understand the cost model of AWS Lambda
- Create and run Lambda functions in the AWS Console using Python
- Understand the general configurations of a Lambda function