I just went through the same. Reason I prefer Cloudflare is that I use them as my overall WAF proxy.

I just went through the same. Reason I prefer Cloudflare is that I use them as my overall WAF proxy. It's cheaper and better equipped (IMHO). I have an AWS service that runs on ECS and my ALB has ingress rules that only allow IPs from Cloudflare. So it's pretty secure. I then run my web clients in Cloudflare using their Pages service. It's pretty nice. Plus, I've moved all my DNS to Cloudflare. It just makes for a nice separation of public/client stuff vs private/backend stuff.

I use Terraform and there are providers for both AWS and Cloudfront. So no issues there.

As for functions, I still use SQS and lambda because only my backend uses them for now as background workers. But I can see using some of the Cloudflare stuff for API proxy work, ex: auth, schema validations, etc.
Was this page helpful?