...........
This repository is part of workshop Serverless Observability Workshop. This repo have AWS Serverless Application to deploy a demo application for education purpose about how to instrument, collect, and analyze metrics, traces, and log of your serverless application to understand what are happen and prevent failures
- Amazon CloudWatch
- AWS X-Ray
- AWS Lambda
- Amazon DynamoDB
- AWS SNS
In this sample, we will have an API Gateway triggering AWS Lambdas to PUT and GET data from Amazon DynamoDB and publish message in a AWS SNS topic and observe what happen in the application.
Make sure you have the necessary IAM permissions to deploy all the resources that will be deployed in this sample
- In the AWS Region that you want to deploy the solution, create a AWS Cloud9 environment.
Remember: This repo is part of an Workshop and have some steps there to help solution works perfectly.
-
Clone the repo in your Cloud9 env:
git clone https://github.com/aws-samples/serverless-observability-workshop.git
-
If you want to understand how to collect metrics and logs follow this step:
cd ~/environment/serverless-observability-workshop/code/sample-app npm install sam build sam deploy -g
- For more details see HERE
-
If you want to undestand how to inject and check Traces follow this step:
cd ~/environment/serverless-observability-workshop/code/sample-app-tracing npm install sam build sam deploy -g
- Go back in your Cloud9 environment and remove each project like this example:
cd ~/environment/serverless-observability-workshop/code/sample-app sam delete
This library is licensed under the MIT-0 License. See the LICENSE file.