Managing security group rules
You can modify security groups by adding and removing rules. Editing rules is not available. If you need to change the existing rule, remove it and re-create with the required parameters.
Prerequisites
- You have a security group created, as described in Creating and deleting security groups.
To add a rule to a security group
- On the Security groups screen, click the security group to add a rule to.
- On the group right pane, click Add in the Inbound or Outbound section to create a rule for incoming or outgoing traffic.
- Specify the rule parameters:
- Click the check mark to save the changes.
As soon as the rule is created, it is applied to all of the virtual machines assigned to the security group.
To remove a rule from a security group
- On the Security groups screen, click the required security group.
- On the group right pane, click the bin icon next to a rule you want to remove.
As soon as the rule is removed, this change is applied to all of the virtual machines assigned to the security group.