All technological notes.
Network Access Control List (NACL)
*) and denies a request in case of no rule match
| NACL | SG | |
|---|---|---|
| State | Stateless | Statefull |
| Subnet | Outside | Inside |
Stateful:
Stateless:
Incoming Request



Ephemeral Ports



| Security | Group NACL |
|---|---|
| instance level | subnet level |
| Supports allow rules only | Supports allow rules and deny rules |
Stateful |
Stateless |
| All rules are evaluated | Rules are evaluated in order (lowest to highest) , first match wins |
| Applies to an EC2 instance when specified by someone | Automatically applies to all EC2 instances in the subnet that it’s associated with |
Stateful:
Stateless:


Apache HTTP Server package: sudo yum -y install httpdsudo systemctl enable httpdsudo systemctl enable httpdsudo systemctl enable httpdsudo suecho "hello world" > /var/www/html/index.html













