If issues occur on your Application Load Balancer (ALB) instance, you can use the instance diagnostics feature to identify and troubleshoot issues. You can diagnose ALB instances based on the following aspects: health checks, idle instances, quota limits, certificates, security policies, costs, and listeners. ALB provides the causes of issues and suggestions on how to resolve the issues.
Prerequisites
The first time that you use the instance diagnostics feature, Network Intelligence Service (NIS) is activated, and the service-linked role AliyunServiceRoleForNis is created. For more information, see Service-linked role.
Procedure
Log on to the ALB console.
In the top navigation bar, select the region in which the ALB instance is deployed.
On the Instances page, find the instance that you want to diagnose and click Start Diagnostics in the Instance Diagnostics column.
If you cannot find the Instance Diagnostics column, drag the slider below the table.
In the Instance Diagnostics panel, view the progress, summary, and details of the diagnostic task.
If an exception is detected, the relevant diagnostic item is displayed in the Instance Diagnostics panel. You can click the diagnostic item to view the details.
In the Diagnostic Item section, select Show All Diagnostic Items. All supported diagnostic items are displayed. You can view the details of all diagnostic items.
In the upper part of the Instance Diagnostics panel, click View Historical Diagnostics in NIS Console to go to the NIS console and view more diagnostic information about the ALB instance.
After you view the diagnostic information, click Close.
Supported diagnostic items
Category | Diagnostic item and description |
Health Check Diagnostics | ALB Health Check Status: analyzes the health check status of the ALB listeners. |
Certificate Diagnostics | Diagnostics of Certificate Validity Period: checks the validity periods of certificates. |
Quota Limit Diagnostics |
|
Configuration Diagnostics |
|
Security Policy Diagnostics |
|
Access Diagnostics |
|
Cost Diagnostics |
|
FAQ
Can the instance diagnostics feature diagnose the historical status of an instance within a specified time period?
No, the instance diagnostics feature cannot diagnose the historical status of an instance within a specified time period.
This feature can analyze the status of an instance only within the last 15 minutes.
For example, an instance fails due to an exception at 09:00:00 and recovers at 09:30:00. If you diagnose the instance at 10:00:00, you can only analyze the instance status from 09:45:00 to 10:00:00. You cannot identify the cause of exception from 09:00:00 to 09:30:00.
References
For more information about common issues and how to handle the issues, see FAQ about ALB instances.