Creating a Lambda function

In this book, we will use the Serverless Framework extensively to make the deployment of Lambda functions easier; however, to see how useful the framework is, in this chapter, we will use the AWS Management Console for comparison.

We will now create a Lambda function to process log files. This function will be triggered when a new log file is added to an S3 bucket and the result of the Lambda function is to create an SNS notification if there is an error in the file.

Let's take a look at the following steps, which are necessary to execute:

  1. Browse the following link: https://console.aws.amazon.com/lambda. Select Get Started Now to start creating a new function:
  1. AWS offers many templates with sample configuration ...

Get Building Serverless Web Applications 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.