Instrumenting a container application running on ECS using OpenTelemetry
In this section, we will go through all steps to instrument and deploy an application using AWS Distro for OpenTelemetry.
First, let us deploy the application:
- Browse this link: https://eu-central-1.console.aws.amazon.com/cloudformation/home?region=eu-central-1#/stacks/quickcreate?templateURL=https%3A%2F%2Finsiders-guide-observability-on-aws-book.s3.amazonaws.com%2Fchapter-09%2Faws-ecs-otel-main.yaml&stackName=OTELFlaskApp. When you click on this link, you will be redirected to the CloudFormation stack creation page, with all the details pre-populated. You can leave all the default values. Just do not forget to check the two checkboxes at the end of the page before clicking on the Create stack button. Check the following figure:
Figure 9.6 – CloudFormation step 4, acknowledging the creation of IAM resources
- You will need to wait around 5-10 minutes for the...