Content is empty
If you don't find the content you expect, please try another search term
Last updated:2021-05-08 15:00:59
A security group is a stateful virtual firewall that is used to implement network access control over one or more EPC instances. For more information about security groups, see Overview of security groups.
When you create an EPC instance, you can associate one or more security groups with this instance, and add rules to the security groups to control the traffic that flows in and out of the EPC instance. Security group rules are matched from top to bottom.
Log in to the EPC console.
In the left navigation pane, click Security Group.
Click Create Security Group.
On the Create Security Group page, enter the security group name, select a VPC, and then configure a rule:
a. On the Inbound Rules or Outbound Rules tab, click Add Line.
b. Configure Protocol, Start Port, End Port, Source IP, and Remarks.
c. Repeat the preceding steps to add more inbound or outbound rules.
Note: A security group must contain at least one inbound or outbound rule.
Click OK.
The system starts to create the security group, and displays the Created successfully. message when the security group is created.
The procedure of editing outbound rules is the same as that of editing inbound rules. This topic describes how to edit inbound rules.
Log in to the EPC console.
In the left navigation pane, click Security Group.
Select the security group that you want to edit and then click Edit Inbound Rules above the list or click Edit Inbound Rules on the Inbound Rules tab.
Edit existing inbound rules in the rule list and use other functions on the page to assist in editing the rules:
Add Line: Click Add Line to add a new rule to the list.
Export Rules: Click Export Rules to save the list of existing inbound rules as a .xlsx file, and edit and save the file locally.
You can copy existing security groups to other regions or VPCs.
Log in to the EPC console.
In the left navigation pane, click Security Group.
Select the security group that you want to copy and click Copy Security Group.
On the Copy Security Group page, complete the following configurations:
Click OK.
If the message Copied successfully. appears, it indicates that the security group has been copied. You can then view the copied security group information on the security group page.
You can delete a security group that is no longer used. However, the default security group in a VPC cannot be deleted.
The security group does not contain any EPC instance and KEC instance. Otherwise, the security group cannot be deleted. The procedure of removing an EPC instance from a security group is similar to that of removing a KEC instance. For more information, see Manage EPC instance members.
Log in to the EPC console.
In the left navigation pane, click Security Group.
Select one or more security groups that you want to delete and then click Delete.
On the confirmation page, click Delete.
If the message Deleted successfully. appears, it indicates that the security group has been deleted.
Log in to the EPC console.
In the left navigation pane, click Security Group.
Select the security group that you want to manage, and then click Manage EPC above the list.
On the Manage EPC page, click Add or Remove to manage EPC instances in this security group. The list on the left shows EPC instances that are not added to this security group, and the list on the right shows EPC instances that are added to this security group.
Pure Mode