Lab Steps

lock
Logging in to the Amazon Web Services Console
lock
Creating an Amazon SNS Topic
lock
Creating an AWS Lambda Function
lock
Implementing an AWS Lambda Function to Upload to S3
lock
Publishing a Message to a Amazon SNS Topic
lock
Verifying the AWS Lambda Function Processed the Message
Need help? Contact our support team

Here you can find the instructions for this specific Lab Step.

If you are ready for a real environment experience please start the Lab. Keep in mind that you'll need to start from the first step.

Introduction

In this lab step, you will create an AWS Lambda function.

AWS Lambda is a fully-managed, serverless, event-driven compute service. Lambda allows you to run code without provisioning or managing servers.

 

Instructions

1. In the AWS Management Console search bar, enter Lambda, and click the Lambda result under Services:

alt

You will see the Functions list page.

 

2. Click Create function:

alt

 

3. In the Create function form, ensure Author from scratch is selected:

alt

 

4. In the Create function form, enter lab-function in the Function name field:

alt

 

5. In the Create function form, in the Runtime drop-down, select Python 3.8:

alt

 

6. In the Create function form, click Change default execution role and select Use an existing role:

alt

 

7. In the Existing role drop-down, select lambda_s3_put:

alt

The role you have selected has been pre-populated for this Lab. Usually when using Lambda you will create a specific role for your function.

 

8. To create your function, click Create function:

alt

 

Summary

In this lab step, you created a Lambda function.

Validation checks
1Checks
Created Lambda Function

Check if the AWS Lambda function has been created

AWS Lambda

Learning Pathnavigation