If an elastic IP address (EIP) cannot access a destination resource, you can use the reachability analyzer to check the connectivity between the EIP and the destination resource and troubleshoot.
Prerequisites
Network Intelligence Service (NIS) is activated. You can activate NIS on the Service activation page.
If this is the first time that you perform an instance diagnostic, the system automatically creates the service-linked role AliyunServiceRoleForNis. For more information, see Service-linked roles.
An EIP is created. For more information, see Apply for an EIP.
Procedure
- Log on to the Elastic IP Address console .
- In the top navigation bar, select the region where the EIP is created.
On the Elastic IP Addresses page, find the EIP and choose in the Diagnose column.
In the Reachability Analyzer panel, specify Source, Destination, Protocol, Destination Port, and Name, and then click Start Analyzing.
After the analysis is complete, the system generates hop-by-hop details of the virtual network path between the source and destination resources. If the destination is unreachable, the reachability analyzer pinpoints the error and the cause of the error. During the analysis process, service data packets are not sent. Therefore, your services are not affected.
Examples
The following example is used to check the connectivity between an EIP and an Elastic Compute Service (ECS) instance.
The following parameters are specified.
Parameter | Description |
Source | Specify Source Type. In this example, Public IP is selected and the public IP address of the EIP is used. |
Destination | Specify Destination Type. In this example, ECS Instance ID is selected and the ID of ECS2 is used. |
Protocol | Select a protocol. In this example, the default protocol TCP is used. Note Select a protocol and a destination port based on the actual network environment. |
Destination Port | Enter the port number of the destination resource. In this example, the default value 80 is used. |
Name | Enter a name for the path from the source to the destination. |
References
For more information about the reachability analyzer, see Work with the reachability analyzer.
You can also use the self-service diagnostics feature to troubleshoot EIP issues, such as access failures, access exceptions, quota issues, and fee issues. For more information, see Troubleshooting.