Consul Background

Load Balancing Strategies with NGINX/HAProxy and Consul

Since its first release in 2014, HashiCorp Consul has evolved from an open-source tool that provides service discovery, health checking, load balancing, globally distributed key value store to pioneering microservice networking with service mesh capabilities. Since then, the Consul team has released first class integrations with Kubernetes, Envoy, AWS Cloudmap, and more. However, before considering full-fledged service mesh, many companies looking to adopting microservices architectures are still struggling to come up with an optimized load balancing approach with their existing networking architecture.


  • Christoph Puhl

    Christoph Puhl

    Senior Solutions Engineer, HashiCorp

Register For Live Webinar

  • Heard of Consul
  • Read materials
  • Downloaded Consul Open Source
  • Used Consul Open Source (non-production)
  • Used Consul Open Source in production
  • Multiple users of Consul Open Source in production
  • Experience with Consul Enterprise

» How can you optimize your load balancing strategy with Consul?

When multiple instances of the same service are running simultaneously, how do you balance traffic to all healthy instances of the service while handling changes in health status, changes in the instances as they scale up and down, and changes in the instances distributed across multiple clusters?

In this webinar, we will demo one such strategy: using Nginx or HAProxy to balance traffic with Consul template to manage the configuration. In this structure, Consul Template dynamically updates the nginx.conf or haproxy.conf configuration file which defines the load balancer and the list of servers. We’ll then move beyond Consul Template to discuss how to connect proxies and Consul without any intermediary tools.

» Join this webinar to learn:

  • Strategies and technologies for load balancing microservice applications with Consul
  • Demo and overview of running Nginx/HAProxy with Consul Template
  • Demo and overview of running Nginx/HAProxy with Consul service discovery
  • Moving beyond load balancing with network middleware

Agenda (BST)

  • 10:00 - 10:10 BST Introductions
  • 10:10 - 10:45 BST Presentations
  • 10:45 - 10:55 BST Q&A
  • 10:55 - 11:00 BST Closing remarks and last call for questions

Everyone who registers for the webinar will receive a link to the webinar recording after post-processing (usually 1-2 days).

Stay Informed

Subscribe to our monthly newsletter to get the latest news and product updates.

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now