StackShareStackShare
Follow on
StackShare

Discover and share technology stacks from companies around the world.

Follow on

© 2025 StackShare. All rights reserved.

Product

  • Stacks
  • Tools
  • Feed

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  1. Stackups
  2. Application & Data
  3. Infrastructure as a Service
  4. Load Balancer Reverse Proxy
  5. AWS Elastic Load Balancing (ELB) vs Kong

AWS Elastic Load Balancing (ELB) vs Kong

OverviewDecisionsComparisonAlternatives

Overview

AWS Elastic Load Balancing (ELB)
AWS Elastic Load Balancing (ELB)
Stacks12.8K
Followers8.8K
Votes59
Kong
Kong
Stacks671
Followers1.5K
Votes139
GitHub Stars42.1K
Forks5.0K

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

Introduction

In this article, we will compare the key differences between AWS Elastic Load Balancing (ELB) and Kong. Both ELB and Kong are popular tools for load balancing in web applications. However, they have distinct features and capabilities that set them apart from each other.

  1. Scalability and Flexibility: AWS Elastic Load Balancing (ELB) is a managed load balancing service provided by Amazon Web Services (AWS). It offers high scalability and flexibility as it automatically scales according to the incoming traffic load. In contrast, Kong is an open-source API gateway that provides load balancing along with other functionalities such as authentication, rate limiting, and logging. Kong can be deployed in various environments, giving users more choice and flexibility in the setup.

  2. Integration with AWS services: ELB is tightly integrated with AWS services and cloud infrastructure. It seamlessly works with different AWS resources like EC2 instances, Auto Scaling groups, and CloudFormation templates. ELB also supports integration with other AWS services like AWS Certificate Manager (ACM) for SSL/TLS certificates and AWS CloudTrail for logging and auditing. On the other hand, Kong is a more standalone solution that can be deployed on any infrastructure. It can integrate with various databases, message queues, and other third-party services.

  3. Granular Control and Customization: ELB provides a set of predefined load balancing algorithms, including round-robin, least connections, and IP hash. It automatically distributes incoming traffic to multiple instances based on these algorithms. However, ELB has limited customization options compared to Kong. Kong allows users to define their own load balancing algorithms and also provides advanced routing capabilities like path-based and header-based routing. This makes Kong more flexible and suitable for complex routing scenarios.

  4. Monitoring and Metrics: AWS ELB provides built-in monitoring and metrics through AWS CloudWatch. It offers metrics like request count, latency, and backend connection errors. ELB also supports integration with AWS X-Ray for distributed tracing and analysis. In contrast, Kong does not provide built-in monitoring and metrics out of the box. Users need to set up additional tools like Prometheus or Grafana to collect and analyze metrics from Kong.

  5. Service Discovery and Load Balancer Configuration: ELB supports automatic service discovery for EC2 instances within a VPC. It can dynamically register and deregister instances based on their health status. ELB automatically handles load balancer configuration and scaling. Kong, on the other hand, requires manual configuration and management of the load balancer. Users need to define the upstream services and their endpoints manually in Kong's configuration.

  6. Pricing and Cost: AWS ELB pricing is based on the usage and type of load balancer (Classic, Application, or Network). It has different pricing tiers for data transfer, requests, and load balancer capacity. Kong, being an open-source tool, does not have any direct licensing or usage costs. However, users need to consider the infrastructure and maintenance costs for hosting Kong and any associated services like databases or message queues.

In Summary, AWS Elastic Load Balancing (ELB) is a managed load balancing service offered by AWS, tightly integrated with other AWS services, providing high scalability and automation. Kong, an open-source API gateway, offers more customization options, flexibility in deployment, and better control over load balancing algorithms and routing.

Share your Stack

Help developers discover the tools you use. Get visibility for your team's tech choices and contribute to the community's knowledge.

View Docs
CLI (Node.js)
or
Manual

Advice on AWS Elastic Load Balancing (ELB), Kong

Prateek
Prateek

Fullstack Engineer| Ruby | React JS | gRPC at Ex Bookmyshow | Furlenco | Shopmatic

Mar 14, 2020

Decided

Istio based on powerful Envoy whereas Kong based on Nginx. Istio is K8S native as well it's actively developed when k8s was successfully accepted with production-ready apps whereas Kong slowly migrated to start leveraging K8s. Istio has an inbuilt turn-keyIstio based on powerful Envoy whereas Kong based on Nginx. Istio is K8S native as well it's actively developed when k8s was successfully accepted with production-ready apps whereas Kong slowly migrated to start leveraging K8s. Istio has an inbuilt turn key solution with Rancher whereas Kong completely lacks here. Traffic distribution in Istio can be done via canary, a/b, shadowing, HTTP headers, ACL, whitelist whereas in Kong it's limited to canary, ACL, blue-green, proxy caching. Istio has amazing community support which is visible via Github stars or releases when comparing both.

322k views322k
Comments

Detailed Comparison

AWS Elastic Load Balancing (ELB)
AWS Elastic Load Balancing (ELB)
Kong
Kong

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.

Kong is a scalable, open source API Layer (also known as an API Gateway, or API Middleware). Kong controls layer 4 and 7 traffic and is extended through Plugins, which provide extra functionality and services beyond the core platform.

Distribution of requests to Amazon EC2 instances (servers) in multiple Availability Zones so that the risk of overloading one single instance is minimized. And if an entire Availability Zone goes offline, Elastic Load Balancing routes traffic to instances in other Availability Zones.;Continuous monitoring of the health of Amazon EC2 instances registered with the load balancer so that requests are sent only to the healthy instances. If an instance becomes unhealthy, Elastic Load Balancing stops sending traffic to that instance and spreads the load across the remaining healthy instances.;Support for end-to-end traffic encryption on those networks that use secure (HTTPS/SSL) connections.;The ability to take over the encryption and decryption work from the Amazon EC2 instances, and manage it centrally on the load balancer.;Support for the sticky session feature, which is the ability to "stick" user sessions to specific Amazon EC2 instances.;Association of the load balancer with your domain name. Because the load balancer is the only computer that is exposed to the Internet, you don’t have to create and manage public domain names for the instances that the load balancer manages. You can point the instance's domain records at the load balancer instead and scale as needed (either adding or removing capacity) without having to update the records with each scaling activity.;When used in an Amazon Virtual Private Cloud (Amazon VPC), support for creation and management of security groups associated with your load balancer to provide additional networking and security options.;Supports use of both the Internet Protocol version 4 (IPv4) and Internet Protocol version 6 (IPv6).
Logging: Log requests and responses to your system over TCP, UDP or to disk; OAuth2.0: Add easily an OAuth2.0 authentication to your APIs; Monitoring: Live monitoring provides key load and performance server metrics; IP-restriction: Whitelist or blacklist IPs that can make requests; Authentication: Manage consumer credentials query string and header tokens; Rate-limiting: Block and throttle requests based on IP or authentication; Transformations: Add, remove or manipulate HTTP params and headers on-the-fly; CORS: Enable cross-origin requests to your APIs that would otherwise be blocked; Anything: Need custom functionality? Extend Kong with your own Lua plugins;
Statistics
GitHub Stars
-
GitHub Stars
42.1K
GitHub Forks
-
GitHub Forks
5.0K
Stacks
12.8K
Stacks
671
Followers
8.8K
Followers
1.5K
Votes
59
Votes
139
Pros & Cons
Pros
  • 48
    Easy
  • 8
    ASG integration
  • 2
    Reliability
  • 1
    Coding
  • 0
    SSL offloading
Pros
  • 37
    Easy to maintain
  • 32
    Easy to install
  • 26
    Flexible
  • 21
    Great performance
  • 7
    Api blueprint
Integrations
Amazon EC2
Amazon EC2
Cassandra
Cassandra
Docker
Docker
Prometheus
Prometheus
Kubernetes
Kubernetes
PostgreSQL
PostgreSQL
NGINX
NGINX
Vagrant
Vagrant

What are some alternatives to AWS Elastic Load Balancing (ELB), Kong?

HAProxy

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.

Traefik

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.

Amazon API Gateway

Amazon API Gateway

Amazon API Gateway handles all the tasks involved in accepting and processing up to hundreds of thousands of concurrent API calls, including traffic management, authorization and access control, monitoring, and API version management.

Tyk Cloud

Tyk Cloud

Tyk is a leading Open Source API Gateway and Management Platform, featuring an API gateway, analytics, developer portal and dashboard. We power billions of transactions for thousands of innovative organisations.

Fly

Fly

Deploy apps through our global load balancer with minimal shenanigans. All Fly-enabled applications get free SSL certificates, accept traffic through our global network of datacenters, and encrypt all traffic from visitors through to application servers.

Envoy

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.

Moesif

Moesif

Build a winning API platform with instant, meaningful visibility into API usage and customer adoption

Hipache

Hipache

Hipache is a distributed proxy designed to route high volumes of http and websocket traffic to unusually large numbers of virtual hosts, in a highly dynamic topology where backends are added and removed several times per second. It is particularly well-suited for PaaS (platform-as-a-service) and other environments that are both business-critical and multi-tenant.

Ambassador

Ambassador

Map services to arbitrary URLs in a single, declarative YAML file. Configure routes with CORS support, circuit breakers, timeouts, and more. Replace your Kubernetes ingress controller. Route gRPC, WebSockets, or HTTP.

node-http-proxy

node-http-proxy

node-http-proxy is an HTTP programmable proxying library that supports websockets. It is suitable for implementing components such as proxies and load balancers.

Related Comparisons

GitHub
Bitbucket

Bitbucket vs GitHub vs GitLab

GitHub
Bitbucket

AWS CodeCommit vs Bitbucket vs GitHub

Kubernetes
Rancher

Docker Swarm vs Kubernetes vs Rancher

Postman
Swagger UI

Postman vs Swagger UI

gulp
Grunt

Grunt vs Webpack vs gulp