Adjusting the Priority of Security Groups Rules

Last Updated At: 2025-10-21 09:10:00

Overview

Rules within a security group have priorities. Rule priority is represented by the position of the rule in the list, with the highest priority rule at the top of the list.
When a security group has multiple rules and you need to adjust the priority of the rules to take effect, you can adjust them through the following steps.

Prerequisites

Multiple inbound or outbound rules are added to the security group.

Directions

  1. Log in to the CVM console.
  2. Click Security Group in the left sidebar to enter the security group list page.
  3. Select the security group ID whose rule priority needs to be adjusted and enter the details page.
  4. On the details page, select Security Group Rules > Inbound Rule/Outbound Rule, and click Sort to enter the sortable state.
  5. Click Move Up or Move Down to adjust the order of the rules.
  6. After completing the adjustment, click Submit to save the configuration.