- 04 Mar 2021
- DarkLight
How to Create a Security Group
- Updated on 04 Mar 2021
- DarkLight
If you want to use security tags with security groups, the tags should be created before creating the security group.
1. Open the Security Services.
- Navigate to Networking > Security.
- Select the organization VDC for which you want to apply security settings, and click Configure Services.
The tenant portal opens Security Services.
2. Navigate to Grouping Objects > Security Groups
- The Security Groups page opens.
3. Click the Create button.
4. Enter a name and, optionally, a description for the security group.
The description displays in the list of security groups, so adding a meaningful description can make it easy to identify the security group at a glance.
5. (Optional) Add a dynamic member set.
- Click the Add button under Dynamic Member Sets.
- Select whether to match Any or All of the criteria in your statement.
- Enter the first object to match.
- The options are Security Tag, VM Guest OS Name, VM Name, and VM Guest Host Name.
- Select an operator, such as Contains, Starts with, or Ends with.
- Enter a value.
- (Optional) To add another statement, use a Boolean operator And or Or.
6. (Optional) Include Members.
- From the Browse objects of type drop-down menu, select the type of objects, such as Virtual Machines, Org VDC networks, IP sets, MAC sets, or Security tags.
- To include an object in the Include Members list, select the object from the left panel, and move it to the right panel by clicking the right arrow.
7. (Optional) Exclude members.
- From the Browse objects of type drop-down menu, select the type of objects, such as Virtual Machines, Org VDC networks, IP sets, MAC sets, or Security tags.
- To include an object in the Exclude Members list, select the object from the left panel, and move it to the right panel by clicking the right arrow.
8. Click Keep to preserve your changes.
The operation can take a minute to complete.
Results
The security group can now be used in rules, such as firewall rules.