Deploying a basic serverless application running on AWS Lambda
To gain practical knowledge of the various built-in metrics and logs available in Lambda functions, we will deploy a basic serverless application on AWS Lambda in this section. This will serve as a hands-on opportunity to learn how to trace the end-to-end performance of an application running on serverless components using AWS observability services.
Letβs deploy a basic serverless application using AWS services, namely Amazon API Gateway, AWS Lambda, and DynamoDB, following the architecture outlined in this diagram:
Figure 7.1 β Sample app architecture
You should click on the following CloudFormation YAML file to deploy the sample application. Once the application is deployed in your AWS account, it will only contain the necessary IAM roles for accessing and storing data in CloudWatch and other relevant services. It is not yet instrumented for end-to-end observability. Letβ...