Software · head to head
AWS WAF vs Google Compute Engine

AWS WAF
Software
Managed web application firewall for CloudFront, load balancers and APIs on AWS
- From
- $5/month
- Free plan
- No

Google Compute Engine
Software
Google Cloud virtual machines billed per vCPU and per GB of memory
- From
- On request
- Free plan
- No
The short version
- AWS WAF starts at $5/mo; Google Compute Engine prices on request.
- Only AWS WAF lists web ACLs and rules; only Google Compute Engine lists machine families.
- 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.
- Where Google Compute Engine falls short: you manage patching, hardening and scaling, so the effective cost includes operations time that serverless options remove.
How do AWS WAF and Google Compute Engine differ?
AWS WAF and Google Compute Engine differ on starting price ($5/month against On request), pricing model and platforms (Web against Web, API). Only the attributes on which AWS WAF and Google Compute Engine actually diverge.
| Attribute | AWS WAF | Google Compute Engine |
|---|---|---|
| Starting price | $5/month | On request |
| Pricing model | Per web ACL, per rule and per million requests | Per vCPU and per GB of memory per hour |
| Platforms | Web | Web, API |
Identical on both: free tier (No).
Which features does each one have?
They share no listed features; 6 appear only for AWS WAF and 5 only for Google Compute Engine. 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 AWS WAF
- Web ACLs and rules
- Managed rule groups
- Bot Control
- Fraud Control
- Rate-based rules
- Logging
Only in Google Compute Engine
- Machine families
- Custom machine types
- Sustained use discounts
- Committed use discounts
- Free e2-micro
What is each one used for?
AWS WAF is most often brought in for rate limiting login and API endpoints that sit behind CloudFront; Google Compute Engine for lift-and-shift of virtual machine workloads to Google Cloud. The jobs each tool is most often brought in to do.
AWS WAF
- Blocking SQL injection, cross-site scripting and known bad inputs in front of an Application Load Balancernot Google Compute Engine
- Rate limiting login and API endpoints that sit behind CloudFrontnot Google Compute Engine
- Adding bot detection to a retail site already hosted on AWSnot Google Compute Engine
- Applying one set of WAF rules across many accounts through AWS Firewall Managernot Google Compute Engine
Google Compute Engine
- Lift-and-shift of virtual machine workloads to Google Cloudnot AWS WAF
- GPU and high performance computing jobsnot AWS WAF
- Self-managed databases or legacy servers needing OS controlnot AWS WAF
- Cost-optimised batch work on spot capacitynot AWS WAF
Where do AWS WAF and Google Compute Engine fall short?
Google Compute Engine's most cited limit: machine type choice is wide, and picking the wrong family wastes money until you resize. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
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
Google Compute Engine
- You manage patching, hardening and scaling, so the effective cost includes operations time that serverless options remove
- Bills combine vCPU, memory, disks, network egress and licences, which makes forecasting hard without the pricing calculator
- Machine type choice is wide, and picking the wrong family wastes money until you resize
- Sustained use discounts do not stack with committed use discounts, so savings depend on getting commitments right
- Network egress charges can exceed compute cost for data-heavy applications
How much do AWS WAF and Google Compute Engine cost?
AWS WAF starts at $5/mo. Plan by plan below, from each vendor's own pricing page.
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
Google Compute Engine
On request- On demandOn request
- vCPU and memory billed separately
- Sustained use discounts up to 30%
- Committed use discounts available
Which should you pick?
Choose Google Compute Engine if
- You need machine families.
- You work on Web, API.
- You also want custom machine types.
Questions people ask
- Is AWS WAF or Google Compute Engine better?
- It depends on the job. AWS WAF fits blocking SQL injection, cross-site scripting and known bad inputs in front of an Application Load Balancer; Google Compute Engine fits lift-and-shift of virtual machine workloads to Google Cloud. AWS WAF starts at $5/month and Google Compute Engine at On request.
- Which is cheaper, AWS WAF or Google Compute Engine?
- AWS WAF starts at $5/month and Google Compute Engine at On request.
- Does AWS WAF or Google Compute Engine run on more platforms?
- AWS WAF runs on Web. Google Compute Engine runs on Web, API.
- What is AWS WAF best used for?
- AWS WAF is most often used for blocking sql injection, cross-site scripting and known bad inputs in front of an application load balancer, rate limiting login and api endpoints that sit behind cloudfront, adding bot detection to a retail site already hosted on aws, applying one set of waf rules across many accounts through aws firewall manager. Of those, blocking sql injection, cross-site scripting and known bad inputs in front of an application load balancer and rate limiting login and api endpoints that sit behind cloudfront are not what Google Compute Engine is typically brought in for.
- What can AWS WAF do that Google Compute Engine cannot?
- AWS WAF covers Web ACLs and rules, Managed rule groups, Bot Control, Fraud Control. Google Compute Engine covers Machine families, Custom machine types, Sustained use discounts, Committed use discounts.
Answered from the vendors’ own pages
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.
Google Compute Engine: How is Compute Engine billed?
Per vCPU and per GB of memory per hour, plus disks and network.
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.
Google Compute Engine: Is there a free VM?
Yes, Google Cloud offers a free e2-micro instance under its free programme.
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.
Google Compute Engine: What discounts exist?
Sustained use discounts of up to 30% and committed use discounts.
Related pages
More on Google Compute Engine
Keep looking
Other head to heads
- 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 Baffle
- AWS WAF vs Cisco Secure Firewall
- AWS WAF vs Palo Alto Networks Next-Generation Firewall
- AWS WAF vs Dashlane
- AWS WAF vs Mullvad VPN
- AWS WAF vs JumpCloud
- AWS WAF vs Genetec Security Center
- AWS WAF vs Microsoft Sentinel
- AWS WAF vs IVPN
- AWS WAF vs FortiMail
- AWS WAF vs Amazon EC2
- AWS WAF vs DigitalOcean
- AWS WAF vs Exoscale
- AWS WAF vs OpenStack
- AWS WAF vs Huawei Cloud
- AWS WAF vs Portworx
- AWS WAF vs Confluent Cloud
- AWS WAF vs Nutanix
- AWS WAF vs Proxmox VE
- AWS WAF vs Wiz
- AWS WAF vs Rancher
- AWS WAF vs Wasabi
- AWS WAF vs Oracle Cloud
- AWS WAF vs OVHcloud
- AWS WAF vs Red Hat OpenShift
- AWS WAF vs AWS Fargate
- AWS WAF vs Amazon EKS
- AWS WAF vs Amazon EMR
- Google Compute Engine vs Imperva
- Google Compute Engine vs FortiWeb
- Google Compute Engine vs Sucuri
- Google Compute Engine vs Wordfence
- Google Compute Engine vs Sophos Firewall
- Google Compute Engine vs Clerk
- Google Compute Engine vs Transcend
- Google Compute Engine vs Hanwha Vision
- Google Compute Engine vs Baffle
- Google Compute Engine vs Cisco Secure Firewall
- Google Compute Engine vs Palo Alto Networks Next-Generation Firewall
- Google Compute Engine vs Dashlane
- Google Compute Engine vs Mullvad VPN
- Google Compute Engine vs JumpCloud
- Google Compute Engine vs Genetec Security Center
- Google Compute Engine vs Microsoft Sentinel
- Google Compute Engine vs IVPN
- Google Compute Engine vs FortiMail
- Google Compute Engine vs Amazon EC2
- Google Compute Engine vs DigitalOcean
- Google Compute Engine vs Exoscale
- Google Compute Engine vs OpenStack
- Google Compute Engine vs Huawei Cloud
- Google Compute Engine vs Portworx
- Google Compute Engine vs Confluent Cloud
- Google Compute Engine vs Nutanix
- Google Compute Engine vs Proxmox VE
- Google Compute Engine vs Wiz
- Google Compute Engine vs Rancher
- Google Compute Engine vs Wasabi
- Google Compute Engine vs Oracle Cloud
- Google Compute Engine vs OVHcloud
- Google Compute Engine vs Red Hat OpenShift
- Google Compute Engine vs AWS Fargate
- Google Compute Engine vs Amazon EKS
- Google Compute Engine vs Amazon EMR
