[Yandex Cloud documentation](../../../index.md) > [Yandex Compute Cloud](../../index.md) > [Step-by-step guides](../index.md) > Managing a VM > Changing VM security groups

# Changing security groups of a VM network interface

You can assign multiple [security groups](../../../vpc/operations/security-group-create.md) to a VM [network interface](../../concepts/network.md).

For more information on how to change a VM name, description, and labels, see [Updating a VM](vm-update.md).

{% list tabs group=instructions %}

- Management console {#console}

  To update a list of security groups applied to your VM:
  1. In the [management console](https://console.yandex.cloud), select the folder this VM belongs to.
  1. Navigate to **Compute Cloud**.
  1. Click the VM name.
  1. Update the VM network interface security groups under **Network interface**:
     * In the top-right corner of the section, click ![image](../../../_assets/console-icons/ellipsis.svg) and select **Edit**.
     * In the **Security groups** field of the window that opens, add new security groups to apply to the VM network interface or remove those no longer needed.
     * Click **Save**.

{% endlist %}