This rule checks whether maximum memory usage of an ECS instance meets or exceeds a specified threshold within a defined period (default: 7 days). Instances not connected to Cloud Monitor are not applicable. The check consumes the basic Cloud Monitor free quota. Enable Hybrid Cloud Monitoring for improved accuracy.
Risk level
Default risk level: Low.
Change the risk level as needed.
Detection logic
-
An ECS instance is compliant when its maximum memory usage meets or exceeds a specified threshold within a defined period (default: 7 days). Instances not connected to Cloud Monitor are not applicable. The check uses the Cloud Monitor API and consumes the basic Cloud Monitor free quota. Enable Hybrid Cloud Monitoring for improved accuracy. For Hybrid Cloud Monitoring billing, see Cloud Monitor billing.
Rule details
|
Parameter |
Description |
|
Rule name |
Check for idle ECS instances based on memory usage |
|
Rule identifier |
|
|
Tag |
ECS |
|
Automatic remediation |
Not supported |
|
Rule trigger |
Scheduled execution |
|
Trigger frequency |
24 hours |
|
Supported resource types |
ACS::ECS::Instance |
|
Input parameters |
relativeTime (Default: 168) |
Remediation
To remediate non-compliant resources, configure host monitoring through Monitor hosts.