IP Address Group

Scenarios

If you want to use a whitelist or blacklist for access control, you must select an IP address group. In this way, only IP addresses in the IP address group will be allowed or denied access to the listener.

An IP address group can be associated with a maximum of 50 listeners.

Currently, classic load balancers do not support IP address groups.

Creating an IP Address Group

  1. Log in to the management console.
  2. In the upper left corner of the page, click and select the desired region and project.
  3. Click Service List. Under Network, click Elastic Load Balance.
  4. In the navigation pane on the left, choose IP Address Groups. On the displayed page, click Create IP Address Group.
  5. Set the parameters based on Table 1.
    Table 1 Parameter description

    Parameter

    Description

    Example Value

    Name

    Specifies the name of the IP address group.

    ipGroup-01

    IP Address

    Specifies IP addresses or CIDR blocks that are added to the whitelist or blacklist for access control.

    • Each IP address or CIDR block must be on a separate line and end with a carriage return.
    • You can add remarks at the end of each IP address or CIDR block and separate them from the IP address or CIDR block by using a vertical bar (|), for example, 192.168.10.10 | ECS01.
    • You can add a maximum of 300 IP addresses and CIDR blocks in each IP address group.
    NOTE:

    If the IP address group does not contain any IP address and you have selected whitelist for access control, no IP addresses will be able to access the listener.

    10.168.2.24

    10.168.16.0/24

    Description

    Provides supplementary information about the IP address group.

    N/A

  6. Click OK.

Modifying an IP Address Group

  1. Log in to the management console.
  2. In the upper left corner of the page, click and select the desired region and project.
  3. Click Service List. Under Network, click Elastic Load Balance.
  4. On the IP Address Groups page, locate the IP address group, and click Modify in the Operation column.
  5. Modify the parameters based on Table 2.
    Table 2 Parameter description

    Parameter

    Description

    Example Value

    Name

    Specifies the name of the IP address group.

    ipGroup-01

    IP Address

    Specifies IP addresses or CIDR blocks that are added to the whitelist or blacklist for access control.

    • Each IP address or CIDR block must be on a separate line and end with a carriage return.
    • You can add remarks at the end of each IP address or CIDR block and separate them from the IP address or CIDR block by using a vertical bar (|), for example, 192.168.10.10 | ECS01.
    • You can add a maximum of 300 IP addresses and CIDR blocks in each IP address group.
    NOTE:

    If the IP address group does not contain any IP address and you have selected whitelist for access control, no IP addresses will be able to access the listener.

    10.168.2.24

    10.168.16.0/24

    Description

    Provides supplementary information about the IP address group.

    N/A

  6. Click OK.

Deleting an IP Address Group

If you do not require an IP address group, you can delete it. However, an IP address group that has been associated with a listener cannot be deleted.

  1. Log in to the management console.
  2. In the upper left corner of the page, click and select the desired region and project.
  3. Click Service List. Under Network, click Elastic Load Balance.
  4. On the IP Address Groups page, locate the IP address group, and click Delete in the Operation column.
  5. Click Yes.