Step 1: Adding an origin server
- Log into the Global Application Acceleration Console.
- Click Origin Server Management>Add. Configure the name, enter the origin server IP address or domain name, and add a tag (optional). You can add the information of all the servers for which you want to accelerate your accesses to Origin Server Management, multiple origin servers can be entered at the same time.
- Click OK to save the configuration.
- (Optional) Add an alias to the origin server for future use: Click the Edit icon next to the name of the origin server and enter a name. Click OK to save the configuration.
Step 2. Creating an acceleration connection
- Click Access Management>Add.
- In the Add a connection window, enter the acceleration connection information.
- Acceleration Region: The region where the client is located
- Origin Region: The region where the destination server is located
- Bandwidth Cap: The upper limit of the connection’s bandwidth.
- Max concurrent connections: The maximum number of concurrent connections supported for a connection.
- Click OK. After the new connection is created, you can view its information. VIP/Domain Name is the access address for the acceleration connection.
- Click ID/Connection Name of the connection to go to the next page.
Step 3: Creating a listener
- Select the TCP/UDP listener management tab. Click Create, and add a forwarding policy in the pop-up window.
- Configure the listener information (using TCP as an example) for acceleration protocol and port mapping. You can map multiple ports at the same time, but they cannot be repeated.
- Source port: The access port of acceleration connection VIP.
- Configure the origin server’s processing policy, that is, when a listener is bound with multiple origin servers, you need to select a scheduling policy for origin servers, as shown below:
- Configure the health check mechanism.
If TCP protocol is used, the health check mechanism should be configured. Select Enable Health Check and then configure the response time and monitoring interval.
- Response timeout: The timeout period for a response.
- Health Check Interval* refers to the interval between two consecutive health checks. If the health check determines an origin server to be abnormal, the origin server will stop forwarding packets until it recovers to a normal status upon another health check.
Step 4: Binding an origin server
- Select a listener, and click Bind Origin Server in the operation column.
- Add the origin servers that you want to bind from the left-side list to the right-side one.
Here origin server port refers to the access port of the origin server.
Step 5: Using acceleration connection
After completing the above steps, you can use the connection for acceleration when the listener's status becomes Normal.
- Access Methods
- Method 1: If the client accesses the VIP+port, the acceleration from the client requiring acceleration to the destination server can be achieved.
- Method 2: If the client accesses the domain name+ port of an acceleration connection, the acceleration from the client requiring acceleration to the destination server can be achieved.
- Method 3: If the client has originally accessed the domain name, this domain name can be resolved to that of an acceleration connection by configuring CNAME, to achieve acceleration from the client requiring acceleration to the destination server.
- Acceleration Linkage Description
Acceleration linkages are divided into the following types:
- Client to VIP: public network.
- VIP to the forwarding server of the origin region: direct connect (private network).
- The forwarding server of the origin server region to the origin server: public network.
- Forwarding Server IP Description
If security group rules have been configured for the origin server, click ID/Connection Name of the connection, and query Forwarding server IP under the Connection Info tab. Acceleration is possible only if the origin server allows access from these IPs. See the following figure:
To obtain the real IP of the client, see Obtaining the Real IPs of Access Users.
- View Statistics
You can view current and historical statistics in Statistics page. For more information on operations, see Statistics.