enter image description here

I am aware Cloudflare has a security focus, but considering it also provides load balancing, why should I have it point to yet another load balancer e.g. AWS ELB?


CloudFlare has a CDN (content distribution network) offering that provides DNS, security and routing features. They also have a load balancing offering which is broadly similar to AWS's load balancers.

AWS ELB is a load balancer. ELB supports failover between AZs and integrates with auto scaling. ELB has AWS Shield basic integrated, which provides some security features, such as DDOS protection.

ELB and CloudFlare provide similar capabilities, once AWS WAF is taken into account. CloudFlare could arguably be regarded as simpler and easier to use. You can mix and match service offerings across CDN and load balancers, though I suggest the AWS load balancer is probably best to use if you're balancing EC2 resources. CloudFront + AWS WAF / CloudFlare can easily be swapped out.

You should use ELB in order to have access to load balancing across multiple AZ, and auto scaling to manage your load.

  • This is not an accurate answer. Cloudflare has multiple products. Their CDN is analogous to Cloudfront, and their Load Balancer is analogous to ELB/NLB.
    – X.L.
    Jan 24 '19 at 21:57
  • My answer might not be perfect, but it's in the right direction. I'll tweak it slightly. Suggest you submit a better answer @X.L.
    – Tim
    Jan 24 '19 at 22:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.