Description
If ClusterSettings omits Container Insights, check the account setting that applied when the cluster was created. Basic ECS metrics and other monitoring can still be available.
Potential impact
Without the additional metrics, it is harder to compare CPU and memory use across services or diagnose task failures.
Remediation
In ClusterSettings, set Name: containerInsights and Value: enabled. Consider supported enhanced mode for more container-level detail, and check collection permissions and cost.
Examples
Before
yaml
Resources:
ECSCluster:
Type: AWS::ECS::Cluster
Properties:
ClusterName: MyCluster
After
yaml
Resources:
ECSCluster:
Type: AWS::ECS::Cluster
Properties:
ClusterName: MyCluster
ClusterSettings:
- Name: containerInsights
Value: enabled
After updating the stack, check the latest metrics for MyCluster in CloudWatch and verify its dashboard and alarms.