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.
Table 1 describes default security group rules.
| 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.
| 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. |
| 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. |
Last Article: Overview
Next Article: Security Group Configuration Examples

Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.