• Virtual Private Cloud

vpc
  1. Help Center
  2. Virtual Private Cloud
  3. User Guide
  4. Security
  5. Security Group
  6. Default Security Groups and Security Group Rules

Default Security Groups and Security Group Rules

Your account automatically comes with a security group by 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 the security group can communicate with each other without the need to add rules.

Figure 1 shows the default security group.

Figure 1 Default security group

Table 1 describes the default rules for a default security group.

Table 1 Default security group rules

Direction

Protocol

Port/Range

Source/Destination

Description

Outbound

All

All

Destination: 0.0.0.0/0

Allow all outbound traffic.

Inbound

All

All

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

Allow communication among ECSs within the security group and deny all inbound traffic (incoming data packets).