EC2 Security Groups Flashcards
1
Q
What is the purpose of Security Groups?
A
Security Groups control how traffic is allowed into or out of EC2 Instances
2
Q
What does Security Groups regulate? (x4)
A
- Access to ports
- Authorised IP ranges (IPv4 and IPv6)
- Control of inbound traffic
- Control of outbound traffic
3
Q
Can security groups be attached to multiple instances
A
Yes
4
Q
What are security groups specific to?
A
Region and VPC
5
Q
By default is inbound traffic blocked or authorised?
A
Blocked
6
Q
By default is outbound traffic blocked or authorised?
A
Authorised
7
Q
What is port 22 used for?
A
- SSH into a Linux instance
- SFTP: Upload files using SSH
8
Q
What is port 21 used for?
A
FTP: Uploads files to a file store
9
Q
What is port 80 used for?
A
HTTP: Access unsecured websites
10
Q
What is port 443 used for?
A
HTTPS: Access secured websites
11
Q
What is port 3389 used for?
A
Remote Desktop Protocol: Log into a windows instance