GameShield supports integrating applications by using SDKs and CNAMEs. We recommend
that you use SDKs to configure protection. This method allows failover to be performed
on your application in seconds when the application expriences denial-of-service (DDoS)
attacks. It also allows your application to become immune to HTTP flood attacks. This
topic describes how to use the two integration methods.
(Recommended) Integrate applications by using SDKs
After you use SDKs to configure protection for a game, this method provides several
benefits: second-level scheduling, route detection, and intelligent scheduling.
- This method also provides proactive isolation against malicious clients and second-level
failover when your application experiences DDoS attacks.
- Protocol-level data encryption provides zero false positive, zero false negative,
and immunity to CC attacks.
Before configuring protection by using SDKs, you must Obtain an SDK package and AccessKey pair
. Then, you can configure SDK integration based on your platform. For more information,
see the topic that is specific to your operating system.
After configuring protection for a game by using an SDK, you can use the SDK to retrieve
an IP address and port number that is generated by GameShield for the game. The method
that is used by GameShield to generate an IP address and port number for an application
changes based on the type of services. For the method, see the topic that is specific
to your service type.
Integrate applications by using CNAMEs
You can go to the game management page after you perform Step 1: Create a Game. On the Basic Settings tab, find the node group ID of a game.
A node group ID is a CNAME that you can use to schedule a game. To configure protection
for a game, you only need to link the domain name of a game to a CNAME. For more information,
see CNAME access method.
Notice When an application experiences a large number of DDoS attacks, CNAME-enabled protection
requires at least 10 minutes to schedule a failover between IP addresses in a node
group. The actual time that the failover takes is based on the DNS cache offered by
your DNS service provider. We recommend that you configure protection for a game by
using SDKs to obtain a better protection experience.