1 Answer
- Newest
- Most votes
- Most comments
0
AWS WAF cannot be configured on distributions or load balancers created from Lightsail.
https://repost.aws/knowledge-center/lightsail-considerations-for-use
Firewall services: You can use AWS firewall services, such as AWS WAF and AWS Shield, with Application Load Balancer. These services aren't supported in Lightsail load balancer.
Perhaps the article you saw is about setting up AWS WAF on an ALB outside of an Amazon CloudFront or Lightsail VPC.
So, to set up AWS WAF, please create CloudFront from the CloudFront screen, not from the Lightsail screen.
Please refer to the documentation for creating CloudFront.
https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-create-delete.html
Relevant content
- Accepted Answerasked a year ago
- asked 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 7 months ago
WAF is an advanced feature. If you have the need for it then it is probably time move from Lightsail to EC2. This article can help you migrate. https://repost.aws/knowledge-center/lightsail-export-linux-instance-ec2