All Products
Search
Document Center

Cloud Config:ecs-disk-in-use

Last Updated:Aug 20, 2026

Checks whether each Elastic Compute Service (ECS) data disk is attached to an ECS instance.

Scenarios

You must release idle ECS data disks within your Alibaba Cloud account on a regular basis to reduce costs generated by unnecessary resources.

Risk level

Default risk level: low.

You can change the risk level as required when you apply this rule.

Compliance evaluation logic

  • If each ECS data disk is attached to an ECS instance, the evaluation result is compliant.
  • If one or more ECS data disks are not attached to ECS instances, the evaluation result is non-compliant. For more information about how to correct the non-compliant configuration, see Non-compliance remediation.

Rule details

ItemDescription
Rule nameecs-disk-in-use
Rule IDecs-disk-in-use
TagECS and Disk
Automatic remediationNot supported
Trigger typeConfiguration change
Supported resource typeECS disk
Input parameterNone

Non-compliance remediation

  • For more information about how to release an ECS data disk that is not attached to an ECS instance, see Release a cloud disk.
  • For more information about how to attach an ECS data disk to an ECS instance, see Attach a data disk.