Configuring CloudWatch Container Insights
CloudWatch has an intelligent way of collecting container metrics using a feature called Container Insights. To be able to use Container Insights, it needs to be enabled from CloudWatch. But first, let's understand why we need to activate Container Insights.
Why activate Container Insights?
There are a lot of metrics that can be collected in any application or infrastructure setup. But you do not want to flood your CloudWatch with both necessary and unnecessary metrics. So, using Container Insights will narrow down the metrics collected from ECS to more specific and useful metrics for your ECS deployments. It also serves as a turn-key solution for metrics aggregation. Instead of looking for which monitoring tool will be used to collect logs from the running container and sifting through the logs to find the most important metrics needed for your container running in ECS, activating Container Insights on ECS will help in collecting...