Cloud Network Security Costs: AWS Network Firewall, Azure Firewall, WAF, DDoS Protection and Bastion
Model cloud network security costs across inspection, web protection, DDoS and administrative access while accounting for resilience, logging and bundled pricing.
Network security costs depend on where controls are deployed, how much traffic they inspect, and how evidence is retained. Counting only a firewall’s hourly price misses much of that design.
The objective is to meet a defined security requirement at an understood operating cost. That requires distinguishing network inspection, web protection, DDoS mitigation, and administrative access rather than treating them as interchangeable appliances.
Generic estimates use illustrative USD rates and 730 hours per month. The AWS WAF example explicitly identifies its pricing period because AWS has announced a change effective February 1, 2027.
1. Four different security jobs
| Control | What it primarily protects | Examples |
|---|---|---|
| Network firewall | Network flows and supported inspection | AWS Network Firewall, Azure Firewall |
| Web application firewall | HTTP/S requests and application attack patterns | AWS WAF, Azure WAF |
| DDoS protection | Availability against supported denial-of-service attacks | AWS Shield, Azure DDoS Protection |
| Administrative access | Controlled operator access to machines | Session Manager, Azure Bastion, managed jump-host alternatives |
A WAF does not inspect every arbitrary network protocol. A network firewall does not replace application authorization. A DDoS subscription does not automatically make an exposed application correctly configured.
2. AWS Network Firewall: placement creates the cost footprint
AWS Network Firewall deploys inspection into a routed architecture. Endpoint placement, routing symmetry, traffic volume and optional inspection features affect both reliability and price.
A workload in one AZ sent through an inspection endpoint in another can create cross-zone traffic and an additional failure dependency. A resilient design often uses local inspection paths in multiple zones. Central inspection across VPCs can introduce transit and additional endpoint meters.
AWS Network Firewall pricing distinguishes endpoint hours, processed GB, optional advanced inspection/threat features and partner rules. It also describes native NAT integration and eligible NAT gateway discounts. Matching NAT hours and processed traffic can receive discounts subject to the documented configuration and regional conditions. Do not automatically add undiscounted NAT and firewall list prices.
Record which traffic is eligible and what remains outside the discount. Internet transfer, public IPs, logs, transit, and other services still need their own treatment.
3. Azure Firewall Basic, Standard and Premium
Microsoft’s SKU guidance distinguishes Basic’s smaller throughput envelope, Standard’s enterprise network/application filtering, and Premium’s advanced capabilities such as TLS inspection and IDPS.
| Tier | Starting assessment | Cost and architecture consideration |
|---|---|---|
| Basic | Smaller environments with suitable feature needs | Check throughput, management connectivity and omitted features |
| Standard | General enterprise network policy and threat-intelligence needs | Check traffic profile, scale and policy requirements |
| Premium | Required advanced inspection, including supported TLS inspection | Include certificates, inspection performance and operational work |
Azure Firewall has deployment and processed-data charges, with SKU-specific pricing. Do not bill the service as multiple independent firewalls solely because its managed implementation uses multiple instances. Estimate the billable deployed resources and configured features.
TLS inspection also changes trust and application behavior. Certificate distribution, privacy requirements, pinned certificates and encrypted protocols need a tested policy. Choosing a lower tier that lacks a required control is not equivalent optimization.
4. Firewall example: hours, processing and logs
Suppose a hypothetical design has two independently billed inspection endpoints at $0.40/hour each. Its billed inspection quantity is 10,000 GB at $0.065/GB. It ingests 200 GB of logs at $0.50/GB.
| Component | Calculation | Cost |
|---|---|---|
| Inspection availability | 2 × 730 × $0.40 | $584 |
| Inspection processing | 10,000 × $0.065 | $650 |
| Log ingestion | 200 × $0.50 | $100 |
| Modeled subtotal | Before transfer, storage, queries and add-ons | $1,334/month |
This is a generic endpoint model, not an Azure Firewall quote. The 10,000 GB is the billed processing quantity; it already reflects the relevant measured traffic. If a path crosses two independently charged inspection stages, model both deliberately rather than assuming all bytes are always billed once or twice.
Reducing noisy logs can lower cost, but retain the evidence needed for detection, investigation and compliance. Use filtering, retention tiers and appropriate query practices with security approval.
5. AWS WAF and Azure WAF: compare scope and pricing period
As of this article’s review date, AWS WAF’s current model includes web ACL, rule and request charges, with additional pricing for certain capacity, inspection and advanced features. Its pricing page announces a different model from February 1, 2027, based on protected resources, requests and premium requests, removing several current charge categories.
Always label a WAF calculation with its effective period. For a full month under the published model through January 31, 2027, assume one $5 web ACL, ten $1 billable rules, and 20 million requests at $0.60/million:
$5 + (10 × $1) + (20 × $0.60) = $27/month
This excludes optional features, managed-rule fees, logging and the protected delivery service. Recalculate for usage from February 1, 2027 using the new model rather than carrying this example forward.
Azure WAF is delivered with application delivery products including Application Gateway and Front Door. The tier and integration determine billing. Front Door Premium includes supported WAF pricing; compare the total delivery tier rather than adding every standalone product rate.
Rule order, scope and exclusions affect security behavior and can affect premium inspection volumes. Test in detection/count modes where appropriate, review false positives, and avoid removing protection solely because it inspects many requests.
6. AWS Shield versus Azure DDoS Protection
AWS Shield Standard provides baseline DDoS protection at no additional Shield charge. Shield Advanced is a distinct paid subscription with a one-year commitment and usage-related components. Cost protection and included benefits have conditions; they are not an automatic waiver of every attack-related cloud charge. Consult Shield pricing and terms.
Azure offers baseline infrastructure protection and paid DDoS IP Protection and Network Protection options. IP-level and broader plan-level economics differ. Check eligible resources, protected addresses, benefits and exclusions in Azure DDoS pricing.
A published monthly plan price is not enough to compare providers: protected resource types, scope, support, response capabilities and cost-protection requirements differ. Document what the organization needs and what must be registered or enabled.
CDN and WAF bundles can overlap with security subscriptions. Inventory included benefits before buying another plan, while checking whether the bundled protection meets the same scope.
7. Administrative access: Session Manager and Bastion
AWS Systems Manager Session Manager permits managed-node access without opening inbound SSH/RDP ports or maintaining a traditional bastion. It requires the agent, IAM permissions and access to service endpoints.
Standard EC2 Session Manager access does not mean its surrounding architecture is free. Private endpoints or NAT, logs, storage, keys, and non-EC2 advanced-tier requirements can contribute cost. Check Systems Manager pricing and the managed-node type.
Azure Bastion provides managed RDP/SSH access. Its SKUs include Developer, Basic, Standard and Premium. Developer is a limited free offering; Standard adds scaling and supported advanced access features, while Premium supports capabilities such as session recording and private-only deployment. Validate the current feature matrix and region support rather than selecting by name.
Bastion pricing bills paid deployments from creation until deletion, including unused periods, with scale units and transfer contributing to the total. A hypothetical $0.20/hour deployment costs $146/month before extras even if administrators use it for only two hours.
A self-managed jump host needs patching, identity controls, audit, redundancy and incident response. Compare those obligations with the managed alternatives. Ensure emergency access still works when the normal identity or connectivity path is unavailable.
8. Logs, rules and inspection overhead
Log cost includes more than retention: ingestion, routing, indexing, storage, SIEM processing and queries can all matter. Repeatedly scanning a large archive during an incident can create an unexpected bill.
Rule changes can redirect traffic, alter inspection effort or block essential service dependencies. Track latency, throughput, connection failures, dropped packets, false positives and log volume after policy updates.
Keep the permitted route and its return path consistent for stateful inspection. An asymmetric route can break healthy applications and create retries that increase both traffic and cost.
9. Common mistakes and better controls
| Mistake | Better control |
|---|---|
| Counting every NAT and firewall fee at full list price | Check eligible bundles/discounts and actual billed usage |
| Buying advanced protection without registering resources | Verify covered resources and required configuration |
| Deploying one distant inspection path for all zones | Test resilience and quantify applicable transit/transfer |
| Retaining everything at the hottest log tier | Align evidence retention and retrieval with policy |
| Treating private addressing as sufficient security | Verify identity, access rules and authorized destinations |
| Removing an apparently idle access service without review | Check infrequent administration and emergency procedures |
| Reusing WAF calculations after a pricing change | Record effective dates and review the next billing period |
Require security and network owners to approve architectural changes. Validate normal, denied, failover and emergency-access flows before accepting savings.
10. How CloudVectra helps
CloudVectra Cloud Security describes scheduled AWS/Azure posture assessments, exposed-resource and permission findings, and ownership-based follow-up. Cost analysis adds spending context for network security services.
Use these together in governance reviews: investigate cost changes and verify that optimization preserves required controls. CloudVectra’s posture and cost views complement the provider’s enforcement services and traffic telemetry.
Continue the networking series
Sources and further reading
- AWS: Network Firewall pricing and NAT discounts
- Microsoft: Choose an Azure Firewall SKU
- Microsoft: Azure Firewall pricing
- AWS: WAF pricing and announced 2027 changes
- Microsoft: Azure WAF overview
- AWS: Shield pricing
- Microsoft: DDoS Protection pricing
- AWS: Session Manager
- AWS: Systems Manager pricing
- Microsoft: Bastion configuration
- Microsoft: Bastion pricing
- Microsoft: Front Door pricing