Join our Newsletter — 33% off our NHI Course
Home› Glossary› Cyber Security› Firewall In The Cloud
Cyber Security

Firewall In The Cloud

← Back to Glossary
By NHI Mgmt Group Updated November 25, 2026 Domain: Cyber Security

A firewall in the cloud is a firewall service delivered and managed from a cloud platform rather than installed on a local appliance. It filters network traffic using policy rules, often for branches, remote users, and cloud workloads, and can control inbound, outbound, and east-west connections.

What a firewall in the cloud does

A firewall in the cloud is a centrally managed network control, so the main questions are what traffic it is meant to filter, where it sits in the path, and which destinations it can actually govern. Many organisations use it to enforce policy across branches, remote access, internet egress, and cloud workload traffic without maintaining hardware at every site.

Because the control is delivered as a service, the practical boundary matters: a cloud firewall may inspect north-south traffic, but it can also be used to shape east-west policy when traffic is steered through the service. That makes it part firewall, part routing and segmentation design, not just a virtual replacement for an appliance.

Policy enforcement and traffic paths

The value of a cloud firewall comes from where policy is enforced and how traffic is evaluated. Stateful inspection, connection tracking, object-based rules, and route steering can change the result of the same packet depending on whether the product behaves like a network ACL, a security group, or a next-generation firewall service.

In cloud environments, rule order, ephemeral ports, and asymmetric return paths are common sources of confusion. A rule set can look permissive or restrictive on paper while the actual enforcement depends on the cloud provider's evaluation model and the placement of the firewall in front of subnets, workloads, or transit paths.

For readers comparing cloud-native enforcement models, Security Groups vs Network ACLs is useful because it explains how stateful and stateless controls behave differently in real cloud paths.

How organisations use cloud firewalls

Cloud firewalls are often introduced when network segmentation needs to extend beyond a single data centre. Common use cases include internet egress control, centralised policy for multiple accounts or projects, inspection of traffic to and from cloud workloads, and consistent filtering for users who connect from outside the office.

They also become useful when security groups or subnet-level controls are not enough. If an organisation needs FQDN-based policy, intrusion prevention, or a central policy layer that spans many environments, a managed cloud firewall can fill that gap without turning every workload into a bespoke exception.

For a broader selection view across appliance, virtual, and service-based models, the Firewall Buyer's Guide helps place cloud firewalls in the wider firewall market.

Cloud firewall design trade-offs

The main trade-off is between central control and traffic locality. A cloud firewall can simplify policy management, but it can also add latency, routing complexity, and operational dependence on the provider's service model. If traffic hairpins through a central inspection point, you may gain visibility while also creating a new bottleneck.

Design also varies by cloud platform. Some services target projects or VPCs, others are policy layers above routing, and others are closer to a distributed control plane. The right design depends on whether you are trying to protect a single application, a shared cloud network, or a hybrid environment that still depends on legacy perimeter thinking.

For a network-first view of cloud architecture and policy placement, Network Security Guide provides the broader context around segmentation, edge devices, and east-west controls.

Operational governance and platform choice

Teams usually need to decide who owns firewall policy, how changes are reviewed, and which traffic is deliberately exempted. In cloud platforms, that governance is often split between network teams, platform teams, and application owners, so a firewall service only works well when the rule source of truth and change process are clear.

Platform selection also matters because each cloud ecosystem exposes different primitives for roles, logs, keys, and policy delegation. A cloud firewall should be judged alongside the rest of the platform's security model, not in isolation, because the surrounding controls determine whether the firewall is actually enforceable at scale.

For cloud-specific governance patterns, Security Groups vs Cloud Firewall Services is the best companion reference when you need to decide when a managed cloud firewall belongs in the stack.

Risk and Threat Considerations

Cloud firewalls reduce exposure, but they can also create a false sense of containment if routes, return traffic, or policy inheritance are misunderstood. Misplaced trust in the service boundary can leave internet-facing workloads, east-west paths, or outbound channels more exposed than teams realise.

Failure mechanism: Attackers often exploit gaps between intended policy and actual path enforcement, especially where inspection is asymmetric, egress is weakly controlled, or a cloud service is assumed to filter traffic it never actually sees.

Impact: The result can be unauthorized access, lateral movement, data exfiltration, or persistence through allowed management or outbound channels, particularly in environments where cloud network policy changes faster than oversight.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

NIST SP 800-53 Rev 5, NIST CSF 2.0 and CIS Controls v8 set the technical controls, while ISO/IEC 27001:2022 defines the regulatory obligations.

FrameworkControl / ReferenceRelevance
NIST SP 800-53 Rev 5SC-7 — Boundary ProtectionCloud firewalls enforce network boundaries and traffic filtering across cloud paths.
AU-2 — Event LoggingCloud firewall logging supports monitoring and post-incident review of traffic decisions.
Recommendation — Apply SC-7 to define inspection points, segmentation boundaries, and controlled flow paths for cloud traffic. Log firewall decisions so blocked, allowed, and anomalous flows can be investigated.
NIST CSF 2.0PR.PS-01 — Configuration ManagementCloud firewall value depends on securely configured policy, routing, and enforcement settings.
Recommendation — Maintain cloud firewall configurations through controlled change and review.
CIS Controls v8CIS-12 — Network Infrastructure ManagementCloud firewalls are part of managing network security infrastructure and segmentation controls.
Recommendation — Manage firewall policy, routing, and network segmentation as centrally governed infrastructure.
ISO/IEC 27001:2022A.8.20 — Network securityCloud firewall deployments directly implement network security controls in cloud environments.
Recommendation — Use network security controls to protect and segment cloud traffic flows.

Practitioner Guidance

What to watch for: The most important operational question is whether the firewall is enforcing the design you think you deployed. Validate rule order, route paths, return traffic, and logging together, because each cloud platform exposes those differently.

Governance implication: Treat cloud firewall policy as shared security infrastructure, not as a local admin setting. Ownership, change approval, exception handling, and review cadence should be explicit so that network segmentation does not decay into undocumented rule sprawl.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on November 25, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org