Security Groups can be associated with CVMs, ENIs, cloud databases and CLBs. In this document, we use CVMs for example.
A security groups can be associated with one or more CVMs for network access control. They are an important part of CVM network security measures. You can associate your CVM with one or more security groups if necessary. The following are detailed instructions.
You should already have an CVM instance created before starting.
- Log in to the CVM Console.
- In the left sidebar, select Security Group. The Security Group page then appears.
- Select the desired region and find the security group.
- Under Operations, click Manage Instances that corresponds to the desired security group. The Bind with Instance page then appears.
- Click Add Instances. The Add Instances page then appears.
- Select desired instances and click OK to add.
- You can check all security groups in a specific region.
See Viewing Security Groups.
- If you want disassociate a CVM instance with one or more security groups, you can remove it from the security group.
See Removing From Security Groups.
- If you no longer need a security group, you can delete it. Once a security group is deleted, all rules within it are also deleted.
See Deleting Security Groups.