Continuing, we create a Security Group for the Windows Instance.
In the interface Create security group:
Windows-SG
Security group for Windows
Configure Inbound rules: Add eight Inbound rules by clicking Add rule and creating as shown in the image below.
Tip:
- Name: The name for the security group (for example, “my-security-group”).
- Protocol: The protocol to allow. Common protocols are 6 (TCP), 17 (UDP), and 1 (ICMP).
- Port range: For TCP, UDP, or a custom protocol, specify port number or range.
- ICMP type and code: For ICMP, specify type and code.
- Source or destination: Specify IPv4/IPv6 address or range, or security group ID.
- Description (Optional): Add a description for the rule.
Configure Outbound rules:
Finish creating the Security Group for the Windows instance
Thus, we have finished creating two Security groups for two EC2 instances