Accelerating Access to Global Servers from China Using Global Acceleration

What Is Global Acceleration?

Global Acceleration is a network acceleration product built based on Alibaba Cloud’s network. Global Acceleration uses access points globally to speed up Internet access for users to services hosted in different regions. It reduces the impact of network issues like latency, jitters, and packet loss on service, and provides a superior experience for global service users. The benefits using GA are:

  1. Elastic Binding: You can bind a backend service to a Global Acceleration instance to accelerate the Internet access, and unbind that backend service whenever the Internet acceleration is no longer required.
  2. Configurable Network Capabilities: You can adjust the bandwidth of a Global Acceleration instances based on your business needs. Changes take effect in real time.

Solution Architecture and Resource Provisioning

  1. Lambda testing URL (https://hniust8de4.execute-api.ap-southeast-1.amazonaws.com/default/time) will return current date time
  1. 1 x ECS with minimum requirement 1 vCPU and 1 GB Memories
  1. Service Area: Singapore
  2. Acceleration Area: ShenZhen
  3. Bandwidth: 10Mbps
  1. 1 x ECS with minimum requirement 1 vCPU and 1 GB Memories

Configure Nginx Reverse Proxy

Let’s assume that we have an Elastic Compute Service (ECS) instance ready at Singapore region with Nginx installed. If you are not sure how to do so, read the official guide here https://www.alibabacloud.com/help/doc-detail/50700.htm.

server {
listen 80 default_server;
listen [::]:80 default_server;
server_name _;
root /usr/share/nginx/html;
# Load configuration files for the default server block.
include /etc/nginx/default.d/*.conf;
location /default/ {
proxy_buffering off;
proxy_pass https://hniust8de4.execute-api.ap-southeast-1.amazonaws.com/default/;
}
error_page 404 /404.html;
location = /40x.html {
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
}
}

Configure Global Acceleration

Subscribe to Global Acceleration Instance

Go to the Global Acceleration console under VPC section.

  1. Bandwidth Type: Dedicated Bandwidth
  2. Acceleration Area: Mainland China
  3. Region: China (ShenZhen)
  4. Service Area: Asia Pacific
  5. Peak Bandwidth: 10 Mbit/s
sudo vi /etc/sysconfig/network-scripts/ifcfg-eth0:1
DEVICE=eth0:1
IPADDR=192.168.0.214
NETMASK=255.255.255.255
ONBOOT=yes
ifup eth0:1

Set Up a Testing Client in SZ with curl Installed

Create an ECS instance in Shenzhen region with the following configurations. When deploying services within Mainland China, you will need to complete real name registration if you haven’t done so already.

Test Network Connectivity

Verify the end to end network connectivity by:

  1. Access AWS SaaS platform via Global Acceleration Instance IP
  2. Compare the speed between AWS endpoint and Alibaba GA

Accessing AWS SaaS Platform via Global Acceleration Instance IP

Comparing the Speed between AWS Endpoint and Alibaba Cloud GA

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Alibaba Cloud

Alibaba Cloud

Follow me to keep abreast with the latest technology news, industry insights, and developer trends. Alibaba Cloud website:https://www.alibabacloud.com