AWS Elastic Load Balancing (ELB) vs HAProxy

Need advice about which tool to choose?Ask the StackShare community!

AWS Elastic Load Balancing (ELB)

7.9K
5K
+ 1
56
HAProxy

2.2K
1.8K
+ 1
548
Add tool

AWS Elastic Load Balancing (ELB) vs HAProxy: What are the differences?

AWS Elastic Load Balancing (ELB): Automatically distribute your incoming application traffic across multiple Amazon EC2 instances. With Elastic Load Balancing, you can add and remove EC2 instances as your needs change without disrupting the overall flow of information. If one EC2 instance fails, Elastic Load Balancing automatically reroutes the traffic to the remaining running EC2 instances. If the failed EC2 instance is restored, Elastic Load Balancing restores the traffic to that instance. Elastic Load Balancing offers clients a single point of contact, and it can also serve as the first line of defense against attacks on your network. You can offload the work of encryption and decryption to Elastic Load Balancing, so your servers can focus on their main task; HAProxy: The Reliable, High Performance TCP/HTTP Load Balancer. HAProxy (High Availability Proxy) is a free, very fast and reliable solution offering high availability, load balancing, and proxying for TCP and HTTP-based applications.

AWS Elastic Load Balancing (ELB) and HAProxy belong to "Load Balancer / Reverse Proxy" category of the tech stack.

"Easy" is the primary reason why developers consider AWS Elastic Load Balancing (ELB) over the competitors, whereas "Load balancer" was stated as the key factor in picking HAProxy.

9GAG, Quora, and Intuit are some of the popular companies that use AWS Elastic Load Balancing (ELB), whereas HAProxy is used by Instagram, Dropbox, and Twitter. AWS Elastic Load Balancing (ELB) has a broader approval, being mentioned in 723 company stacks & 314 developers stacks; compared to HAProxy, which is listed in 457 company stacks and 211 developer stacks.

Get Advice from developers at your company using Private StackShare. Sign up for Private StackShare.
Learn More
Pros of AWS Elastic Load Balancing (ELB)
Pros of HAProxy
  • 47
    Easy
  • 7
    ASG integration
  • 1
    Coding
  • 1
    Reliability
  • 0
    SSL offloading
  • 130
    Load balancer
  • 100
    High performance
  • 68
    Very fast
  • 56
    Proxying for tcp and http
  • 55
    SSL termination
  • 30
    Open source
  • 27
    Reliable
  • 20
    Free
  • 18
    Well-Documented
  • 12
    Very popular
  • 7
    Suited for very high traffic web sites
  • 7
    Runs health checks on backends
  • 5
    Scalable
  • 4
    Ready to Docker
  • 3
    Powers many world's most visited sites
  • 2
    Work with NTLM
  • 2
    Ssl offloading
  • 2
    Simple

Sign up to add or upvote prosMake informed product decisions

Cons of AWS Elastic Load Balancing (ELB)
Cons of HAProxy
    Be the first to leave a con
    • 3
      Becomes your single point of failure

    Sign up to add or upvote consMake informed product decisions

    What is AWS Elastic Load Balancing (ELB)?

    With Elastic Load Balancing, you can add and remove EC2 instances as your needs change without disrupting the overall flow of information. If one EC2 instance fails, Elastic Load Balancing automatically reroutes the traffic to the remaining running EC2 instances. If the failed EC2 instance is restored, Elastic Load Balancing restores the traffic to that instance. Elastic Load Balancing offers clients a single point of contact, and it can also serve as the first line of defense against attacks on your network. You can offload the work of encryption and decryption to Elastic Load Balancing, so your servers can focus on their main task.

    What is HAProxy?

    HAProxy (High Availability Proxy) is a free, very fast and reliable solution offering high availability, load balancing, and proxying for TCP and HTTP-based applications.

    Need advice about which tool to choose?Ask the StackShare community!

    What companies use AWS Elastic Load Balancing (ELB)?
    What companies use HAProxy?
    See which teams inside your own company are using AWS Elastic Load Balancing (ELB) or HAProxy.
    Sign up for Private StackShareLearn More

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with AWS Elastic Load Balancing (ELB)?
    What tools integrate with HAProxy?

    Sign up to get full access to all the tool integrationsMake informed product decisions

    Blog Posts

    What are some alternatives to AWS Elastic Load Balancing (ELB) and HAProxy?
    Traefik
    A modern HTTP reverse proxy and load balancer that makes deploying microservices easy. Traefik integrates with your existing infrastructure components and configures itself automatically and dynamically.
    Envoy
    Originally built at Lyft, Envoy is a high performance C++ distributed proxy designed for single services and applications, as well as a communication bus and “universal data plane” designed for large microservice “service mesh” architectures.
    DigitalOcean Load Balancer
    Load Balancers are a highly available, fully-managed service that work right out of the box and can be deployed as fast as a Droplet. Load Balancers distribute incoming traffic across your infrastructure to increase your application's availability.
    GLBC
    It is a GCE L7 load balancer controller that manages external loadbalancers configured through the Kubernetes Ingress API.
    F5 BIG-IP
    It ensures that applications are always secure and perform the way they should. You get built-in security, traffic management, and performance application services, whether your applications live in a private data center or in the cloud.
    See all alternatives
    How developers use AWS Elastic Load Balancing (ELB) and HAProxy
    Trello uses
    HAProxy

    We use HAProxy to load balance between our webservers. It balances TCP between the machines round robin and leaves everything else to Node.js, leaving the connections open with a reasonably long time to live to support WebSockets and re-use of a TCP connection for AJAX polling.

    Volkan Özçelik uses
    AWS Elastic Load Balancing (ELB)

    I use an Application Load Balancer to balance the load to the EC2 clusters of nightly.zerotoherojs.com and dojo.zerotoherojs.com.

    Addditionally, ELB protects my cluster against DDOS attacks: So it is multi-birds with one stone.

    The Independent uses
    HAProxy

    HAProxy manages internal and origin load balancing using KeepaliveD. Two small servers host the entire site, never moving about 15% load even during the largest load spikes.

    Equinix-metal uses
    HAProxy

    We use HAProxy to balance traffic at various points in our stack, includgin nginx nodes on different physical machines, and api nodes on the backend.

    ssshake uses
    HAProxy

    I use HAproxy primarily for application routing and SSL termination. I also use its logs and statistics to visualize incoming traffic in Kibana.

    Clarabridge Engage uses
    HAProxy

    We use HAProxy to load balance web requests for our web application, but also for some internal load balancing of microservices.

    Hevelop uses
    AWS Elastic Load Balancing (ELB)

    We're progressively migrating from classic ELB to newer ALB for ssl offloading and NLB for internal load balancing.

    Promethean TV uses
    AWS Elastic Load Balancing (ELB)

    AWS ELB is used to load balance various web and application services across multiple EC2 instances.

    Bùi Thanh uses
    AWS Elastic Load Balancing (ELB)
    • Application type
    • SSL free
    • forwarding by rules.
    • multiple target groups with only one ALB
    Werarewe uses
    AWS Elastic Load Balancing (ELB)

    For balancing the presentation tier, and for SSL offloading (which is great for performance.)