EC2 - Security Group Basics Flashcards
A security group is…
…a virtual firewall
1 instance can have how many security groups?
Multiple. Also, multiple instances can be one security group
If you change security group rules…
…changes take effect immediately
If you allow inbound rules (e.g. HTTP, HTTPS, SSH) but don’t allow outbound rules, will those outbound rules affect the request?
No; since security groups are stateful, the inbound requests will be allowed back out automatically
Can you deny traffic with a security group?
No, only allow rules are allowed
The default security group…
…allows all inbound and outbound traffic by default
By default, all inbound traffic is…
…blocked
By default, all outbound traffic is…
…allowed