From the course: Getting Started with AWS Cloud Map

Unlock this course with a free trial

Join today to access over 25,500 courses taught by industry experts.

Demo: Create a simple Lambda function

Demo: Create a simple Lambda function

- [Instructor] All right. After logging into the AWS Management Console, let's go to Services. Let's go to the Compute category and select Lambda Service. We'll create a lambda function called Hello-World. The Lambda Hello-World function will be discovered in AWS Cloud Map as a registered instance. Click Create a function from the Get start page. From the Create function page, select Use a blueprint. Under Basic information, for Blueprint name, select Hello world function, python3.10. For Function name type, Hello-World. Scroll down. Leave the Execution role as Create a new role with basic Lambda permissions. Go to the bottom of the page, click Create function. In a few seconds, you should see the green bar across the top of the screen that reads, Successfully created the Lambda Hello-World function. To ensure the Hello-World function will work correctly, let's test it. For Event name, type Hello-World-Event. Scroll down, edit the Event JSON value1, type Hello World. Scroll back up…

Contents