An Amazon ECS cluster is a logical grouping of tasks or services.

  • If tasks or services are being run that use the EC2 launch type, a cluster is also a grouping of container instances.
  • If capacity providers are being used, a cluster is also a logical grouping of capacity providers.

When Amazon ECS is first used, a default cluster is created. Multiple clusters can be created in an account and help to keep resources separate.

An Amazon ECS service runs and maintains the requested number of tasks and associated load balancers.

External reference

Amazon ECS clusters

Setup

To set up the AWS integration and discover the VPN resources, do the following:

  1. Create an AWS Integration if not available in your installed integrations.
  2. Create a discovery profile.
  3. Select ECS Clusters in the AWS Integration Discovery Profile.
  4. Save the discovery profile to make them available in the list of Discovery Profiles.
  5. Scan to discover the resources at any time independent of the predefined schedule.
  6. Once the scan is completed, you can view the ECS Clusters resources under Infrastructure > Resources > AWS category.

Event support

CloudTrail event support

  • Not Supported

CloudWatch alarm support

  • Supported
  • Configurable in OpsRamp AWS Integration Discovery Profile.

Supported metrics

AWS ECS Cluster Metrics

OpsRamp MetricAWS MetricMetric Display NameUnitAggregation TypeDescription
aws_ecs_CPUReservationCPUReservationCPU ReservationPercentAverageThe percentage of CPU units that are reserved in the cluster or service.
aws_ecs_CPUUtilizationCPUUtilizationCPU UtilizationPercentAverageThe percentage of CPU units that is used by the cluster or service.
aws_ecs_MemoryReservationMemoryReservationMemory ReservationPercentAverageThe percentage of memory that is reserved by running tasks in the cluster.
aws_ecs_MemoryUtilizationMemoryUtilizationMemory UtilizationPercentAverageThe percentage of memory in use by the cluster or service.
aws_ecs_GPUReservationGPUReservationGPU ReservationPercentAverageThe percentage of total available GPUs that are reserved by running tasks in the cluster.
aws_ecs_container_insights_ContainerInstanceCountContainerInstanceCountContainer Instance CountCountAverageThe number of EC2 instances running the Amazon ECS agent that are registered with a cluster.
aws_ecs_container_insights_CpuUtilizedCpuUtilizedCpu UtilizedNoneAverageThe CPU units used by tasks in the resource that is specified by the dimension set that you're using.
aws_ecs_container_insights_CpuReservedCpuReservedCpu ReservedNoneAverageThe CPU units reserved by tasks in the resource that is specified by the dimension set that you're using.
aws_ecs_container_insights_EphemeralStorageReservedEphemeralStorageReservedEphemeral Storage ReservedGigabytesAverageThe number of bytes reserved from ephemeral storage in the resource that is specified by the dimensions that you're using.
aws_ecs_container_insights_EphemeralStorageUtilizedEphemeralStorageUtilizedEphemeral Storage UtilizedGigabytesAverageThe number of bytes used from ephemeral storage in the resource that is specified by the dimensions that you're using.
aws_ecs_container_insights_InstanceOSFilesystemUtilizationInstanceOSFilesystemUtilizationInstance OS Filesystem UtilizationPercentAverageThe percentage of total disk space that is used for OS volume.
aws_ecs_container_insights_InstanceDataFilesystemUtilizationInstanceDataFilesystemUtilizationInstance Data Filesystem UtilizationPercentAverageThe percentage of total disk space that is used for data volume.
aws_ecs_container_insights_MemoryUtilizedMemoryUtilizedMemory UtilizedMegabytesAverageThe memory being used by tasks in the resource that is specified by the dimension set that you're using.
aws_ecs_container_insights_MemoryReservedMemoryReservedMemory ReservedMegabytesAverageThe memory that is reserved by tasks in the resource that is specified by the dimension set that you're using.
aws_ecs_container_insights_NetworkRxBytesNetworkRxBytesNetwork Rx BytesBytes/SecondAverageThe number of bytes received by the resource that is specified by the dimensions that you're using.
aws_ecs_container_insights_NetworkTxBytesNetworkTxBytesNetwork Tx BytesBytes/SecondAverageThe number of bytes transmitted by the resource that is specified by the dimensions that you're using.
aws_ecs_container_insights_RestartCountRestartCountRestart CountCountAverageThe number of times a container in an Amazon ECS task has been restarted.
aws_ecs_container_insights_ServiceCountServiceCountService CountCountAverageThe number of services in the cluster.
aws_ecs_container_insights_StorageReadBytesStorageReadBytesStorage Read BytesBytesAverageThe number of bytes read from storage on the instance in the resource that is specified by the dimensions that you're using.
aws_ecs_container_insights_StorageWriteBytesStorageWriteBytesStorage Write BytesBytesAverageThe number of bytes written to storage in the resource that is specified by the dimensions that you're using.
aws_ecs_TaskCountTaskCountTask CountCountAverageThe number of tasks running in the cluster.
aws_ecs_container_insights_instance_cpu_limitinstance_cpu_limitinstance cpu limitNoneAverageThe maximum number of CPU units that can be assigned to a single EC2 Instance in the cluster.
aws_ecs_container_insights_instance_cpu_reserved_capacityinstance_cpu_reserved_capacityinstance cpu reserved capacityPercentAverageThe percentage of CPU currently being reserved on a single EC2 instance in the cluster.
aws_ecs_container_insights_instance_cpu_usage_totalinstance_cpu_usage_totalinstance cpu usage totalNoneAverageThe number of CPU units being used on a single EC2 instance in the cluster.
aws_ecs_container_insights_instance_cpu_utilizationinstance_cpu_utilizationinstance cpu utilizationPercentAverageThe total percentage of CPU units being used on a single EC2 instance in the cluster.
aws_ecs_container_insights_instance_filesystem_utilizationinstance_filesystem_utilizationinstance filesystem utilizationPercentAverageThe total percentage of file system capacity being used on a single EC2 instance in the cluster.
aws_ecs_container_insights_instance_memory_limitinstance_memory_limitinstance memory limitBytesAverageThe maximum amount of memory, in bytes, that can be assigned to a single EC2 Instance in this cluster.
aws_ecs_container_insights_instance_memory_reserved_capacityinstance_memory_reserved_capacityinstance memory reserved capacityPercentAverageThe percentage of Memory currently being reserved on a single EC2 Instance in the cluster.
aws_ecs_container_insights_instance_memory_utilizationinstance_memory_utilizationinstance memory utilizationPercentAverageThe total percentage of memory being used on a single EC2 Instance in the cluster.
aws_ecs_container_insights_instance_memory_working_setinstance_memory_working_setinstance memory working setBytesAverageThe amount of memory, in bytes, being used on a single EC2 Instance in the cluster.
aws_ecs_container_insights_instance_network_total_bytesinstance_network_total_bytesinstance network total bytesBytes/SecondAverageThe total number of bytes per second transmitted and received over the network on a single EC2 Instance in the cluster.
aws_ecs_container_insights_instance_number_of_running_tasksinstance_number_of_running_tasksinstance number of running tasksCountAverageThe number of running tasks on a single EC2 Instance in the cluster.

AWS ECS Service Metrics

OpsRamp MetricAWS MetricMetric Display NameUnitAggregation TypeDescription
aws_ecs_CPUUtilizationCPUUtilizationCPU UtilizationPercentAverageThe percentage of CPU units that is used by the cluster or service.
aws_ecs_MemoryUtilizationMemoryUtilizationMemory UtilizationPercentAverageThe percentage of memory in use by the cluster or service.
aws_ecs_EBSFilesystemUtilizationEBSFilesystemUtilizationEBS Filesystem UtilizationPercentAverageThe percentage of the Amazon EBS filesystem that is used by tasks in a service.
aws_ecs_ActiveConnectionCountActiveConnectionCountActive Connection CountCountAverageThe total number of concurrent connections active from clients to the Amazon ECS Service Connect proxies that run in tasks that share the selected DiscoveryName.
aws_ecs_NewConnectionCountNewConnectionCountNew Connection CountCountAverageThe total number of new connections established from clients to the Amazon ECS Service Connect proxies that run in tasks that share the selected DiscoveryName.
aws_ecs_ProcessedBytesProcessedBytesProcessed BytesBytesAverageThe total number of bytes of inbound traffic processed by the Service Connect proxies.
aws_ecs_RequestCountRequestCountRequest CountCountAverageThe number of inbound traffic requests processed by the Service Connect proxies.
aws_ecs_GrpcRequestCountGrpcRequestCountGrpc Request CountCountAverageThe number of gRPC inbound traffic requests processed by the Service Connect proxies.
aws_ecs_HTTPCode_Target_2XX_CountHTTPCode_Target_2XX_CountHTTP Code Target 2XX CountCountAverageThe number of HTTP response codes with numbers 200 to 299 generated by the applications in these tasks.
aws_ecs_HTTPCode_Target_3XX_CountHTTPCode_Target_3XX_CountHTTP Code Target 3XX CountCountAverageThe number of HTTP response codes with numbers 300 to 399 generated by the applications in these tasks.
aws_ecs_HTTPCode_Target_4XX_CountHTTPCode_Target_4XX_CountHTTP Code Target 4XX CountCountAverageThe number of HTTP response codes with numbers 400 to 499 generated by the applications in these tasks.
aws_ecs_HTTPCode_Target_5XX_CountHTTPCode_Target_5XX_CountHTTP Code Target 5XX CountCountAverageThe number of HTTP response codes with numbers 500 to 599 generated by the applications in these tasks.
aws_ecs_RequestCountPerTargetRequestCountPerTargetRequest Count Per TargetCountAverageThe average number of requests received by each target that share the selected DiscoveryName.
aws_ecs_TargetProcessedBytesTargetProcessedBytesTarget Processed BytesBytesAverageThe total number of bytes processed by the Service Connect proxies.
aws_ecs_TargetResponseTimeTargetResponseTimeTarget Response TimeMillisecondsAverageThe latency of the application request processing. The time elapsed, in milliseconds, after the request reached the Service Connect proxy in the target task until a response from the target application is received back to the proxy.
aws_ecs_ClientTLSNegotiationErrorCountClientTLSNegotiationErrorCountClient TLS Negotiation Error CountCountAverageThe total number of times the TLS connection failed. This metric is only used when TLS is enabled.
aws_ecs_TargetTLSNegotiationErrorCountTargetTLSNegotiationErrorCountTarget TLS Negotiation Error CountCountAverageThe total number of times the TLS connection failed due to missing client certificates, failed AWS Private CA verifications, or failed SAN verifications. This metric is only used when TLS is enabled.
aws_ecs_container_insights_CpuUtilizedCpuUtilizedCpu UtilizedNoneAverageThe CPU units used by tasks in the resource that is specified by the dimension set that you're using.
aws_ecs_container_insights_CpuReservedCpuReservedCpu ReservedNoneAverageThe CPU units reserved by tasks in the resource that is specified by the dimension set that you're using.
aws_ecs_container_insights_DeploymentCountDeploymentCountDeployment CountCountAverageThe number of deployments in an Amazon ECS service.
aws_ecs_DesiredTaskCountDesiredTaskCountDesired Task CountCountAverageThe desired number of tasks for an Amazon ECS service.
aws_ecs_container_insights_EBSFilesystemSizeEBSFilesystemSizeEBS Filesystem SizeGigabytesAverageThe total amount, in gigabytes (GB), of Amazon EBS filesystem storage that is allocated to the resources specified by the dimensions you're using.
aws_ecs_container_insights_EBSFilesystemUtilizedEBSFilesystemUtilizedEBS Filesystem UtilizedGigabytesAverageThe total amount, in gigabytes (GB), of Amazon EBS filesystem storage that is being used by the resources specified by the dimensions that you're using.
aws_ecs_container_insights_EphemeralStorageReservedEphemeralStorageReservedEphemeral Storage ReservedGigabytesAverageThe number of bytes reserved from ephemeral storage in the resource that is specified by the dimensions that you're using.
aws_ecs_container_insights_EphemeralStorageUtilizedEphemeralStorageUtilizedEphemeral Storage UtilizedGigabytesAverageThe number of bytes used from ephemeral storage in the resource that is specified by the dimensions that you're using.
aws_ecs_container_insights_MemoryUtilizedMemoryUtilizedMemory UtilizedMegabytesAverageThe memory being used by tasks in the resource that is specified by the dimension set that you're using.
aws_ecs_container_insights_MemoryReservedMemoryReservedMemory ReservedMegabytesAverageThe memory that is reserved by tasks in the resource that is specified by the dimension set that you're using.
aws_ecs_container_insights_NetworkRxBytesNetworkRxBytesNetwork Rx BytesBytes/SecondAverageThe number of bytes received by the resource that is specified by the dimensions that you're using.
aws_ecs_container_insights_NetworkTxBytesNetworkTxBytesNetwork Tx BytesBytes/SecondAverageThe number of bytes transmitted by the resource that is specified by the dimensions that you're using.
aws_ecs_PendingTaskCountPendingTaskCountPending Task CountCountAverageThe number of tasks currently in the PENDING state.
aws_ecs_RunningTaskCountRunningTaskCountRunning Task CountCountAverageThe number of tasks currently in the RUNNING state.
aws_ecs_container_insights_RestartCountRestartCountRestart CountCountAverageThe number of times a container in an Amazon ECS task has been restarted.
aws_ecs_container_insights_StorageReadBytesStorageReadBytesStorage Read BytesBytesAverageThe number of bytes read from storage on the instance in the resource that is specified by the dimensions that you're using.
aws_ecs_container_insights_StorageWriteBytesStorageWriteBytesStorage Write BytesBytesAverageThe number of bytes written to storage in the resource that is specified by the dimensions that you're using.
aws_ecs_container_insights_TaskSetCountTaskSetCountTask Set CountCountAverageThe number of task sets in the service.