Changing security group assignment

When you create a VM, you select security groups for the VM network interfaces. You can also change assigned security groups later.

Limitations

  • You cannot configure security groups if spoofing protection is disabled or IP address management is disabled for the selected network.

To view virtual machines assigned to a security group

  1. On the Compute > Network > Security groups tab, click the required security group.
  2. On the group right pane, navigate to the Assigned VMs tab. All the assigned virtual machines will be shown along with their status.

You can click the VM name to go to the VM Overview pane and change the security group assignment for its network interfaces.

To assign a security group to a virtual machine

  1. On the Compute > Virtual machines > Virtual machines screen, click the required virtual machine.
  2. On the Overview tab, click the pencil icon in the Networks section.
  3. Click the ellipsis icon next to the network interface to assign a security group to, and then click Edit.
  4. In the Edit network interface window, go to the Security groups tab.
  5. Select one or more security groups from the drop-down list, and then click Save.

The rules from chosen security groups will be applied at runtime.