Security Group Flashcards
What types of rules can be created?
Allow-based
Default settings for new security group
Do not allow any inbound traffic while still allowing all types of outbound traffic to pass through
What does it mean when we say security groups are stateful?
If you send a request from your instance, the response traffic for that request is allowed to flow in regardless of inbound rules
Responses to allowed inbound traffic are allowed to flow out regardless of outbound rules
Which address should you use to allow communication between VPC instances?
Private IP, nnot their public IP or Elastic IP address
What are security groups associated with?
Network interfaces, not the instances themselves
When you change the security group of an instance, you ate changing the security groups associated with its network interface
Does a newly created network interface have a security group associated with it?
Yes, it’s associated with the default security group for the VPC unless you specify a different one
What ate network interfaces and security groups bound to?
The VPC they are launched in
They cannot be used for other VPCs
However, security groups belonging to a different VPC can be referenced as the origin and destination of a security group rule of peered VPCs
At what layer do network ACLs operate?
They operate on the subnet layer which means they protect the whole subnet rather than individual instances