Skip to content

Latest commit

 

History

History
50 lines (35 loc) · 2.18 KB

File metadata and controls

50 lines (35 loc) · 2.18 KB
copyright
years
2017, 2026
lastupdated 2026-04-24
keywords assign, instance
subcollection security-groups

{{site.data.keyword.attribute-definition-list}}

Assigning instances to the security group

{: #assigning-instances-to-the-security-group}

You can assign {{site.data.keyword.cloud}} security group objects to instances in one of two ways. {: shortdesc}

Using the Security menu

{: #using-the-security-menu}

  1. From the IBM Cloud console, click the Menu icon Menu icon > Classic Infrastructure to view the Classic Infrastructure landing page.

  2. From the Classic Infrastructure menu, select Security > Network Security > Security Groups to view the Security Groups page.

  3. On the Security Groups page, click the More icon icon of the Security Group object that you want to assign instances to, then select Manage Instances.

  4. Select the instance and interface to apply to the security group.

  5. Click Save to apply the changes.

  6. Restart your instance.

    This action is a one-time-only step per network interface for instances that are not created with a security group. {: note}

Using the Devices menu

{: #using-the-devices-menu}

  1. From the IBM Cloud console, click the Menu icon Menu icon > Classic Infrastructure to view the Classic Infrastructure landing page.

  2. From the Classic Infrastructure menu, select Devices > Device List to view the Devices page.

  3. On the Devices page, click the instance name where you want to apply the security group object.

  4. In the Security Groups column, click View and select the security group objects that you want to associate with the instance.

  5. In the Security group changes modal that appears, click OK to apply the changes.

  6. Restart the instance.

    This action is a one-time-only step per network interface for instances that are not created with a security group. {: note}

Next steps

{: #next-step-1}

Edit the security group to modify its parameters.