Scenario
Security groups support the quick addition of multiple security group rules with different protocol ports, which can be used to some scenarios, for example, ping the communication between cloud servers, remote connection to instances, so that you can quickly create multiple rules with the same authorization object and authorization policy.
Before You Begin
· The creation of cloud server has been completed and the security group has been associated.
Procedure
1. Log in to the console.
2. Select a region in the upper left corner of the control center page, here select East China - East China 1.
3. Select Computing > Elastic Cloud Server to enter the cloud server console.
4. In the cloud server list, click the name of the cloud server to which you want add multiple security group rules to enter the cloud server details page.
5. Select the Security Group tab, and in the Security Group list, click the expand symbol to the left of the security group name to expand the security group details, as shown in the following figure:
6. In the expanded security group details, click Add Rule and configure the rule as prompted.
7. Click OK to quickly add multiple security group rules.
The parameters are described as follows:
Parameter | Description | Value Example |
IP Version | IPv4 and IPv6 | IPv4 |
Authorization Policy | Allow/Reject | Allow |
Priority | The optional range of security group rule priority is 1-100, and the default value is 1, which is the highest priority. The lower the number, the higher the priority. | 1 |
Common protocol ports | Provide some common protocol port support for quick selection. | SSH (22) |
Source/Destination Address | Source/Destination Address: support IP address, Address Format: xxx.xxx.xxx.xxx/32 (IPv4 address) 0.0.0.0/0 (any address), | 0.0.0.0/0 |
Description | Description of the security group rule, not required. |