Skip to content

How to integrate WAF with an EC2 instance?

0

I was looking into using AWS's Web Application Firewall, but it can only be used by an elastic load balancer or a CloudFront distribution. How might I go about implementing a WAF with my EC2 that is serving my website?

asked 8 years ago2.4K views
1 Answer
1
Accepted Answer

Not supported directly, currently needs to be behind ALB or CloudFront. Here is a tutorial that walks through protecting EC2 instances.
https://docs.aws.amazon.com/waf/latest/developerguide/tutorials-ddos-cross-service.html

answered 8 years ago
EXPERT
reviewed 2 years ago
EXPERT
reviewed 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.