Add seven Inbound rules by clicking Add rule and configuring as shown below:
- SSH, port 22: To connect via PuTTY.
- All ICMP-IPv4
- All ICMP-IPv6
- HTTP, port 80
- HTTPS, port 443
- MySQL/Aurora, port 3306: Used for Database MySQL.
- Custom TCP, port 5000: To run Node.js application.
Note: When creating a rule, consider the following:
- Name: The name for the security group.
- Protocol: The protocol to allow (e.g., TCP, UDP, ICMP).
- Port range: Range of ports to allow.
- ICMP type and code: For ICMP protocols.
- Source/destination: IP addresses or CIDR blocks.
- Description: Optional description for the rule.