A company is hosting a database instance in a private subnet of a Virtual Private Cloud (VPC). The database should only accept incoming traffic from web application servers running in a public subnet of the same VPC. To implement this restriction, the company wants to deploy a stateful firewall that controls inbound and outbound traffic at the individual instance level. Which AWS network security feature should be used to meet these requirements?
- ANetwork Access Control Lists (Network ACLs)
- BVPC Peering
- Security groupsCevap
- DAWS Transit Gateway
Cevap
Security groups
Security groups act as a stateful firewall for EC2 instances, controlling inbound and outbound traffic at the instance level. They allow you to specify permit rules, and because they are stateful, any allowed inbound traffic is automatically allowed outbound, satisfying the requirement to secure individual database instances.
Adım Adım Çözüm
Anahtar Kavram
Security groups act as stateful firewalls at the instance level, whereas Network ACLs act as stateless firewalls at the subnet level.
Tahmini Süre:1m 0s