This topic describes how to delete a security group rule that is no longer needed to allow or deny access to instances in a security group.

Procedure

  1. Log on to the ECS console.
  2. In the left-side navigation pane, choose Network & Security > Security Groups.
  3. In the top navigation bar, select a region.
  4. On the Security Groups page, find the security group from which you want to delete a security group rule and click Add Rules in the Actions column.
  5. Click a tab based on the network type of the security group.
    • If the network type of the security group is Virtual Private Cloud (VPC), click the Inbound or Outbound tab.
    • If the network type of the security group is classic network, click the Inbound, Outbound, Internet Ingress, or Internet Outbound tab.
  6. Find the security group rule that you want to delete and click Delete in the Actions column.
  7. In the Delete Security Group Rule message, click OK.