Compared with BGP (Multi-ISP), when BGP (Multi-ISP) Pro provides services to clients in mainland China (excluding data centers), cross-border connections are established to mainland China without using international Internet service provider (ISP) services. This reduces network latency. You can associate a (Multi-ISP) Pro elastic IP address (EIP) with an Elastic Compute Service (ECS) instance. Then, users in mainland China can access web services deployed in the China (Hong Kong) region with low latency.
Step 1: Purchase a BGP (Multi-ISP) Pro EIP
The following example describes how to purchase a BGP (Multi-ISP) Pro EIP that is billed on a subscription basis.
- Log on to the Elastic IP Address console.
- On the Elastic IP Addresses page, click Create EIP.
- On the buy page, select Subscription, and set the following parameters.
- Region: Select a region where you want to create the EIP. In this example, China (Hong Kong) is selected.
- Connection Type: Select the line type.
BGP (Multi-ISP) Pro is selected in this example.
- BGP (Multi-ISP): Up to 89 high-quality BGP lines are available worldwide. Direct connections can be established across all regions of mainland China through lines of the following Internet Service Providers (ISPs): China Telecom, China Unicom, China Mobile, China Mobile Tietong, China Netcom, China Education and Research Network (CERNET), National Radio and Television Administration, Dr. Peng Telecom & Media Group, and Founder Broadband Network.
- BGP(PRO): BGP (Multi-ISP) Pro optimizes cross-border data transmission to improve the connection
quality for international services. Compared with BGP (Multi-ISP), when BGP (Multi-ISP)
Pro provides services to clients in mainland China (excluding data centers), cross-border
connections are established without using international ISP services. This reduces
Note BGP (Multi-ISP) Pro is supported only in the China (Hong Kong) region.
- Network Type: Select a network type. Public is selected in this example.
- Bandwidth Value: Select the maximum bandwidth value as needed. 10 Mbit/s is selected in this example.
- Name: Enter a name for the EIP.
The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). It must start with a letter.
- Resource Group: Select the resource group to which the EIP belongs.
- Quantity: Select the number of EIPs that you want to buy.
- Service Time: Select a subscription duration.
- Click Buy Now and complete the payment.
- Click Console and return to the Elastic IP Addresses page.
Step 2: Associate the EIP with an ECS instance
You can associate the EIP with an ECS instance that is deployed in a virtual private cloud (VPC). ECS instances can communicate with the Internet after they are associated with EIPs.
Perform the following steps to associate the EIP with an ECS instance:
- On the Elastic IP Addresses page, find the EIP created in Step1, and click Bind Resource in the Actions column.
- In the Bind Elastic IP Address to Resources dialog box, set the following parameters.
- Instance Type: Select the type of the instance that you want to associate with the EIP. ECS Instance is selected in this example.
- Binding Mode: Select a binding mode.
You can select only Normal. In Normal mode:
- Both the private and public IP addresses of the ECS instance are available.
- The EIP is not displayed in the operating system. You must call the DescribeInstances operation to query the public IP address of the ECS instance. For more information, see DescribeInstances.
- The EIP does not support NAT application layer gateway (ALG) protocols such as H.323, Session Initiation Protocol (SIP), Domain Name System (DNS), Real Time Streaming Protocol (RTSP), or Trivial File Transfer Protocol (TFTP).
- Select an Instance to Bind: Select an ECS instance to be associated with the EIP.
- Click OK.
Step 3: Test the network latency
After you associate the EIP with the ECS instance, you can test the network latency between a client in mainland China and the ECS instance that is deployed in the China (Hong Kong) region.
- Open the command-line interface on an on-premises machine that is deployed in mainland China.
- Run the
pingthe EIP that is associated with the ECS instance.The test result shows that the network latency is reduced when users in mainland China use the BGP (Multi-ISP) Pro EIP to access the ECS instance.Note The preceding test result is for reference only. The actual network latency varies based on the network quality of the ISP.