Updated on 2025-12-26 GMT+08:00

Adding an Endpoint Group

Scenario

A listener needs to have at least one endpoint group where it can route traffic to.

Prerequisites

A global accelerator has been created, and a listener has been added to it.

Procedure

  1. Log in to the Global Accelerator console.
  2. Search for the global accelerator by name or ID.
  3. Click the name of the global accelerator to go to the details page.
  4. Click Listeners.
  5. On the right of the page, click Endpoint Groups.
  6. Click Add Endpoint Group.
  7. Configure parameters as instructed. For details, see Table 1.
    Table 1 Parameters required for adding an endpoint group

    Parameter

    Description

    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

    The region where your services are running. If your services are not deployed in Huawei Cloud, select the region nearest to where your services will be accessed. If your services are deployed in multiple regions for disaster recovery, add multiple endpoint groups.

    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.

    Value range: 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.

    Health Check

    Health Check

    Whether to enable health check.

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

    Protocol

    The value can be TCP or UDP.

    Default value: TCP

    Port

    The port used for health check.

    Value range: 1 to 65535

    Interval (s)

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

    Value range: 1 to 60

    Timeout (s)

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

    Value range: 1 to 60

    Maximum Retries

    The maximum number of health check retries allowed.

    Value range: 1 to 10

  8. Click OK.