Importing Security Group Rule

Last updated: 2024-01-12 14:48:43

Scenario

You can quickly create or recover security group rules by importing a rule file.

Instructions

1. Log in to the security group console and go to the security group management page.
2. Select a region and locate the security group to which you want to import rules.
3. Click the ID/name of the security group to go to the security group rule page.
4. Click the Inbound rules or Outbound rules tab based on the direction (inbound or outbound) of the rules to be imported.
5. Click Import rule.
6. In the pop-up window, select the edited template file for the inbound or outbound rules and click Import.
Note
If the security group already has rules, click Append to add rules in the file before the existing rules.
If the security group has no rules, download the template, edit it, and import it.