Step 2: Create a HelloWorld Lambda Function and Explore the Console
In this Getting Started exercise you first create a Hello World Lambda function using the AWS Lambda console. Next, you manually invoke the Lambda function using a sample event data. AWS Lambda executes the Lambda function and returns results. You then verify execution results, including the logs that your Lambda function created and various CloudWatch metrics.
As you follow the steps, you will also familiarize yourself with the AWS Lambda console including:
Explore the blueprints. Each blueprint provides sample code and sample configurations that enable you to create Lambda functions with just a few clicks. The Getting Started exercise uses the hello-world-python blueprint.
View and update configuration information of your Lambda function.
Invoke a Lambda function manually and explore results in the Execution results section.
Monitor CloudWatch metrics in the console.
Although not required, we recommend you review How It Works first.
Preparing for the Getting Started
First, you need to sign up for an AWS account and create an administrator user in your account. For instructions, see Step 1: Set Up an AWS Account and the AWS CLI.