Question

Should I use CloudFlare Load Balancer or DigitalOcean Load Balancer?

Is it better for the load balancer to be next to droplets in DigitalOcean or to CloudFlare (which manages the DNS of my domain)?

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Accepted Answer

These two products provide some differing features:

DO Load Balancer:

  • Allows you to balance requests between multiple droplets
  • All traffic between the load balancer and your droplets is done over the private network where traffic is unmetered
  • Provides a fixed $20/month cost
  • Built in SSL (LetsEncrypt)
  • Does not include a CDN (site is available from a single region)

CloudFlare:

  • Provides a CDN (site is available from multiple regions)
  • Balances load between servers over the public network
  • Built in SSL
  • Bills separately from your droplets based on features and # of DNS requests.

Both services provide good features for their price points so you will want to decide which way to go based on which features are most important for your use case.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

You may also want to consider AWS Load Balancers. They have a free tier. (http://aws.amazon.com)

AWS is really expensive as ** , free tier or not the data migration is a waste of time and effort. Furthermore, AWS Free Tier has its limit.

The last thing you want is your website to go offline during migration isn’t it.