diff --git a/src/assets/img/docs/setup/ecs/create-task-definition/taskdefinition_06.png b/src/assets/img/docs/setup/ecs/create-task-definition/taskdefinition_06.png new file mode 100644 index 000000000..f3c03a3bf Binary files /dev/null and b/src/assets/img/docs/setup/ecs/create-task-definition/taskdefinition_06.png differ diff --git a/src/docs/setup/ecs/create-task-definition-console.mdx b/src/docs/setup/ecs/create-task-definition-console.mdx index 784680413..9e96a0f7d 100644 --- a/src/docs/setup/ecs/create-task-definition-console.mdx +++ b/src/docs/setup/ecs/create-task-definition-console.mdx @@ -14,6 +14,7 @@ import task3 from "assets/img/docs/setup/ecs/create-task-definition/taskdefiniti import task4 from "assets/img/docs/setup/ecs/create-task-definition/taskdefinition4.png" import task5 from "assets/img/docs/setup/ecs/create-task-definition/taskdefinition5.png" import task6 from "assets/img/docs/setup/ecs/create-task-definition/taskdefinition6.png" +import task_06 from "assets/img/docs/setup/ecs/create-task-definition/taskdefinition_06.png" import task7 from "assets/img/docs/setup/ecs/create-task-definition/taskdefinition7.png" import task8 from "assets/img/docs/setup/ecs/create-task-definition/taskdefinition8.png" import task9 from "assets/img/docs/setup/ecs/create-task-definition/taskdefinition9.png" @@ -33,6 +34,7 @@ import task22 from "assets/img/docs/setup/ecs/create-task-definition/taskdefinit import task23 from "assets/img/docs/setup/ecs/create-task-definition/taskdefinition23.png" import task24 from "assets/img/docs/setup/ecs/create-task-definition/taskdefinition24.png" + In this tutorial, we will demonstrate how to install ADOT Collector using Task Definition on the Amazon Elastic Container Service (Amazon ECS) through AWS console. @@ -61,6 +63,9 @@ Select Network Mode to `awsvpc` Put a container name (i.e. *aws-otel-collector*) and use the *amazon/aws-otel-collector* container image. We can keep everything else default Diagram + [Optional] In the 'Advanced container configuration' section, let's setup the HealthCheck instructions for aws-otel-collector. + Provide the '/healthcheck' command and enter 5s as interval, 6s as Timeout, 1s as Start period, and 5 as Retries. +Diagram 7. Set up the OpenTelemetry configuration file for AWS Observability Toolkit (AOT) In this section we will set the OpenTelemetry configuration file for our Collector container (ADOT Collector). All the functionality of AOC is passive, if your application doesn’t emit the data to the port (X-ray use UDP 2000, OTLP use TCP 4317 and 4318, StatsD use UDP 8125) then there will be no effect. diff --git a/src/docs/setup/ecs/create-task-definition-instance-console.mdx b/src/docs/setup/ecs/create-task-definition-instance-console.mdx index 30f3e167e..fa3fa7f54 100644 --- a/src/docs/setup/ecs/create-task-definition-instance-console.mdx +++ b/src/docs/setup/ecs/create-task-definition-instance-console.mdx @@ -14,6 +14,7 @@ import task3 from "assets/img/docs/setup/ecs/create-task-definition/taskdefiniti import task4 from "assets/img/docs/setup/ecs/create-task-definition/taskdefinition4.png" import task5 from "assets/img/docs/setup/ecs/create-task-definition/taskdefinition5.png" import task6 from "assets/img/docs/setup/ecs/create-task-definition/taskdefinition6.png" +import task_06 from "assets/img/docs/setup/ecs/create-task-definition/taskdefinition_06.png" import task7 from "assets/img/docs/setup/ecs/create-task-definition/taskdefinition7.png" import task8 from "assets/img/docs/setup/ecs/create-task-definition/taskdefinition8.png" import task9 from "assets/img/docs/setup/ecs/create-task-definition/taskdefinition9.png" @@ -68,6 +69,9 @@ Mention task memory and task cpu for your task-definition like use 2048 for mem Put a container name (i.e. *aws-otel-collector*) and use the *amazon/aws-otel-collector* container image. We can keep everything else default Diagram + [Optional] In the 'Advanced container configuration' section, let's setup the HealthCheck instructions for aws-otel-collector. + Provide the '/healthcheck' command and enter 5s as interval, 6s as Timeout, 1s as Start period, and 5 as Retries. +Diagram 8. Set up the OpenTelemetry configuration file for AWS Observability Toolkit (AOT): In the Environment Command section add `--config=/etc/ecs/otel-instance-metrics-config.yaml` to select the ECS default configuration