Back to services

Kong

Microservice API Gateway and Platform.

View alternatives to Kong
Suggest edit
Open source
Self-hostable
Apache-2.0
Recent reviews

Alternatives

Tech stack

No tech stack added yet. Sign in to suggest some

Overview

Kong Gateway is an API gateway developed by Kong Inc., which officially describes it as "the most widely adopted open-source API gateway." It is built on the NGINX engine, with a small footprint and strong extensibility. According to official figures, a single node can handle more than 50,000 transactions per second. Kong is designed for microservices and distributed architectures, and can run in hybrid-cloud and multi-cloud environments. Service traffic can be routed, secured, transformed and monitored through it in one place.

Kong has since grown into a platform for API and AI connectivity, and also offers products such as AI Gateway, Event Gateway (for Kafka), Kong Mesh (a service mesh based on the open-source project Kuma), a developer portal and the API client Insomnia. The API gateway remains at the core.

Key Features

  • High-performance proxy: Proxies API traffic on top of NGINX with low resource usage, and scales horizontally.
  • Plugin system: Ships with plugins for security, authentication, traffic control, data transformation and analytics, and you can also write custom plugins with the Plugin Development Kit (PDK). The execution order of plugins can be adjusted through declarative configuration.
  • Declarative configuration and APIOps: The gateway can be managed through the Admin API, a web UI or declarative configuration files. Configuration can be added to CI/CD pipelines and automated in a DevOps / GitOps fashion.
  • Kubernetes-native: With Kong Ingress Controller, you can configure the gateway the Kubernetes-native way, and handle traffic management, request transformation and observability in the cluster, without interrupting service when making changes.
  • Multi-protocol support: Plugins support protocols such as REST, gRPC, GraphQL, WebSocket, UDP, SOAP and Kafka.
  • Authentication and authorization: Supports common authentication methods such as Basic Auth, HMAC, JWT and Key Auth, as well as access controls such as ACL, CORS and bot detection.
  • Flexible policy orchestration: You can design fine-grained policy flows for scenarios such as internal authentication, API aggregation and data transformation.

Editions and Product Forms

Kong Gateway comes in three forms:

  • Open-source edition: Self-deployable, with core proxy functionality and basic plugins.
  • Kong Enterprise: Adds the following on top of the open-source edition:
    • Advanced authentication, such as full OAuth 2.0, OpenID Connect, mTLS and SAML 2.0
    • Advanced rate limiting
    • OPA-based authorization
    • RBAC
    • Audit logs
    • Integration with secrets management tools such as HashiCorp Vault
    • A FIPS 140-2 compliant data plane
    • 24/7 enterprise support
  • Kong Konnect: Kong's SaaS platform, where the control plane and database are hosted by Kong. It comes with a developer portal, service catalog, API analytics and more, and offers a 99.9% availability SLA.

Deployment Options

Kong Gateway can be deployed on on-premises servers, in public clouds, on Kubernetes and in serverless environments, with the following modes:

  • Database mode: Configuration is stored in a database, usually PostgreSQL.
  • DB-less mode: Driven entirely by declarative configuration files.
  • Hybrid mode: The control plane and data plane are deployed separately.
  • Cloud-hosted mode: The control plane is hosted on Kong Konnect.

Official installation methods are provided for Docker, Kubernetes (Helm / Kong Operator) and various Linux distributions. For detailed steps, see the official documentation: developer.konghq.com/gateway.

Who It's For

  • Platform engineering and DevOps teams that need to manage a large number of microservice APIs in one place
  • Teams that run their workloads on Kubernetes and need Ingress and API management capabilities
  • Enterprises that need API security, governance and compliance, such as those in finance, healthcare and retail
  • Teams that want to replace commercial solutions such as Apigee, AWS API Gateway and MuleSoft with an open-source, self-hosted gateway

Key Strengths

  • The core gateway is open source, with its source code hosted on GitHub (github.com/kong/kong), an active community and a rich plugin ecosystem.
  • High performance and a small resource footprint, suitable for both large-scale and small-scale scenarios.
  • Deployment is not tied to any particular environment, with support for hybrid-cloud and multi-cloud setups.
  • Declarative configuration makes automation and versioned management easy.
  • Named a Leader in the Gartner Magic Quadrant for Full Life Cycle API Management for several years in a row.

Things to Note

The focus of the official website is gradually shifting toward the AI gateway and the Konnect platform. Many advanced features are available only in the Enterprise edition or Konnect and are not included in the open-source edition. When choosing a product, first check which edition a given feature belongs to.