Content is empty
If you don't find the content you expect, please try another search term
Last updated:2021-06-15 10:42:33
A security group is a stateful virtual firewall that is used to provide network access control for one or more EPC instances. For more information about security groups, see Overview of security groups.
When you create a GEPC instance, you can associate a security group with the instance, and add rules to the security group to control the inbound or outbound traffic.
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.
b. Select a protocol and enter the start port, end port, source IP address, 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 for editing outbound rules is the same as the procedure for editing inbound rules. This section 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 the Edit Inbound Rule button above the list or click Edit Inbound Rule on the Inbound Rules tab.
Edit inbound rules as required. You can perform the following tasks:
Click Add to add a new rule to the list.
Click Export Rules to save the existing inbound rules to a .xlsx file. You can edit and save the file locally.
To import rules in a batch:
a. Prepare a .xlsx file that specifies the protocol, behavior, start port, end port, source IP address, and remarks.
b. On the Edit Security Group Inbound Rule page, click Batch Import.
c. To back up the existing rules, click Export existing rules in the message that appears.
d. Click Choose File and select the file prepared.
e. Confirm that the rules parsed by the system are correct, and then click Import.
If the operation is successful, you can view the imported entries on the Inbound Rules page.
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, 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.
Verify that the security group does not contain any EPC instances or KEC instances. Otherwise, the security group cannot be deleted. The procedure for removing an EPC instance from a security group is similar to the procedure for 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, 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 Instance.
On the Manage EPC Instance page, click Add or Remove to add EPC instances to or remove EPC instances from the security group. The list on the left shows the EPC instances that are not added to the security group, and the list on the right shows the EPC instances that are added to the security group.
Pure Mode