Updated on 2026-11-19 GMT+08:00

Default Security Group Overview

When you use security groups for the first time, the system automatically creates a default security group if there is no security group available.

Default Security Group Rules

Note the following when using default security group rules:
  • Inbound rules control incoming traffic to instances in the default security group. The instances can communicate with each other but cannot be accessed from external networks.
  • Outbound rules allow all traffic from the instances in the default security group to external networks.
Figure 1 Default security group

Table 1 describes the default rules in the default security group.

Table 1 Default security group rules

Direction

Protocol

Port

Source/Destination

Description

Outbound

All

All

Destination: 0.0.0.0/0

Allows all outbound traffic.

Inbound

All

All

Source: the current security group (for example, sg-xxxxx)

Allows communications among cloud servers within the security group and denies all inbound traffic.

Inbound

TCP

22

Source: 0.0.0.0/0

Allows all IP addresses to access Linux cloud servers using SSH.

Inbound

TCP

3389

Source: 0.0.0.0/0

Allows all IP addresses to access Windows cloud servers using RDP.