Skip to main content

User Guide

Create Security Group

Last updated: 2024-09-11 17:28:07

Scenarios

On the security group console page, create a security group.

Directions

  1. Log in to the cloud server console.
  2. In the left navigation tree, select "Security Group" to jump to the security group list page. Then continue to click "New".
  1. Jump to the new security group page, and complete the following configuration operations according to the prompt information and parameter descriptions on the page.
  1. After confirming that the information is accurate, click the "Submit" button. The new creation operation can be completed.

Parameters

Parameter Description
Name
  • Custom: Set the name of the security group.
  • Auto-generated: If not modified, the system will generate it automatically.
Description Customize and briefly describe the rules for easy later management.
Direction
  • Inbound: Inbound traffic for accessing cloud resource instances from outside. If not configured, access is denied by default.
  • Outbound: Outbound traffic initiated by cloud resource instances actively.
Source/Target IPv4 IP addresses or CIDR blocks can be filled in according to a specific format. When adding new ones, multiple source or target records can be added in batches.
  • Single IP address: For example, "192.168.1.100".
  • Multiple IP addresses: separated by commas, for example, "192.168.1.100, 192.168.1.200".
  • IP network segment: For example, "192.168.1.0/24".
  • All IP addresses: Select or fill in "0.0.0.0/0".
Protocol Protocol types: Support ALL (all protocols), TCP, UDP, ICMP and other protocols. The default value is TCP.
Port Port range. Only when the protocol type is TCP or UDP, the start port and end port can be set manually.
  • Specified port: For example, if port 22 is specified, the start port is "22", and the end port is not filled or is "22".
  • Port range: For example, for consecutive ports from 80 to 90, the start port is "80" and the end port is "90".
  • All ports: All port ranges corresponding to the protocol type. Select "All".
Policy Allow or deny. In the case of the same priority, the deny policy takes precedence over the allow policy.
Priority The priority can be selected in the range of 1-10, and the priority increases in turn. The default value is 1.
Remarks Customize and briefly describe the rules for easy later management.