Difference between revisions of "AWS CloudWatch Container Insights"

From wikieduonline
Jump to navigation Jump to search
 
(31 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[wikipedia:Container Insights]] (2019) <ref>https://aws.amazon.com/about-aws/whats-new/2019/07/introducing-container-insights-for-ecs-and-aws-fargate-in-preview/</ref> is a service that collects data as performance log events using the [[embedded metric format]].
+
[[wikipedia:Container Insights]] ([[AWS timeline|Jul 2019]]) <ref>https://aws.amazon.com/about-aws/whats-new/2019/07/introducing-container-insights-for-ecs-and-aws-fargate-in-preview/</ref> is a service that collects data as performance log events using the [[embedded metric format]].
  
 +
 +
For Amazon ECS, network metrics are available only for containers in [[bridge network mode]]. They are not available for containers in [[awsvpc network mode]] or [[host network mode]].
 +
 +
 +
== Operations ==
 +
===To enable service to all new [[ECS]] clusters===
 +
*<code>[[aws ecs put-account-setting]] --name "containerInsights" --value "enabled"</code>
 +
* Enable on specific cluster: <code>[[aws ecs update-cluster-settings]] --cluster myCICluster --settings name=containerInsights,value=enabled</code>
 +
 +
===Set account-level permission to enable Container Insights for any new Amazon ECS clusters===
 +
* <code>aws ecs put-account-setting --name "containerInsights" --value "enabled"</code>
 +
 +
===Enable Container Insights on an existing Amazon ECS cluster===
 +
*<code>aws ecs update-cluster-settings --cluster myCICluster --settings name=containerInsights,value=enabled</code>
 +
 +
===Disable Container Insights on an existing Amazon ECS cluster===
 +
*<code>aws ecs update-cluster-settings --cluster myCICluster --settings name=containerInsights,value=disabled</code>
 +
 +
== Related terms ==
 +
* [[AWS ECS]]
 +
* [[AKS]]: [[CMK]]
 +
* <code>[[aws_ecs_cluster]], [[settings]] [[containerInsights]]</code>
 +
* [[Amazon CloudWatch Synthetics]]
 +
* <code>[[MCycle: module.downstream-clusters-EKS.module.eks.output.cluster certificate authority data]]</code>
 +
 +
== News ==
 +
* Amazon EKS [[EKS versions|v1.23]] (Dec 2021) and later supported: [[Setting up Container Insights on Amazon EKS and Kubernetes]] <ref>https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/deploy-container-insights-EKS.html</ref>
 +
* Aug 2021 [[Prometheus]] support https://aws.amazon.com/blogs/containers/introducing-cloudwatch-container-insights-prometheus-support-with-aws-distro-for-opentelemetry-on-amazon-ecs-and-amazon-eks/
  
 
== See also ==
 
== See also ==
* {{AWS ECS}}
 
* {{CloudWatch}}
 
 
* {{Insights}}
 
* {{Insights}}
  
 
[[Category:AWS]]
 
[[Category:AWS]]

Latest revision as of 16:42, 11 March 2024

wikipedia:Container Insights (Jul 2019) [1] is a service that collects data as performance log events using the embedded metric format.


For Amazon ECS, network metrics are available only for containers in bridge network mode. They are not available for containers in awsvpc network mode or host network mode.


Operations[edit]

To enable service to all new ECS clusters[edit]

Set account-level permission to enable Container Insights for any new Amazon ECS clusters[edit]

  • aws ecs put-account-setting --name "containerInsights" --value "enabled"

Enable Container Insights on an existing Amazon ECS cluster[edit]

  • aws ecs update-cluster-settings --cluster myCICluster --settings name=containerInsights,value=enabled

Disable Container Insights on an existing Amazon ECS cluster[edit]

  • aws ecs update-cluster-settings --cluster myCICluster --settings name=containerInsights,value=disabled

Related terms[edit]

News[edit]

See also[edit]

  • https://aws.amazon.com/about-aws/whats-new/2019/07/introducing-container-insights-for-ecs-and-aws-fargate-in-preview/
  • https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/deploy-container-insights-EKS.html
  • Advertising: