This topic describes how to delete a security group rule that are no longer needed.

Prerequisites

  • A security group is created and security group rules are added to the security group. For more information, see Create a security group and Add security group rules.
  • Internet or internal network access that will not be allowed or denied by your ECS instance is confirmed.

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 the direction of the security group rule.
    • If you want to delete a security group rule in a VPC, select Inbound or Outbound.
    • If you want to delete a security group rule in the classic network, select Inbound, Outbound, Internet Ingress, or Internet Egress.
  6. Find the security group rule to be deleted and click Delete in the Actions column.
  7. In the message that appears, click OK.