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.

Ryan Quinn
DigitalOcean Employee
DigitalOcean Employee badge
May 21, 2018
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.

Bobby Iliev
Site Moderator
Site Moderator badge
July 10, 2024

Hi there,

In addition to what Ryan has mentioned, a quick update here, DigitalOcean has announced new Global Load Balancers (currently in beta) which will allow you to distribute traffic to Droplets in different regions for high availability (HA) and performance.

Whereas regional load balancers distribute traffic within a single region, global load balancers span multiple regions and route users to your nearest available backend Droplet.

For more information you can check out this documentaiton here:

https://docs.digitalocean.com/products/networking/load-balancers/how-to/create-global-load-balancer/

Or check out this introduction video here:

- Bobby

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

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Featured on Community

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel