Help Center> Global Accelerator> User Guide> Global Accelerators> Creating a Global Accelerator
Updated on 2024-03-15 GMT+08:00

Creating a Global Accelerator

Scenario

To use Global Accelerator for faster application access, you first need to create a global accelerator.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and choose Networking > Global Accelerator.

    The Global Accelerator page is displayed.

  3. Click Buy Global Accelerator.
  4. Specify the parameters listed in Table 1.
    Figure 1 Creating a global accelerator
    Table 1 Creating a global accelerator

    Parameter

    Description

    Name

    Name of the global accelerator you want to create.

    Only letters, digits, and hyphens are allowed.

    You can enter up to 64 characters.

    Enterprise Project

    An enterprise project you would like to use to centrally manage your Global Accelerator resources.

    You can use an existing enterprise project or create one.

    Acceleration Area

    Where the global accelerator will be used.

    There are two options: Outside the Chinese mainland or Chinese mainland. Outside the Chinese mainland is selected by default.

    Tag

    The identifier of a global accelerator. Each tag consists of a key and a value. You can add 20 tags for a global accelerator.

    Tag keys and values must meet the requirements listed in Table 2.

    NOTE:

    If a predefined tag has been created in TMS, you can select the corresponding tag key and value.

    For details about predefined tags, see Predefined Tag Overview.

    If you have configured tag policies for Global Accelerator, you need to add tags to your accelerators based on the tag policies. If you add a tag that does not comply with the tag policies, global accelerators may fail to be created. Contact the administrator to learn more about tag policies.

    Description

    Supplementary information about the global accelerator.

    You can enter up to 255 characters.

    Table 2 Tag key and value requirements

    Parameter

    Requirements

    Key

    • Cannot be left blank.
    • Can contain letters, digits, spaces, underscores (_), periods (.), colons (:), equal signs (=), plus signs (+), hyphens (-), and at signs (@).
    • Cannot start or end with a space.
    • Cannot start with _sys_.
    • Can contain a maximum of 128 characters.

    Value

    • Can be left blank.
    • Can contain letters, digits, spaces, underscores (_), periods (.), colons (:), slashes (/), equal signs (=), hyphens (-), and at signs (@).
    • Cannot start or end with a space.
    • Can contain a maximum of 255 characters.
  5. Click Next.
  6. Add one or more listeners to the global accelerator. For details about the parameters, see Table 3.
    Figure 2 Adding a listener
    Table 3 Parameters required for adding a listener

    Item

    Parameter

    Description

    Basic Configuration

    Name

    Listener name.

    You can enter up to 64 characters. Only letters, digits, and hyphens are allowed.

    Protocol

    The protocol used by the listener to receive requests from clients.

    The protocol can be TCP or UDP.

    Port

    The ports or port ranges used by the listener to receive requests from clients.

    The port number ranges from 1 to 65535. You can enter one or more ports or port ranges separated by commas (,).

    Example: 1-10,11-50,51,52-200

    Client Affinity

    • If you select None, the listener routes requests evenly among the endpoints in the endpoint group.
    • If you select Source IP address, the source IP address of each request is calculated using the consistent hashing algorithm to obtain a unique hash key, and all the endpoints are numbered and mapped to the hash keys. Requests from the same IP address are forwarded to the same endpoint for processing.

    TCP and UDP listeners support only Source IP address.

    Tags

    The identifier of a listener. Each tag consists of a key and a value. You can add up to 20 tags to a listener.

    Tag keys and values must meet the requirements listed in Table 4.

    NOTE:

    If a predefined tag has been created in TMS, you can select the corresponding tag key and value.

    For details about predefined tags, see Predefined Tag Overview.

    If you have configured tag policies for Global Accelerator, you need to add tags to listeners based on the tag policies. If you add a tag that does not comply with the tag policies, listeners may fail to be created. Contact the administrator to learn more about tag policies.

    Description

    Supplementary information about the listener.

    You can enter up to 255 characters.

    Endpoint Groups

    Name

    Name of the endpoint group.

    Each listener can be associated with only one endpoint group in a given region.

    You can enter up to 64 characters. Only letters, digits, and hyphens are allowed.

    Region

    Region to which the endpoint group belongs.

    Description

    Supplementary information about the endpoint group.

    You can enter up to 255 characters.

    Traffic Dial

    The percentage of traffic directed to the endpoint group.

    If you increase the traffic dial, more requests will be distributed to this endpoint group.

    If you set the traffic dial to 0, no requests will be distributed to this endpoint group.

    The weight ranges from 0 to 100.

    NOTE:

    If a listener has multiple endpoint groups, traffic will be first distributed to the endpoint group with the lowest latency and then to other endpoint groups based on the traffic dial value you set.

    Endpoint

    An endpoint serves as a single point of contact for clients, and Global Accelerator distributes incoming traffic across healthy endpoints.

    Health Check

    Health Check

    Whether to enable health check.

    If you disable health check, requests may be forwarded to unhealthy endpoints.

    Protocol

    The health check protocol can be TCP.

    Default value: TCP.

    Port

    The port used for health check.

    The port number ranges from 1 to 65535.

    Advanced Settings

    Interval (s)

    The maximum time between two consecutive health checks, in seconds.

    The interval ranges from 1 to 60.

    Timeout (s)

    The maximum time required for waiting for a response to a health check request, in seconds.

    The timeout ranges from 1 to 60.

    Maximum Retries

    The maximum number of health check retries allowed.

    The value ranges from 1 to 10.

    Table 4 Tag key and value requirements

    Parameter

    Requirements

    Key

    • Cannot be left blank.
    • Can contain letters, digits, spaces, underscores (_), periods (.), colons (:), equal signs (=), plus signs (+), hyphens (-), and at signs (@).
    • Cannot start or end with a space.
    • Cannot start with _sys_.
    • Can contain a maximum of 128 characters.

    Value

    • Can be left blank.
    • Can contain letters, digits, spaces, underscores (_), periods (.), colons (:), slashes (/), equal signs (=), hyphens (-), and at signs (@).
    • Cannot start or end with a space.
    • Can contain a maximum of 255 characters.
  7. Click Save.
  8. Click Next and confirm the configuration.
  9. Click Submit.
  10. If message "Accelerator xxx created successfully" is displayed, click Finish.