Skip to content

AWS Web Application Firewall (WAF)

AWS Web Application Firewall (WAF) filters HTTP and HTTPS requests to web applications, using rules that block, allow, or count requests by conditions such as IP address, header, or query string. Its logs, including protection pack (web ACL) logs, can stream to Hydrolix through Amazon Data Firehose. For what a protection pack is, see How AWS WAF works.

Hydrolix accepts logs from both WAF policy types:

  • Regional: a policy created in AWS WAF
  • Global: a policy created from CloudFront

Create the Firehose stream⚓︎

Adding AWS WAF (regional) as a data source in the Hydrolix web console creates an Amazon Data Firehose stream in the same region as the Hydrolix service.

Adding AWS WAF (Global for CloudFront) as a data source creates the stream in the us-east-1 region.

Send logs to Firehose⚓︎

To send WAF logs to the Firehose stream, follow Configuring logging for a protection pack (web ACL) and select the Firehose stream as the destination. The data source detail page in the Hydrolix web console shows the stream name, which depends on the policy type:

aws-waf-logs-hdx-firehose-regional-{random string}
aws-waf-logs-hdx-waf-firehose-global-{random string}

Cross-region data transfer costs⚓︎

AWS sets which region the Firehose stream must be in. For the current rules, see Configuring an Amazon Data Firehose delivery stream for your protection pack (web ACL). To reduce AWS charges for data transfer between regions, run the Hydrolix cluster in the stream's region where possible. These charges appear on the AWS bill and aren't part of the Hydrolix subscription.

To find the cluster's region, see the Product Info page of the Hydrolix web console. To estimate costs, use the AWS pricing calculator and Amazon Data Firehose pricing.

Remove the data source⚓︎

To remove the Firehose stream that Hydrolix provisioned, select de-activate in the Hydrolix web console.