I have CloudFront serving only images - stored in S3 but served through CloudFront. The Web application is hosted separately.
Do I need AWS WAF? Or What does WAF add when only images served?
I have CloudFront serving only images - stored in S3 but served through CloudFront. The Web application is hosted separately.
Do I need AWS WAF? Or What does WAF add when only images served?
There's a few things WAF adds, depending on your requirements:
So I think having an ACL that includes (at least) rate limiting, and maybe the baseline rule groups would be good. You could through in geo-blocking as well, but CF has that separately.
It is also worth mentioning that it is important to take advantage of origin access control (OAC) which is a newer (as of August 2022) way to keep your bucket private and prevent direct requests to S3.