IP Address Group
What Is an IP Address Group?
An IP address group allows you to manage a collection of IP addresses that have the same security requirements or whose security requirements change frequently.
If you want to use a whitelist or blacklist for access control, you must select an IP address group.
- Whitelist: Only IP addresses in the IP address group can access the listener. If the IP address group does not contain any IP address and you have selected a whitelist for access control, no IP addresses can access the listener.
- Blacklist: IP addresses in the IP address group are denied to access the listener. If the IP address group does not contain any IP address and you have selected a blacklist for access control, all IP addresses can access the listener.
Notes and Constraints
- By default, you can create a maximum of 50 IP address groups.
- An IP address group can be associated with a maximum of 50 listeners.
Creating an IP Address Group
- Go to the load balancer list page.
- In the navigation pane on the left, choose Elastic Load Balance > IP Address Groups.
- On the displayed page, click Create IP Address Group.
- Configure the parameters based on Table 1.
Table 1 Parameters required for creating an IP address group Parameter
Description
Example Value
Name
Specifies the name of the IP address group.
ipGroup-01
Enterprise Project
Specifies an enterprise project by which cloud resources and members are centrally managed. For details, see the Enterprise Management User Guide.
N/A
IP Addresses
Specifies IPv4 or IPv6 IP addresses or CIDR blocks that are added to the whitelist or blacklist for access control.
- Each line must contain an IP address or a CIDR block and end with a line break.
- You can add remarks at the end of each IP address or CIDR block and separate them with a vertical bar (|). The remarks can be up to 255 characters long. Angle brackets (<>) are not allowed.
- You can add a maximum of 300 IP addresses or CIDR blocks in each IP address group.
- Without remarks: 10.168.2.24
- With remarks: 10.168.16.0/24 | ECS01
Description
Provides supplementary information about the IP address group.
N/A
- Click OK.
Managing IP Addresses in an IP Address Group
After an IP address group is created, you can manage the IP addresses in an IP address group as required:
The IP addresses can be in the following formats:
- Each line must contain an IP address or a CIDR block and end with a line break.
- You can add remarks at the end of each IP address or CIDR block and separate them with a vertical bar (|), for example, 192.168.10.10 | ECS01. The remarks can be up to 255 characters long. Angle brackets (<>) are not allowed.
- You can add a maximum of 300 IP addresses or CIDR blocks to each IP address group.
You can add IP addresses to an existing IP address group.
- Go to the load balancer list page.
- In the navigation pane on the left, choose Elastic Load Balance > IP Address Groups.
- On the IP Address Groups page, locate the target IP address group and click its name.
- In the lower part of the displayed page, choose IP Addresses tab and click Add IP Addresses. On the Add IP Addresses page, add IP addresses.
- Click OK.
You can perform the following steps to change all IP addresses in an IP address group:
- Go to the load balancer list page.
- In the navigation pane on the left, choose Elastic Load Balance > IP Address Groups.
- On the IP Address Groups page, you can:
- Modify the basic information and change IP addresses of an IP address group:
- Locate the target address group, click Modify in the Operation column. You can modify the name and description of an IP address group, and change all its IP addresses.
- Click OK.
- Only change IP addresses:
- Locate the target IP address group and click its name.
- In the lower part of the displayed page, choose IP Addresses tab, click Change IP Address, and change IP addresses as you need.
- Click OK.
- Modify the basic information and change IP addresses of an IP address group:
If you want to delete IP addresses in batches from an IP address group, see Changing IP Addresses.
To delete an IP address from an IP address group, perform the following operations:
- Go to the load balancer list page.
- In the navigation pane on the left, choose Elastic Load Balance > IP Address Groups.
- On the IP Address Groups page, locate the target IP address group and click its name.
- In the IP address list, locate the IP address you want to delete and click Delete in the Operation column.
- Confirm the information and click OK.
Viewing the Details of an IP Address Group
You can view the details of an IP address group, including:
- Name, ID, and creation time
- IP addresses and CIDR blocks
- Associated listeners
- Go to the load balancer list page.
- In the navigation pane on the left, choose Elastic Load Balance > IP Address Groups.
- On the IP Address Groups page, locate the target IP address group and click its name.
- Viewing the basic information about the IP address group.
- On the IP Addresses tab, view the IP addresses or CIDR blocks.
- On the Associated Listeners tab, view the listeners associated with the IP address group.
Deleting an IP Address Group
If an IP address group is used for controlling access to a listener, it cannot be deleted.
You can view the listeners associated with an IP address group by referring to Viewing the Details of an IP Address Group. For details about how to disassociate an IP address group from a listener, see Configuring Access Control.
- Go to the load balancer list page.
- In the navigation pane on the left, choose Elastic Load Balance > IP Address Groups.
- On the IP Address Groups page, locate the IP address group and click Delete in the Operation column.
- Click OK.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot