To revoke security group rules:
- Enter the following command:
euca-revoke -P <protocol> -p <port_number> -s <CIDR_source_network> <group_name>
Example
The following example revokes the network rules authorized for
the security group mygroup.
euca-revoke -P tcp -p 22 -s 0.0.0.0/0 mygroup