Help Center> Elastic Cloud Server> User Guide> Security> Security Groups> Default Security Group and Rules

Default Security Group and Rules

Your account automatically comes with a default security group (Sys-default). The default security group allows all outbound traffic, denies all inbound traffic, and allows all traffic between ECSs in the group. Your ECSs in this security group can communicate with each other already without adding additional rules.

Figure 1 shows the default security group.

Figure 1 Default security group

Table 1 describes default security group rules.

Table 1 Rules in the default security group (Sys-default)

Direction

Protocol

Port/Range

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 communication among ECSs within the security group and denies all inbound traffic (incoming data packets).

Inbound

TCP

22

Source: 0.0.0.0/0

Allows all IP addresses to access Linux ECSs over SSH.

Inbound

TCP

3389

Source: 0.0.0.0/0

Allows all IP addresses to access Windows ECSs over RDP.

When you create an ECS for the first time, the system automatically creates two security groups, Sys-WebServer and Sys-FullAccess with the newly created VPC vpc-default. The following table lists the default rules configured for the two security groups.

Table 2 Sys-WebServer security group rules

Transfer Direction

Protocol

Port Range

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 communication among ECSs within the security group and denies all inbound traffic (incoming data packets).

Inbound

TCP

22

Source: 0.0.0.0/0

Allows all IP addresses to access Linux ECSs through SSH.

Inbound

TCP

3389

Source: 0.0.0.0/0

Allows all IP addresses to access Windows ECSs through RDP.

Inbound

ICMP

All

Source: 0.0.0.0/0

Allows ping operations.

Inbound

TCP

443

Source: 0.0.0.0/0

Allows web page access through HTTPS.

Table 3 Sys-FullAccess security group rules

Transfer Direction

Protocol

Port Range

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 communication among ECSs within the security group and denies all inbound traffic (incoming data packets).

Inbound

All

All

Source: 0.0.0.0/0

Allows all inbound traffic.