Sorry @kevinhooke
- there's only so much you can optimize and if your use case requires a WAF (it's optional), there's no clever way around it aside from mitigating costs with a CloudFront Security Savings bundle. Consider though that there's not that much a WAF offers for a static site except perhaps DDoS mitigation from known bad IPs.
Hand on heart, one of my sites with this set-up (minus WAF) does indeed cost $0.01 a day.
Software developer since 1995, started programming in 1983 with Sinclair BASIC. Java developer since 1997, some JavaScript. Recent experience building Spring Boot REST services and some React.
Sorry @kevinhooke - there's only so much you can optimize and if your use case requires a WAF (it's optional), there's no clever way around it aside from mitigating costs with a CloudFront Security Savings bundle. Consider though that there's not that much a WAF offers for a static site except perhaps DDoS mitigation from known bad IPs.
Hand on heart, one of my sites with this set-up (minus WAF) does indeed cost $0.01 a day.
I'm still interested in the approach, so will still be taking a look. $0.01 is still less than my current $4/month VPS, although not by that much.