The health diagnosis feature of Auto Scaling performs a comprehensive check on your scaling group's configuration. For example, it checks whether the specified vSwitches or security groups are abnormal and whether the instance inventory for the scaling group is healthy. This feature helps you find and fix scaling group issues promptly, which improves the success rate of scale-out and scale-in activities.
Background information
The health diagnosis feature of Auto Scaling checks the status of a scaling group's properties, fees, and quotas. This helps you stay informed about your scaling group's configuration. This topic describes how to trigger the health diagnosis feature.
Trigger method | Description |
Manual method | For any created scaling group, regardless of whether it is in the Enabled or Disabled state, you can manually start a health diagnosis request and obtain a health diagnosis report for the scaling group. |
Automatic method | For any scaling group in the Enabled state, you can configure the event notification feature of CloudMonitor. The system automatically performs diagnostic checks. CloudMonitor receives event notifications and displays the details of any detected anomalies. |
Procedure
Before you use the health diagnosis feature, make sure that you have created a scaling group. For more information, see Create a scaling group.
Diagnosis items and results
The diagnosis items and results are the same regardless of whether you trigger a health diagnosis manually or automatically by configuring CloudMonitor system events. The following table describes the diagnosis items and their results:
Category | Diagnosis item type | Diagnosis item name | Description | Error code | Anomaly details and suggestions |
Critical resource anomaly | vSwitch | vSwitch status | Checks whether the vSwitch is available. For example, it checks whether the vSwitch is deleted. | VSwitchIdNotFound |
|
SecurityGroup | Security group status | Checks whether the security group is available. For example, it checks whether the security group is deleted. | SecurityGroupNotFound |
| |
KeyPair | Key pair status | Checks whether the key pair is available. For example, it checks whether the key pair is deleted. | KeyPairNotFound |
| |
Quota diagnosis | SlbBackendServerQuota | Number of instances attached to CLB (formerly SLB) instances in the scaling group | Checks whether the number of ECS instances or ECIs attached to the default server group and vServer groups of the CLB (formerly SLB) instances exceeds the quota. | SlbBackendServerQuotaExceeded |
|
AlbBackendServerQuota | Number of instances attached to ALB instances in the scaling group | Checks whether the number of ECS instances or ECIs attached to the server group of the ALB instance exceeds the quota. | AlbBackendServerQuotaExceeded |
| |
NlbBackendServerQuota | Number of instances attached to NLB instances in the scaling group | Checks whether the number of ECS instances or ECIs attached to the server group of the NLB instance exceeds the quota. | NlbBackendServerQuotaExceeded |
| |
Billing diagnosis | AccountArrearage | Overdue Account | Checks whether the account has an overdue payment. | AccountArrearage |
|
Inventory diagnosis | ElasticStrength | Inventory health | Checks the inventory health of the instance types that are specified in the scaling configuration. | ElasticStrengthAlert |
|