Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/danilop/reinvent2022-boa310
Code used at re:Invent 2022 for session BOA310 "Building observable applications with OpenTelemetry"
https://github.com/danilop/reinvent2022-boa310
Last synced: 2 months ago
JSON representation
Code used at re:Invent 2022 for session BOA310 "Building observable applications with OpenTelemetry"
- Host: GitHub
- URL: https://github.com/danilop/reinvent2022-boa310
- Owner: danilop
- License: apache-2.0
- Created: 2022-10-14T08:41:54.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-09T09:43:52.000Z (over 1 year ago)
- Last Synced: 2024-04-15T04:54:13.220Z (9 months ago)
- Language: Python
- Size: 18.6 KB
- Stars: 12
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# reInvent2022-BOA310
Code used at re:Invent 2022 for session BOA310 "Building observable applications with OpenTelemetry"## Role
Create a role using:
- Role/trust.json for the trust relationships
- Role/policy.json for permissionsAdd these managed policies the the permissions:
- AWSXRayDaemonWriteAccess
- AmazonPrometheusRemoteWriteAccess## Container images
The container image for the Lambda function is built for the arm64 architecture.
The other container images are multi-arch and support both amd64 and arm64.## AppRunner
Create two services, one using the guess-the-number-auto container image, one using the guess-the-number-manual image. For both, enable Observability (Tracing with AWS X-Ray) in the Service settings.
## ECS
Create a service using the guess-the-number-manual image. Add observability using the console as described in this blog post:
https://aws.amazon.com/blogs/opensource/simplifying-amazon-ecs-monitoring-set-up-with-aws-distro-for-opentelemetry/## Lambda
Create an arm64 function using the guess-the-number-manual-lambda ontainer image.
Create a function using the AWS SAM CLI and the app in the GuessTheNumber-SAM directory.