SMART WORLDJOURNALSubmit Manuscript
← All technology news

Digital Infrastructure

AWS Network Firewall Introduces Context-Aware Rules for Smarter Traffic Filtering

AWS Network Firewall now supports context-aware rules, enabling firewalls to match network traffic based on AWS resource metadata like VPC and security groups instead of IP addresses. This innovation enhances dynamic workload security across shared transit gateways while simplifying policy management.

NEWS

AWS has introduced context-aware rules for its Network Firewall service, allowing organizations to write firewall policies that identify traffic based on AWS resource context rather than static IP addresses. This uses metadata such as virtual private clouds (VPCs), subnets, security groups, and transit gateway attachments to define traffic sources and destinations.

Traditional firewall rules rely on fixed IP addresses, which can be challenging to maintain in dynamic cloud environments where workloads frequently scale, move, or are replaced. By contrast, context-aware rules follow resource metadata, automatically covering new or transient workloads without manually updating IP lists.

The new system depends on deploying Network Firewalls attached to AWS Transit Gateways. Transit Gateways tag each packet with context information about its sender—such as VPC, subnet, transit gateway attachment, and attached security groups. These context tags are matched against rules that reference context sets defined from resources tracked in a centralized context store.

The context store serves as a catalog of AWS resources associated with the transit gateway, keeping the firewall in sync with resources across multiple accounts connected through AWS Resource Access Manager. Rules then use these context sets in both source and destination criteria to allow or block traffic.

Using context-aware rules enables centralized policy enforcement across accounts that share a transit gateway. Firewall logs now record the resource context on both ends of a connection, enhancing visibility and auditability of network flows in complex architectures.

One limitation is that destination context matching requires TCP-based rules because the firewall determines the destination resource from return traffic. Also, context-aware rules require transit gateway-attached firewalls and currently operate only in AWS Regions supporting both Network Firewall and Transit Gateway context sharing.

Context-aware rules come at no additional charge beyond standard AWS Network Firewall and Transit Gateway pricing. Organizations can implement this feature to simplify network security management in cloud environments with dynamic and multi-account workloads, improving policy accuracy and reducing administrative overhead.

Source & further reading

Introducing context-aware rules for AWS Network Firewall ↗

Source published 2026-11-25. Claims and limitations should be checked against the original announcement or research.