Use this when filtering cloud traffic at the edge or between subnets.
Cloud Firewall
A cloud firewall filters traffic to and from cloud resources at the network edge or between subnets, such as AWS Network Firewall, Azure Firewall or Google Cloud firewall rules, alongside security groups.
1. Cloud firewalls provide central L3–L7 filtering (egress, east-west).
2. Centralise egress through inspection.
3. FQDN filtering.
4. Logs to SIEM.
5. Combine with SGs/NSGs.
VPC traffic → cloud firewall → allowed destinations
Context & applicabilityCommon mistakes · platform/version boundaries
- Routes that bypass the firewall for some subnets.
- Asymmetric routing through two firewalls, breaking stateful inspection.
- Firewall in one availability zone only.
- TLS inspection not configured, so threat detection sees little.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Checks Verify boundary
- Route tables send traffic through the firewall (no bypass routes).
- Logs enabled and sent to the SIEM.
- Threat intelligence / IDPS mode set to alert or deny as intended.
- Rule hit counts reviewed; remove unused rules.
Step 2 Cloud firewall options Narrow the fault
| Type | Examples | Use |
|---|---|---|
| Native managed firewall | AWS Network Firewall, Azure Firewall, Cloud NGFW (GCP) | Central egress/east-west filtering |
| Virtual NGFW | Palo Alto VM-Series, FortiGate-VM | Same features as on-prem |
| Web application firewall | AWS WAF, Azure WAF, Cloudflare | HTTP-level protection |
Route traffic through the firewall with route tables (hub-and-spoke / transit gateway / Virtual WAN); unrouted subnets bypass it.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Cloud firewalls complement security groups.
- Centralize egress filtering where possible.
- Log allowed and denied traffic.
aws network-firewall list-firewalls— AWS Network Firewallaz network firewall list -o table— Azure Firewall- Egress filtering rules — outbound control
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
A cloud firewall is a managed, stateful network firewall service — AWS Network Firewall, Azure Firewall, Google Cloud NGFW — or a third-party virtual appliance deployed in the cloud. It provides central inspection, egress filtering, threat intelligence and logging that security groups alone do not offer.
Typical design: a hub (transit) network containing the firewall, with spoke VPCs/VNets routing internet-bound and inter-spoke traffic through it. Use it for egress control (allow only required domains/FQDNs), east-west inspection between environments, and IDS/IPS.
Mind costs and throughput limits, plan for availability across zones, and keep rules in code with the same review process as on-premises firewalls.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Cloud Security → Cloud Firewall. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://csrc.nist.gov/pubs/sp/800/210/final · confidence 94%