Software · head to head
Amazon VPC vs AWS WAF

Amazon VPC
Software
The private network layer for AWS, free to create with paid NAT, endpoints and addresses
- From
- Free
- Free plan
- Yes

AWS WAF
Software
Managed web application firewall for CloudFront, load balancers and APIs on AWS
- From
- $5/month
- Free plan
- No
The short version
- Amazon VPC has a free plan, then $0.005/mo; AWS WAF starts at $5/mo.
- Only Amazon VPC lists subnets and routing; only AWS WAF lists web ACLs and rules.
- Where Amazon VPC falls short: every public IPv4 address costs about $3.60 a month, including idle ones, so unused elastic IPs quietly add cost.
- Where AWS WAF falls short: it only attaches to a fixed list of AWS resources, so applications hosted outside AWS or behind another CDN cannot use it.
How do Amazon VPC and AWS WAF differ?
Amazon VPC and AWS WAF differ on starting price (Free against $5/month), pricing model and free tier (Yes against No). Only the attributes on which Amazon VPC and AWS WAF actually diverge.
| Attribute | Amazon VPC | AWS WAF |
|---|---|---|
| Starting price | Free | $5/month |
| Pricing model | Free VPC, metered NAT gateways, addresses and add-ons | Per web ACL, per rule and per million requests |
| Free tier | Yes | No |
Identical on both: platforms (Web).
Which features does each one have?
They share no listed features; 6 appear only for Amazon VPC and 6 only for AWS WAF. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.
Only in Amazon VPC
- Subnets and routing
- Security groups and NACLs
- NAT gateways
- PrivateLink endpoints
- Flow Logs and Traffic Mirroring
- IPAM
Only in AWS WAF
- Web ACLs and rules
- Managed rule groups
- Bot Control
- Fraud Control
- Rate-based rules
- Logging
What is each one used for?
Amazon VPC is most often brought in for isolating production, staging and development workloads in separate networks; AWS WAF for rate limiting login and API endpoints that sit behind CloudFront. The jobs each tool is most often brought in to do.
Amazon VPC
- Isolating production, staging and development workloads in separate networksnot AWS WAF
- Giving private subnets outbound access through a NAT gateway while blocking inbound trafficnot AWS WAF
- Reaching S3 and other AWS services over private endpoints to avoid NAT data chargesnot AWS WAF
- Capturing and mirroring traffic for intrusion detectionnot AWS WAF
AWS WAF
- Blocking SQL injection, cross-site scripting and known bad inputs in front of an Application Load Balancernot Amazon VPC
- Rate limiting login and API endpoints that sit behind CloudFrontnot Amazon VPC
- Adding bot detection to a retail site already hosted on AWSnot Amazon VPC
- Applying one set of WAF rules across many accounts through AWS Firewall Managernot Amazon VPC
Where do Amazon VPC and AWS WAF fall short?
Amazon VPC's most cited limit: every public IPv4 address costs about $3.60 a month, including idle ones, so unused elastic IPs quietly add cost. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
Amazon VPC
- NAT gateways charge $0.045 per hour and $0.045 per GB, so private workloads pulling large data volumes from the internet can generate a large bill with no obvious source
- Every public IPv4 address costs about $3.60 a month, including idle ones, so unused elastic IPs quietly add cost
- Cross-Availability Zone traffic is billed per GB, so designs that spread chatty services across zones pay for the resilience in data transfer fees
- Networking is regional and per account, so connecting many VPCs needs Transit Gateway or peering, each with its own pricing and limits
- Security groups, NACLs and route tables are easy to misconfigure, and there is no built-in policy checking beyond tools such as Reachability Analyzer, which is billed per analysis
AWS WAF
- It only attaches to a fixed list of AWS resources, so applications hosted outside AWS or behind another CDN cannot use it
- Charges come from several meters at once (web ACL, rules, rule groups, requests, logging, and per-feature fees), so predicting a bill needs a worksheet rather than a single price
- Account Takeover Prevention and Fraud Control start at $1,000 per million requests, so protecting a busy login endpoint can cost more than the web ACL itself
- Managed rules ship in count-first workflows and generate false positives on unusual payloads, so someone has to review logs and tune exclusions
- Request body inspection is capped by default, and inspecting beyond the limit or using more than the default capacity units carries extra per-request charges
How much do Amazon VPC and AWS WAF cost?
Amazon VPC has a free plan, with paid plans from $0.005/mo; AWS WAF starts at $5/mo. Plan by plan below, from each vendor's own pricing page.
Amazon VPC
Free- VPC, subnets and security groupsFree
- No charge to create a VPC, subnets, route tables, security groups or network ACLs
- NAT Gateway$0.045/hour
- $0.045 per hour per gateway
- $0.045 per GB processed
- Regional NAT Gateway is $0.045 per hour per Availability Zone
- Public IPv4 address$0.005/hour
- $0.005 per hour, in use or idle
- Traffic mirroring $0.015 per session hour
- IPAM Advanced Tier $0.00027 per active IP address hour
AWS WAF
$5/month- Pay-as-you-go$5/mo
- $5.00 per web ACL per month
- $1.00 per rule and $1.00 per rule group per month
- $0.60 per million requests
- Bot Control$10/mo
- $10.00 per web ACL per month subscription
- Common: $1.00 per million requests, first 10 million free
- Targeted: $10.00 per million requests, first million free
- Account Takeover and Fraud Control$10/mo
- $10.00 per web ACL per month per rule group
- $1,000 per million requests for the first 2 million, falling to $50 per million at the highest tier
Which should you pick?
Choose Amazon VPC if
- You need subnets and routing.
- You want to start without paying.
- You also want security groups and nacls.
Questions people ask
- Is Amazon VPC or AWS WAF better?
- It depends on the job. Amazon VPC fits isolating production, staging and development workloads in separate networks; AWS WAF fits blocking SQL injection, cross-site scripting and known bad inputs in front of an Application Load Balancer. Amazon VPC starts at Free and AWS WAF at $5/month.
- Which is cheaper, Amazon VPC or AWS WAF?
- Amazon VPC has a free tier; the other does not. Paid plans start at Free for Amazon VPC and $5/month for AWS WAF.
- Does Amazon VPC or AWS WAF run on more platforms?
- Both run on Web, so platform support will not decide this one for you.
- Can I use Amazon VPC for free?
- Yes. Amazon VPC has a free tier, so you can try it without paying. AWS WAF starts at $5/month.
- What is Amazon VPC best used for?
- Amazon VPC is most often used for isolating production, staging and development workloads in separate networks, giving private subnets outbound access through a nat gateway while blocking inbound traffic, reaching s3 and other aws services over private endpoints to avoid nat data charges, capturing and mirroring traffic for intrusion detection. Of those, isolating production, staging and development workloads in separate networks and giving private subnets outbound access through a nat gateway while blocking inbound traffic are not what AWS WAF is typically brought in for.
- What can Amazon VPC do that AWS WAF cannot?
- Amazon VPC covers Subnets and routing, Security groups and NACLs, NAT gateways, PrivateLink endpoints. AWS WAF covers Web ACLs and rules, Managed rule groups, Bot Control, Fraud Control.
Answered from the vendors’ own pages
Amazon VPC: Is Amazon VPC free?
Creating a VPC, subnets, route tables and security groups is free. NAT gateways, public IPv4 addresses, traffic mirroring and PrivateLink endpoints are charged.
AWS WAF: How much does AWS WAF cost per month?
On pay-as-you-go pricing it is $5.00 per web ACL and $1.00 per rule per month, plus $0.60 per million requests, per the AWS pricing page. Bot Control, fraud rules, CAPTCHA and logging are billed on top.
Amazon VPC: How much does a NAT gateway cost?
$0.045 per hour in US East plus $0.045 per GB processed, per the AWS pricing page, before standard data transfer charges.
AWS WAF: Does AWS WAF work outside AWS?
No. It protects supported AWS resources such as CloudFront, Application Load Balancer and API Gateway. Origins elsewhere can be covered if they sit behind CloudFront.
Amazon VPC: Are public IPv4 addresses charged?
Yes. $0.005 per hour per public IPv4 address, whether in use or idle.
AWS WAF: Is AWS WAF included with Shield Advanced?
Shield Advanced includes WAF usage for protected resources, up to 50 billion requests per month and 1,500 capacity units per web ACL, per the Shield pricing page.
Related pages
Keep looking
Other head to heads
- Amazon VPC vs Google Cloud Platform
- Amazon VPC vs HAProxy
- Amazon VPC vs Cilium
- Amazon VPC vs Coolify
- Amazon VPC vs DigitalOcean
- Amazon VPC vs Hetzner Cloud
- Amazon VPC vs Nutanix
- Amazon VPC vs OVHcloud
- Amazon VPC vs OpenStack
- Amazon VPC vs Proxmox VE
- Amazon VPC vs Scaleway
- Amazon VPC vs Portworx
- Amazon VPC vs Google Kubernetes Engine
- Amazon VPC vs Koyeb
- Amazon VPC vs CapRover
- Amazon VPC vs Dokku
- Amazon VPC vs Encore
- Amazon VPC vs Linkerd
- Amazon VPC vs Imperva
- Amazon VPC vs FortiWeb
- Amazon VPC vs Sucuri
- Amazon VPC vs Wordfence
- Amazon VPC vs Sophos Firewall
- Amazon VPC vs Clerk
- Amazon VPC vs Transcend
- Amazon VPC vs Hanwha Vision
- Amazon VPC vs Apiiro
- Amazon VPC vs Baffle
- Amazon VPC vs Cisco Secure Firewall
- Amazon VPC vs Exabeam
- Amazon VPC vs FortiMail
- Amazon VPC vs FortiAnalyzer
- Amazon VPC vs FortiNAC
- Amazon VPC vs FortiSASE
- Amazon VPC vs FortiSIEM
- Amazon VPC vs FortiSOAR
- AWS WAF vs Google Cloud Platform
- AWS WAF vs HAProxy
- AWS WAF vs Cilium
- AWS WAF vs Coolify
- AWS WAF vs DigitalOcean
- AWS WAF vs Hetzner Cloud
- AWS WAF vs Nutanix
- AWS WAF vs OVHcloud
- AWS WAF vs OpenStack
- AWS WAF vs Proxmox VE
- AWS WAF vs Scaleway
- AWS WAF vs Portworx
- AWS WAF vs Google Kubernetes Engine
- AWS WAF vs Koyeb
- AWS WAF vs CapRover
- AWS WAF vs Dokku
- AWS WAF vs Encore
- AWS WAF vs Linkerd
- AWS WAF vs Imperva
- AWS WAF vs FortiWeb
- AWS WAF vs Sucuri
- AWS WAF vs Wordfence
- AWS WAF vs Sophos Firewall
- AWS WAF vs Clerk
- AWS WAF vs Transcend
- AWS WAF vs Hanwha Vision
- AWS WAF vs Apiiro
- AWS WAF vs Baffle
- AWS WAF vs Cisco Secure Firewall
- AWS WAF vs Exabeam
- AWS WAF vs FortiMail
- AWS WAF vs FortiAnalyzer
- AWS WAF vs FortiNAC
- AWS WAF vs FortiSASE
- AWS WAF vs FortiSIEM
- AWS WAF vs FortiSOAR
