How does eG Enterprise Monitor ECS Fargate Task?

eG Enterprise employs agent-based approach to monitor ECS Fargate Task. The agent based approach requires that an eG agent be added to Task definition (which has one or more containers) to collect the metrics of interest from the target ECS Fargate Task.

Prerequisites for monitoring ECS Fargate Task

Follow the steps below to ensure the environment is set up for monitoring.

  1. eG Container Agent Network Connectivity: The eG Container Agent running on all master and worker nodes must have network access to the eG Manager.

  2. Task definition Admin Access: Need a user who can access the task definition of the applications deployed in AWS ECS Fargate environment. The deployment of eG Agent in AWS ECS Fargate need changes in the task definition.

  3. Container Agent Image Access: By default, container agent images are pulled from public registries such as Docker Hub. If the environment does not allow public internet access, images must be copied to a private registry and referenced from there.

The steps on how to configure eG Agent container in AWS ECS Fargate Task is explained in the upcoming section.