Importing and Exporting Security Group Rules
Scenarios
- If you want to quickly create or restore security group rules, you can import existing rules to the security group.
- If you want to back up security group rules locally, you can export the rules to an Excel file.
- If you want to quickly apply the rules of one security group to another, or if you want to modify multiple rules of the current security group at once, you can import or export existing rules.
Notes and Constraints
- When modifying exported security group rules, you can only modify existing fields in the exported file based on the template and cannot add new fields or modify the field names. Otherwise, the file will fail to be imported.
- When importing security group rules, if the source is an IP address group, ensure that the IP address group exists and its name and ID are correct. The format is ipGroup-zy[2b5213cb-0f41-4d0b-bed9-b6340bf51017].
- Duplicate rules are not allowed.
Procedure
- Log in to the management console.
- Click
in the upper left corner and select the desired region and project. - On the console homepage, under Network, click Virtual Private Cloud.
- In the navigation pane on the left, choose Access Control > Security Groups.
- On the Security Groups page, click the security group name.
- On the displayed page, export and import security group rules.
- Click
to export all rules of the current security group to an Excel file. - Click
to import security group rules from an Excel file into the current security group.
- Click
Last Article: Deleting a Security Group Rule
Next Article: Deleting a Security Group
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.