Hello, world! in the console

In this section, we're going to create a Lambda function in Python using the AWS Management Console. Since Python code doesn't need to be built, we'll create a function that needs no dependencies so that we can use the inline editor.

Fire up your AWS account and head over to the Lambda console. If you haven't created any functions, you'll be greeted by the home screen. Have a read if you like, and when you're ready, click the Create function button.

We're going to create our function from scratch, but it's worth noting the other options there. Chances are that there will be a blueprint for what you're trying to do, so it pays to remember to check the list of samples before creating functions:

Creating a new Lambda ...

Get Learn AWS Serverless Computing now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.