Interview Prep/Linux/Firewalls, MAC & Compliance

Host firewall vs cloud security groups: do you need both?

IntermediateProductionFirewalls, MAC & Compliance
Answer

Security groups / NSGs are the primary control in the cloud: stateful, enforced outside the VM (a compromised host cannot disable them), and managed with Terraform. A host firewall adds defence in depth, protects against misconfigured security groups, and can filter between processes on the same subnet. Many teams keep host firewalls minimal on cloud VMs and strict on bare metal. In Kubernetes nodes, avoid host firewalls that fight with CNI/kube-proxy rules.

All Linux questions Roadmap: Linux

More on Firewalls, MAC & Compliance