Monitoring and logging

Updated at:
Copy as MD

Auto Scaling provides monitoring and log audit services, including CloudMonitor, Cloud Config, and event notification. These services enable real-time monitoring of resource usage and instance status within your scaling group, helping you respond quickly to alerts and maintain resource availability.

Scaling group monitoring

Scaling groups report their operational status to CloudMonitor in real time. The scaling group monitoring feature tracks instance count changes across different states, providing insights into resource utilization over a specified period. For more information, see View instance count changes in a scaling group.

Instance monitoring in a scaling group

Scaling groups monitor the performance metrics and health status of instances, helping you quickly address exceptions and maintain high resource availability.

  • Performance metric monitoring

    Scaling groups use CloudMonitor to capture real-time instance performance metrics, such as CPU utilization, and aggregate them into scaling group-specific metrics. You can configure automatic scaling based on these metrics to keep values within your intended range.

  • Health status check

    Auto Scaling regularly assesses the running status of ECS instances or elastic container instances and automatically creates new instances to replace unhealthy ones.

    Auto Scaling supports three health check modes: custom health check, instance status health check, and load balancer health check. You can select one or more modes based on your needs.

Event monitoring in a scaling group

When a scaling activity or O&M event occurs in a scaling group, Auto Scaling sends a message to the specified notification receiver, such as CloudMonitor, a Message Service (MNS) topic, or an MNS queue. You can then perform manual or automatic O&M operations in response. For more information, see Configure event notifications.