Practical Tutorial
  • EdgeOne initiates Automatic Warm-up
  • Cross-regional Secure Acceleration (Oversea Sites)
  • Scheduling Traffic to EdgeOne by Performing Canary Switching
  • Through traffic orchestration to multiple service providers
このページは現在英語版のみで提供されており、日本語版も近日中に提供される予定です。ご利用いただきありがとうございます。

Cross-regional Secure Acceleration (Oversea Sites)

The Cross-MLC-border acceleration function leverages EdgeOne's global nodes, offering cross-regional secure acceleration solutions for service providers.

Background Introduction

A certain Web service is deployed overseas and provides services to the public through www.example.us (overseas site). It is temporarily unable to be hosted on servers within the Chinese Mainland due to its overseas location. This poses challenges for the service as its main customer base is located in the Chinese Mainland, resulting in network issues such as delays, jitter, packet loss, and the risk of interruptions. To optimize the user experience for Chinese Mainland users, EdgeOne provides the Cross-MLC-border acceleration function, which leverages the Hong Kong access point and Tencent Cloud acceleration network to effectively solve the problems faced by cross-regional services.


Prerequisites

1. Follow the site access guide to add a site, purchase the EdgeOne Enterprise plan, and set the site acceleration area to Global (MLC excluded).
2. Contact the business department to enable the Cross-MLC-border acceleration function.
Note:
1. This function is only supported by the EdgeOne Enterprise plan.
2. If you have also purchased Exclusive DDoS Protection , when your domain name is under attack, traffic from the Chinese mainland will prioritize using exclusive DDoS protection resources, and Chinese mainland network optimization will be temporarily disabled; after the attack ends, the Chinese mainland network optimization effect will be restored. During the switch, client connections may be reset.
3. Cross-MLC-border acceleration feature will incur additional Chinese mainland network optimization traffic costs. For details, refer to Chinese mainland network optimization service fees (pay-as-you-go).

Enabling the Cross-MLC-border Acceleration Function

Scenario 1: Configure L7 site-wide acceleration
Scenario 2: Configure a single L4 proxy acceleration
If you need to enable the Cross-MLC-border acceleration function for the entire site, please follow the steps below:
1. Log in to the EdgeOne console and click Site List in the left sidebar.In the site list, click the target Site.
2. On the site details page, click Site Acceleration to enter the Site Global Configuration page. In the right-hand navigation bar, click Network Optimization.
3. On the network optimization page, find the Cross-MLC-border acceleration function configuration card, and click

to enable the Cross-MLC-border acceleration function for the entire site.

4. In the confirmation window, click Enable to complete the configuration.

If you need to enable the Cross-MLC-border acceleration function for a single L4 proxy instance, please follow the steps below:
1. Log in to the EdgeOne console and click Site List in the left sidebar.In the site list, click the target Site.
2. On the site details page, click L4 Proxy and then Target Instance Name.
3. Under the target L4 proxy instance, find the Cross-MLC-border acceleration function, and click

to enable the Cross-MLC-border acceleration function for this instance.

4. In the confirmation window, click Enable to complete the configuration.


Access Testing

Scenario 1: Configure L7 site-wide acceleration
Scenario 2: Configure a single L4 proxy acceleration
For domains that have enabled the Cross-MLC-border acceleration function, when the customer initiates a visit from the Chinese Mainland, EdgeOne will automatically schedule the access to the Hong Kong access node. You can verify this by checking whether the currently assigned node belongs to Hong Kong, China.
1. You can obtain the IP address of the assigned node by using any of the following methods:
Note: Please ensure that the access test is initiated from the Chinese Mainland since the Cross-MLC-border acceleration function affects the outgoing user requests from the Chinese Mainland.
Windows
Mac/Linux
Visit the site
In Windows system, open the command prompt. Taking the domain www.example.com as an example, run the nslookup -qt=A www.example.com command. Then you can get the IP address of the domain obtained by the A record resolution.

In Mac/Linux system, you can use the dig command for verification. Taking the domain www.example.com as an example, run the dig www.example.com command in the terminal. Then you can get the IP address of the domain obtained by the A record resolution.

You can also obtain the IP address by visiting the site. Taking the domain www.example.com as an example, you can press F12 in the browser to open the developer tools. Then click any request record, and you can view the IP address that the request points to.

2. You can query the location information of the IP through any IP query tool. If it belongs to Tencent Hong Kong, The Cross-MLC-border acceleration function is effective.
For L4 proxy instances that have enabled the Cross-MLC-border acceleration function, when the customer initiates a visit from the Chinese Mainland, EdgeOne will automatically schedule the access to the Hong Kong access node. You can verify this by checking whether the currently assigned node belongs to Hong Kong, China.
1. View the L4 proxy instance access domain name. On the site details page, click L4 Proxy. Under the target L4 proxy instances, view the access domain name.

2. You can obtain the IP address of the assigned node by using any of the following methods:
Note: Please ensure that the access test is initiated from the Chinese Mainland since the Cross-MLC-border acceleration function affects the outgoing user requests from the Chinese Mainland,
Windows
Mac/Linux
In Windows system, open the command prompt. Taking the domain example.com.eo.dnse.com as an example, run the nslookup -qt=A example.com.eo.dnse.com command. Then you can get the IP address of the domain obtained by the A record resolution.

In Mac/Linux system, you can use the dig command for verification. Taking the example.com.eo.dnse.com as an example, run the dig example.com.eo.dnse.com command in the terminal. Then you can get the IP address of the domain obtained by the A record resolution.

3. You can query the location information of the IP through any IP query tool. If it belongs to Tencent Hong Kong, the Chinese mainland network optimization (international acceleration) function is effective.