In this section, we will create the AWS Lambda function by using Python. We will build the AWS Lambda function graphically through a browser. To complete this task, you should have an active AWS account:
- Firstly, open a browser and navigate to http://console.aws.amazon.com/lambda. Our scenario is to build the echo function. It will send back any message from the caller. The message format is JSON.
- On the AWS Lambda function dashboard, you can create a new Lambda function by clicking on the Create function button. Then, fill in the function name and its role, as shown in the following screenshot. When done, click on the Create function button. For instance, my Lambda function name is echo-lambda:
- If successful, ...