ECS Fargate Cluster Test
An ECS Fargate cluster is a managed, serverless container orchestration infrastructure that runs containerized application tasks and handles specific workloads within the AWS ECS environment. Task scheduling failures on Fargate clusters such as unschedulable pending tasks can significantly degrade the performance of that cluster.
This test monitors the pending task count of the cluster and alerts administrators about erratic pending task patterns on the cluster and what is causing them - is it due to excessive pending tasks that roots from cluster resource exhaustion preventing task scheduling? is the cluster memory utilization high, preventing new task provisioning? is the deployment count stuck or showing failed deployments in the target ECS Fargate cluster? This way, the test helps administrators isolate and pre-empt the target cluster related issues, thus improve the performance of the cluster, and ensure timely task execution and consistent service availability.
Target of the test: ECS Fargate Cluster
Agent deploying the test: A remote agent
Output of the test: One set of results for the target ECS Fargate Cluster.
| Parameter | Description |
|---|---|
|
Test Period |
How often should the test be executed. |
|
Host |
The host for which the test is to be configured. |
|
Access Type |
eG Enterprise monitors the AWS cloud using AWS API. By default, the eG agent accesses the AWS API using a valid AWS account ID, which is assigned a special role that is specifically created for monitoring purposes. Accordingly, the Access Type parameter is set to Role by default. Furthermore, to enable the eG agent to use this default access approach, you will have to configure the eG tests with a valid AWS Account ID to Monitor and the special AWS Role Name you created for monitoring purposes.
Some AWS cloud environments however, may not support the role-based approach Note that the Secret option may not be ideal when monitoring high-security cloud environments. This is because, such environments may issue a security mandate, which would require administrators to change the Access Key and Secret Key, often. Because of the dynamicity of the key-based approach, Amazon recommends the Role-based approach for accessing the AWS API. |
|
External ID |
In a Role-based monitoring approach, cross-account roles can be used to give access to resources from other AWS accounts. The External ID acts as an additional security mechanism and it should be specified during the IAM role creation process to ensure that only authorized parties can assume the role. The External ID parameter lists the Nickname of the AWS Cloud component configured on the Add components page of eG Manager. This parameter represents the External ID to which this cluster is associated with. For more details on this External ID and how it is configured, refer to |
|
AWS Account ID to Monitor |
This parameter appears only when the Access Type parameter is set to Role. Specify the AWS Account ID that the eG agent should use for connecting and making requests to the AWS API. To determine your AWS Account ID, follow the steps below:
|
|
AWS Role Name |
This parameter appears when the Access Type parameter is set to Role. Specify the name of the role that you have specifically created on the AWS cloud for monitoring purposes. The eG agent uses this role and the configured Account ID to connect to the AWS Cloud and pull the required metrics. To know how to create such a role, refer to Creating a New Role. |
|
AWS Access Key, AWS Secret Key, Confirm AWS Access Key, Confirm AWS Secret Key |
These parameters appear only when the Access Type parameter is set to Secret. To monitor an Amazon instance, the eG agent has to be configured with the access key and secret key of a user with a valid AWS account. For this purpose, we recommend that you create a special user on the AWS cloud, obtain the access and secret keys of this user, and configure this test with these keys. The procedure for this has been detailed in the Obtaining an Access key and Secret key topic. Make sure you reconfirm the access and secret keys you provide here by retyping it in the corresponding Confirm text boxes. |
|
Proxy Host and Proxy Port |
In some environments, all communication with the AWS cloud and its regions could be routed through a proxy server. In such environments, you should make sure that the eG agent connects to the cloud via the proxy server and collects metrics. To enable metrics collection via a proxy, specify the IP address of the proxy server and the port at which the server listens against the Proxy Host and Proxy Port parameters. By default, these parameters are set to none , indicating that the eG agent is not configured to communicate via a proxy, by default. |
|
Proxy User Name, Proxy Password, and Confirm Password |
If the proxy server requires authentication, then, specify a valid proxy user name and password in the proxy user name and proxy password parameters, respectively. Then, confirm the password by retyping it in the CONFIRM PASSWORD text box. By default, these parameters are set to none, indicating that the proxy sever does not require authentication by default. |
|
Proxy Domain and Proxy Workstation |
If a Windows NTLM proxy is to be configured for use, then additionally, you will have to configure the Windows domain name and the Windows workstation name required for the same against the proxy domain and proxy workstation parameters. If the environment does not support a Windows NTLM proxy, set these parameters to none. |
|
Exclude Region |
Here, you can provide a comma-separated list of region names or patterns of region names that you do not want to monitor. For instance, to exclude regions with names that contain 'east' and 'west' from |
|
Default Connection Region |
By default, this test connects to the endpoint URL of the us-east-1 region to collect the required metrics. If the default us-east-1 region is not enabled in the target environment, then, for this test to collect the required metrics, specify the region that is enabled in the target environment. |
|
DD Frequency |
Refers to the frequency with which detailed diagnosis measures are to be generated for this test. The default is 1:1. This indicates that, by default, detailed measures will be generated every time this test runs, and also every time the test detects a problem. You can modify this frequency, if you so desire. Also, if you intend to disable the detailed diagnosis capability for this test, you can do so by specifying none against DD frequency. |
|
Detailed Diagnosis |
To make diagnosis more efficient and accurate, the eG Enterprise embeds an optional detailed diagnostic capability. With this capability, the eG agents can be configured to run detailed, more elaborate tests as and when specific problems are detected. To enable the detailed diagnosis capability of this test for a particular server, choose the On option. To disable the capability, click on the Off option. The option to selectively enable/disable the detailed diagnosis capability will be available only if the following conditions are fulfilled:
|
|
Measurement |
Description |
Measurement Unit |
Interpretation |
||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Cluster status |
Indicates the status of the target ECS Fargate cluster. |
|
The values reported by this measure and its numeric equivalents are mentioned in the table below:
Note: By default, this measure reports the Measure Values listed in the table above to indicate the status of the target ECS Fargate cluster. The graph of this measure however, is represented using the numeric equivalents only. |
||||||||||||
|
Container instances |
Indicates the number of container instances running in the ECS Fargate cluster. |
Number |
|
||||||||||||
|
Total services |
Indicates the total number of services running in the ECS Fargate cluster. |
Number |
ECS Fargate Service is an AWS service for running containerized applications without managing servers. Use the detailed diagnosis of this measure to know which service is actively running in the ECS Fargate cluster. |
||||||||||||
|
Active services |
Indicates the number of services that are actively running in the ECS Fargate cluster. |
Number |
Ideally, the value of this measure should be high. |
||||||||||||
|
Is capacity provider enabled? |
Indicates whether/not the capacity provider for ECS Fargate cluster is enabled. |
|
A Capacity Provider in ECS Fargate is the mechanism that links the cluster to its underlying compute engine and its status directly determines whether the cluster can actually provision and run tasks when needed. The values reported by this measure and its numeric equivalents are mentioned in the table below:
Note: By default, this measure reports the Measure Values listed in the table above to indicate whether/not the capacity provider for ECS Fargate cluster is enabled. The graph of this measure however, is represented using the numeric equivalents only. Use the detailed diagnosis of this measure to know the details of the capacity provider. |
||||||||||||
|
Is default capacity provider strategy enabled? |
Indicates whether/not the default capacity provider strategy for ECS Fargate cluster is enabled. |
|
The Default Capacity Provider Strategy in an ECS Fargate cluster is the cluster-wide rule that defines how tasks are distributed across available capacity providers when no explicit strategy is specified at the service or task level. The status of Default Capacity Provider Strategy directly determines whether the cluster intelligently places tasks across compute options or falls back to unpredictable default behavior. The values reported by this measure and its numeric equivalents are mentioned in the table below:
Note: By default, this measure reports the Measure Values listed in the table above to indicate whether/not the default capacity provider strategy for ECS Fargate cluster is enabled. The graph of this measure however, is represented using the numeric equivalents only. |
||||||||||||
|
vCPU reserved |
Indicates the number of CPUs allocated to ECS Fargate cluster. |
Number |
|
||||||||||||
|
vCPU utilization |
Indicates the percentage of CPU used by ECS Fargate cluster. |
Percent |
Ideally, the value of this measure should be low since containers get throttled, causing slow performance or task failures. |
||||||||||||
|
Memory reserved |
Indicates the size of memory allocated to ECS Fargate cluster. |
MB |
|
||||||||||||
|
Memory utilized |
Indicates the percentage of memory size used by ECS Fargate cluster. |
MB |
|
||||||||||||
|
Deployments |
Indicates the number of deployments running in the ECS Fargate cluster. |
Number |
Ideally, there should be only 1 active deployment at a time since multiple deployments indicate a rollout is still in progress, and having too many can signal a stuck or failed deployment. |
||||||||||||
|
Desired tasks |
Indicates the number of desired tasks running in ECS Fargate cluster. |
Number |
|
||||||||||||
|
Task sets |
Indicates the number of task sets running in ECS Fargate cluster. |
Number |
|
||||||||||||
|
Total current tasks |
Indicates the total number of tasks running in ECS Fargate cluster. |
Number |
This measure is captured based on the Use the detailed diagnosis of this measure to know details of total current task instances available in ECS Container. |
||||||||||||
|
Running tasks |
Indicates the number of tasks currently running in ECS Fargate cluster. |
Number |
Use the detailed diagnosis of this measure to know details of task instances running in ECS Container. |
||||||||||||
|
Pending tasks |
Indicates the number of tasks pending in ECS Fargate cluster. |
Number |
Ideally, the value of these measures should be low. |
||||||||||||
|
Restarted tasks |
Indicates the number of tasks restarted in ECS Fargate cluster. |
Number |
|||||||||||||
|
Stopped tasks |
Indicates the number of tasks stopped in ECS Fargate cluster. |
Number |
|||||||||||||
|
Removed tasks |
Indicates the number of tasks removed in ECS Fargate cluster during the last measurement period. |
Number |
Ideally the value of this measure should be low. Compare the value of this measure to identify the maximum number of tasks that were removed. |
||||||||||||
|
Running tasks vs desired |
Indicates the percentage of running tasks against desired tasks count. |
Percent |
If running count is consistently lower than desired count, it may indicate service instability or deployment problems. |
||||||||||||
|
Ebs filesystem size |
Indicates the size of Ebs filesystem allocated to ECS Fargate cluster. |
GB |
EBS provides Fargate container a permanent storage that keeps the data safe even when the container stops or restarts, unlike the default storage which erases everything when the task ends. |
||||||||||||
|
Ebs filesystem utilized |
Indicates the size of Ebs filesystem utilized by ECS Fargate cluster. |
GB |
|
||||||||||||
|
Ephemeral storage reserved |
Indicates the temporary disk space that is available only while the instance or container is running. |
GB |
|
||||||||||||
|
Ephemeral storage utilized |
Indicates the size of temporary disk space currently being used out of the total ephemeral storage allocated to an instance or container. |
GB |
|
||||||||||||
|
Storage reads |
Indicates the rate at which data is read from the storage volume. |
MB/Sec |
Read operations are performed on the storage volume, where the application or OS fetches/retrieves data from the disk. |
||||||||||||
|
Storage writes |
Indicates the rate at which data is written to the storage volume. |
MB/Sec |
Write operations are performed on the storage volume, where the application or OS saves/writes data to the disk. |
||||||||||||
|
Network Rx |
Indicates the rate at which data is received into the instance or container through the network. |
MB/Sec |
|
||||||||||||
|
Network Tx |
Indicates the rate at which data is sent out from the instance or container through the network. |
MB/Sec |
|