All Products
Search
Document Center

Elastic Container Instance:Use CloudMonitor to receive timely notifications for instances with insufficient storage

Last Updated:Jun 23, 2026

Set alert rules in CloudMonitor to monitor the temporary storage utilization of Elastic Container Instance (ECI) instances. When storage runs low, you receive timely notifications and can replace affected instances before data write failures impact your business.

Background information

CloudMonitor tracks ECI instance metrics such as CPU utilization, memory utilization, and storage capacity. You can set alert rules based on these metrics to monitor instance status and handle anomalies promptly. For more information about supported ECI metrics, see Monitor ECI instances using CloudMonitor.

Procedure

  1. Log on to the CloudMonitor console.

  2. In the navigation pane on the left, choose Alert Service > Alert Rules.

  3. Click Create Alert Rule.

  4. In the panel that appears, configure the alert rule and click Confirm.

    The key parameters are described below. You can keep the default values for other parameters. For more information, see Create an alert rule.

    Parameter

    Description

    Product

    Select Elastic Container Instance (ECI).

    Resource Range

    The resource scope to which the alert rule applies. This tutorial uses Instance.

    • All Resources: The alert rule applies to all resources of the specified cloud product, including resources added later.

    • Application Group: The alert rule applies to all resources in a specified application group, including resources added later.

    • Instance: The alert rule applies to specific resources of the cloud product.

    Associated Resources

    When Resource Range is set to Instance, you can specify individual ECI instances.

    Click Add Instance and select the ECI instances you want to monitor.

    Rule Description

    Click Add Rule, select Simple Metric, and configure the rule in the panel that appears.

    The following example shows the rule configuration used in this tutorial:

    • Rule Name: test

    • Metric Type: Simple Metric

    • Metric: volume/PV Space Utilization

    • Threshold and Alert Level

      • Critical: The average value is greater than or equal to 90 for 3 consecutive epochs (1 epoch = 1 minute).

      • Warning: The average value is greater than or equal to 80 for 3 consecutive epochs (1 epoch = 1 minute).

      • Info: The average value is greater than or equal to 70 for 3 consecutive epochs (1 epoch = 1 minute).

    • Dimension: EphemeralVolume

    For information about complex alert conditions, see Expressions for alert rules.

    Alert Contact Group

    By default, CloudMonitor adds your Alibaba Cloud account as an alert contact and creates an alert contact group for it.

    You can also go to the Alert Contacts page to create alert contacts and contact groups. For more information, see Create an alert contact or an alert contact group.

What to do next

After you create the alert rule, CloudMonitor automatically notifies the specified contacts when the metric value reaches the alert threshold.

You can also find the rule on the Alert Rules page and click Alert History to view alert details.

After you receive an alert, take action based on your business needs. For example, create a new ECI instance with more temporary storage to replace the affected instance.

References

If you use ECI in a Kubernetes cluster, you can add the k8s.aliyun.com/eci-eviction-enable: "true" annotation to an ECI pod. This automatically evicts the pod when its temporary storage space falls below 100 MiB. For more information, see Configure automatic eviction for pods with insufficient temporary storage.