• Virtual Private Cloud

  1. Help Center
  2. Virtual Private Cloud
  3. User Guide
  4. Security
  5. Security Group
  6. Importing and Exporting Security Group Rules

Importing and Exporting Security Group Rules


If you want to quickly apply the rules of a security group to another security group or modify multiple rules of the current security group at a time, you can import and export the rules.

Inbound and outbound security group rules are exported to an Excel file.


When modifying exported security group rules, you can only modify existing fields in the exported file and cannot add new fields or modify the field names. Otherwise, the exported file cannot be imported into the system.


  1. Log in to the management console.
  2. Click in the upper left corner and select the desired region and project.
  3. On the console homepage, under Network, click Virtual Private Cloud.
  4. In the navigation pane on the left, choose Access Control > Security Groups.
  5. On the Security Groups page, click the security group name.
  6. 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 in an Excel file to the current security group.