Ec2 security group and classic ports
#aws #ec2 #sg #security_group
Security group is the fundamental of network in AWS, it is kinda like a firewall and control inbound and outbound traffic to EC2 instances
Specifications:
- Can specify to allow ips or other security group ids
- Relationship n-n with instance
- Bound to region/VPC
- Inbound is blocked by default, outbound is allowed by default.
Few ports to remember
- 80
- 443
- 22
- 21: FTP
- 22: SFTP
- 3389: Like SSH but for Window (Remote Desktop Protocol)