This is very much AWS and CDK specific, FYI.
I’m a AWS / CDK person and need a simple WordPress site so am setting things up with EC2 + CloudFront w/ WAF.
Everything is working well enough except the default behavior is not at all optimized or frankly safe most likely (probably?). [This article (not sure how old it is) from AWS covers reasonable defaults](https://docs.aws.amazon.com/whitepapers/latest/best-practices-wordpress/cloudfront-distribution-creation.html), but I’d love to just copy / paste some well tuned CDK configuration into my project.
Anybody have anything they could share?
Thank you!
[ad_2]