AWS Network Firewall with Suricata Rules for East-West Traffic
Deploying AWS Network Firewall with Suricata Rules for East-West Traffic gives organisations a managed path for inspecting lateral traffic between subnets, VPCs, and shared services. The key is to make every workload follow a symmetric route through the firewall rather than simply placing a security appliance beside the application.
Use it for network threat prevention, intrusion detection, intrusion prevention, and microsegmentation while preserving familiar AWS routing. For Australian teams, the same design can span the Sydney and Melbourne Regions, subject to service availability, replication requirements, latency, and data-residency decisions.
Choose an east-west inspection pattern
A centralised inspection VPC is usually the cleanest starting point. Application and server subnets send east-west packets to inspection subnets containing firewall endpoints; the firewall then forwards them to their destination. This creates a deliberate choke point for malicious traffic and reduces the number of policies teams must maintain.
Distributed endpoints suit smaller estates or isolation boundaries where routing changes would be disruptive. Whichever pattern is chosen, map active and passive return paths, health-check behaviour, and security-group references. Asymmetric routing can silently bypass inspection or cause stateful sessions to reset.
Prepare the firewall and rule groups
Create a firewall, firewall policy, and policy association, then build a reusable Suricata rule group. Start with stateful pass, drop, alert, and forward actions appropriate to the application path, and add stateless packet filters only where required. Rule evaluation order matters because an early allow can prevent a later signature from being evaluated.
The rule group should begin narrowly: known command-and-control indicators, protocol abuse, DNS tunnelling patterns, and suspicious file transfers. AWS-managed threat-signature groups provide a useful baseline, while local rules cover application-specific traffic. Test every change against representative payload sizes and expected throughput.
Deploy endpoints and update routes
Create one firewall endpoint per Availability Zone and place each endpoint in a subnet whose route tables direct inspected traffic through the firewall. Associate the firewall policy, set the desired capacity and buffering behaviour, and allow the endpoint to become healthy before altering production routes. Route updates should occur in a controlled sequence.
For VPC-to-VPC inspection, route through the inspection VPC or use Transit Gateway appliance mode where appropriate. Update workload, inspection, and destination route tables so both directions have a valid path. Do not point a workload route table at a firewall endpoint IP as though it were a NAT gateway.
Tune Suricata inspection behaviour
Suricata signatures express the threat logic, while the stateful engine supplies connection context. An alert-only rule is valuable during tuning, but alert rules do not stop traffic; move proven malicious patterns to a blocking action. Keep ordering deterministic and document exceptions with an owner, business reason, and review date.
Encrypted application sessions limit deep payload inspection, although metadata, flow behaviour, and known indicators remain visible. Use TLS-aware controls at the workload or application layer for content that must be inspected. In regulated Australian environments, map detections and blocked flows to the ASD Essential Eight and, where applicable, APRA-aligned security outcomes.
Automate rule distribution safely
Treat rule management as code. Keep rule sources in version control, run syntax and regression tests, and publish immutable artefacts for deployment through approved pipelines. Include change records that connect a signature to the risk it addresses, reducing the chance that an urgent exception becomes permanent.
Python can support generation, validation, and policy deployment around the firewall, but AWS Network Firewall does not execute arbitrary Python plugins in its managed data plane. A dynamic module loading design can still help a local platform extend modular tooling; keep it outside the packet path and validate the final Suricata rule group independently.
Fit application delivery controls
Network Firewall complements, rather than replaces, load balancing, web application firewall, and application-delivery functions. Check source addresses, persistence, health checks, and return routing before placing inspected traffic behind an Application Load Balancer, Network Load Balancer, or Radware service. The Radware guidance offers a useful reference for comparing those delivery patterns with segmented east-west flows.
Australian enterprises often operate a mixed estate of VMware workloads, on-premises data centres, and AWS services. Define where inspection is mandatory and where equivalent controls already exist, especially across Direct Connect and Transit Gateway links. This avoids duplicate appliances, unexpected latency, and inconsistent policy enforcement.
Test, observe, and operate locally
Validate with controlled traffic and CloudWatch metrics such as passed, dropped, and invalid packets. Send logs to CloudWatch Logs, S3, or Kinesis Data Firehose, then correlate drop reasons with route changes and Suricata alerts. Test clean sessions, denied sessions, large transfers, failover, and recovery; a successful policy update is not evidence that the application remains reachable.
Operate separate inspection paths for primary and secondary Regions when resilience requires it, and measure effects on customer SLAs. Sydney-to-Melbourne replication is routine, but Perth-hosted users or on-premises sites may see materially different latency. Review Australian support arrangements, marketplace procurement, and local partner operations alongside cost, because egress, endpoints, logging, and duplicated capacity all affect the budget.