You can monitor the health of your Elastic Compute Service (ECS) instances to ensure that your users can always access your websites and applications, process data, or render videos. Alibaba Cloud provides data monitoring, visualization of monitoring data, and real-time alerts to help ensure that your ECS instances are running normally.
Background information
- vCPU utilization: the percentage of allocated compute units that are currently in
use on an ECS instance. A higher percentage indicates a higher vCPU load on the instance.
You can view the monitoring data of an ECS instance by using the ECS or CloudMonitor
console or by calling ECS API operations. You can also connect to an ECS instance
to view its monitoring data. You can use one of the following methods to view the
vCPU utilization of an ECS instance after you connect to the instance:
- Windows instance: View the vCPU utilization in Task Manager. You can sort processes by vCPU utilization to identify processes that are consuming the vCPUs of the instance.
- Linux instance: Run the top command on the instance to view its vCPU utilization. Press Shift+P to sort processes by vCPU utilization and identify processes that are consuming the vCPUs of the ECS instance.
- Network traffic-related metrics: the inbound and outbound bandwidth usages of the
ECS instance in Kbit/s. ECS monitors public bandwidth usage, whereas CloudMonitor
monitors both public and internal bandwidth usage. If an outbound public bandwidth
of 1,024 Kbit/s is allocated to an ECS instance and the outbound public bandwidth
usage by the instance reaches 1 Mbit/s, the allocated outbound public bandwidth is
considered to be fully utilized.
Note The monitoring data of public bandwidth over classic network does not include back-to-origin traffic. To view the complete monitoring data, log on to the CloudMonitor console.
View monitoring data in the ECS console
To view monitoring data of an ECS instance in the ECS console, perform the following steps.
You can also call ECS API operations such as DescribeInstanceMonitorData, DescribeDiskMonitorData, and DescribeEniMonitorData to query monitoring data.
Metric | Description | Unit | MetricName | Dimensions | Statistics |
---|---|---|---|---|---|
(ECS)CPUUtilization | The CPU utilization. | % | CPUUtilization | userId and instanceId | Maximum, Minimum, and Average |
(ECS)InternetInRate(Classic Network) | The average rate of inbound Internet traffic. | bit/s | InternetInRate | userId and instanceId | Maximum, Minimum, and Average |
(ECS)IntranetInRate | The average rate of inbound internal network traffic. | bit/s | IntranetInRate | userId and instanceId | Maximum, Minimum, and Average |
(ECS)InternetOutRate(Classic Network) | The average rate of outbound Internet traffic. | bit/s | InternetOutRate | userId and instanceId | Maximum, Minimum, and Average |
(ECS)IntranetOutRate | The average rate of outbound traffic over the internal network. | bit/s | IntranetOutRate | userId and instanceId | Maximum, Minimum, and Average |
(ECS)DiskReadBPS | The number of bytes that are read from the system disk per second. | Byte/s | DiskReadBPS | userId and instanceId | Maximum, Minimum, and Average |
(ECS)DiskWriteBPS | The number of bytes that are written to the system disk per second. | Byte/s | DiskWriteBPS | userId and instanceId | Maximum, Minimum, and Average |
(ECS)DiskReadIOPS | The number of read operations that are performed on the system disks per second. | Count/s | DiskReadIOPS | userId and instanceId | Maximum, Minimum, and Average |
(ECS)DiskWriteIOPS | The number of write operations that are performed on the system disks per second. | Count/s | DiskWriteIOPS | userId and instanceId | Average, Minimum, and Maximum |
(ECS)InternetInRate_IP | The inbound bandwidth from the Internet. | bit/s | VPC_PublicIP_InternetInRate | userId, instanceId, and ip | Maximum, Minimum, and Average |
(ECS)InternetOutRate_IP | The outbound bandwidth to the Internet. | bit/s | VPC_PublicIP_InternetOutRate | userId, instanceId, and ip | Maximum, Minimum, and Average |
(ECS)InternetOutRatePercent_IP | The utilization of the outbound bandwidth to the Internet. | % | VPC_PublicIP_InternetOutRate_Percent | userId, instanceId, and ip | Average |
(ECS)InternetIn(Classic Network) | The inbound traffic over the Internet. | Byte | InternetIn | userId and instanceId | Average, Minimum, Maximum, and Sum |
(ECS)InternetOut(Classic Network) | The outbound traffic over the Internet. | Byte | InternetOut | userId and instanceId | Maximum, Minimum, and Average |
(ECS)IntranetInRate | The inbound traffic over the internal network. | Byte | IntranetInRate | userId and instanceId | Maximum, Minimum, and Average |
View monitoring data in the CloudMonitor console
To view monitoring data of an ECS instance in the CloudMonitor console, perform the following steps.