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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Can security groups be attached to multiple instances

A

Yes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are security groups specific to?

A

Region and VPC

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

By default is inbound traffic blocked or authorised?

A

Blocked

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

By default is outbound traffic blocked or authorised?

A

Authorised

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is port 22 used for?

A
  • SSH into a Linux instance
  • SFTP: Upload files using SSH
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is port 21 used for?

A

FTP: Uploads files to a file store

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is port 80 used for?

A

HTTP: Access unsecured websites

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is port 443 used for?

A

HTTPS: Access secured websites

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is port 3389 used for?

A

Remote Desktop Protocol: Log into a windows instance

How well did you know this?
1
Not at all
2
3
4
5
Perfectly