Importing a Security Group Rule

Last updated: 2020-04-02 16:59:09

    Operation Scenario

    You can import an exported security group rule file to a security group to quickly create or restore security group rules.

    Steps

    1. Log in to CVM Console.
    2. In the left sidebar, click Security Group to enter the security group management page.
    3. On the security group management page, choose Region, and locate the security group to which you want to import rules.
    4. Click the ID or name of the security group to enter the security group rule page.
    5. On the security group rule page, click the Inbound Rules or Outbound Rules tab based on the direction (inbound or outbound) of the security group rules to be imported.
    6. On the Inbound Rules or Outbound Rules tab page, click Import Rules.
    7. In the Batch Import-Inbound/Outbound Rules window that appears, select the edited template inbound or outbound rule file and click Import.
      • If security group rules already exist in the security group to which you want to import rules, we recommend that you export these rules first. Otherwise, the imported rules will overwrite the existing ones.
      • If no security group rule exists in the security group to which you want to import rules, we recommend that you first download the template file, edit the template file, and then import the file.

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback
    Help