Blog
  • AI Gateway
  • AI Security
  • AIOps
  • API Security
  • API Gateway
|
    • API Management
    • API Development
    • API Design
    • Automation
    • Service Mesh
    • Insomnia
    • View All Blogs
  1. Home
  2. Blog
  3. Engineering
  4. 4 Ways to Deploy Kong Gateway
Engineering
May 23, 2023
4 min read

4 Ways to Deploy Kong Gateway

Taylor Hendricks
Director, Customer & Growth Marketing, Kong
Viktor Gamov

There are many different ways to deploy Kong Gateway. In this post, Viktor Gamov (Principal Developer Advocate at Kong) walks through the four most popular ways.

Depending on your particular use case, you may find that one or more of these is a good fit. Let's get started!

Youtube thumbnail

DB-less mode

Using the DB-less and declarative configuration mode is one of the quickest and easiest ways to get started with Kong Gateway. For this mode, start with a Kong.yml file (which includes declarative configuration for Kong objects like services, plugins, and routes).

We can start Kong by providing this declarative configuration. One note here is that the Kong Admin API will only be available in Read Only mode. But if you want to make any changes to the configuration, you’ll need to submit the file to the /config endpoint with the new configuration.

Because this configuration doesn't rely on pulling data from anywhere or automatic updates, we call this DB-less mode. It's extremely simple and lightweight. If you're running the Kong Ingress Controller, this is a great option because KIC deploys and ships the declarative configuration through this config API.

Traditional mode

If you're looking to scale your deployment and make incremental changes to your configuration, you'll need to use the Kong Admin API.

This requires introducing a database. The Kong Admin API will be available with configurations for services, plugins, and routes. We call this traditional mode.

This can be used with just a single cluster node or with multiple clusters — but all of them will derive their configuration from the database and the configuration established there. You’ll still need a load balancer in front of the database to assist with routing (this can also be Kong), but the configuration will be consistent.

With this deployment mode, you can also use Kong Manager and the Developer Portal with the database. But one caution here: you may run into a challenge where you’re spending a lot of effort maintaining the database, instead of on your applications. In order to optimize performance, Kong supports a cluster of Postgres, integration with read-only replicas, and doesn't call from the database each time.

Hybrid mode

If you’re still looking to solve the challenge of having too many calls from the database, you can deploy Kong in hybrid mode.

With this mode, different Kong nodes take on different Kong roles. This is done by creating a Kong instance that is explicitly serving the role of data plane (there can be multiples) with another instance that manages centralized configuration called the control plane. The data plane (or data planes) serves user traffic and is separated from the control plane.

In this mode, only the control plane talks to the database, and it isn't directly serving user traffic.

Kong Manager and Developer Portal are available in this mode as well and are part of the control plane, working directly with the database. So this deployment mode solves a lot of the scaling challenges you might face in traditional mode.

Kong Konnect

For organizations with many APIs looking to segregate deployment based on environment (for example, different environments for development, QA, regions, etc), the best deployment option is Kong Konnect.

In this deployment mode, we still have our Kong data planes, but the control plane is a cloud-managed control plane. This allows you to segregate and separate different environments using Runtime Manager. Kong Konnect also includes a Service Hub, where you can discover and publish your services — along with Developer Portal as a managed solution.

Kong Konnect also has built-in analytics for observing and monitoring your Kong instances. This allows you to have different Runtime Groups running in different environments (Docker, Kubernetes clusters, VMs, etc). With the managed cloud control plane in Kong Konnect, configuration is centralized and available to submit into different environments. This allows you to support GitOps or APIOps configurations. And with a SaaS control plane, the Kong Konnect team is able to quickly and frequently release new features, updates, and changes.

Get started quickly and easily by downloading Kong Gateway to launch in DB-less, traditional, or hybrid mode — or start a free trial of Kong Konnect to explore the cloud-managed control plane option.

Don’t forget to join the Kong Community to stay up to date on all things Kong — with access to Meetups, user calls, Tech Talks, and more!

Continued Learning & Related Content

  • Guide to Understanding Kubernetes Deployments
  • Scaling Kubernetes Deployments of Kong
  • Scaling Kong Deployments with and without Databases
  • Reducing Deployment Risk: Canary Releases and Blue/Green Deployments with Kong
Kong GatewayDeploymentAPI Management

More on this topic

Videos

BMW’s Decentralized API Gateway at Scale

Videos

From Alert to Action: AI-Driven API Outage Analysis

See Kong in action

Accelerate deployments, reduce vulnerabilities, and gain real-time visibility. 

Get a Demo
Topics
Kong GatewayDeploymentAPI Management
Share on Social
Taylor Hendricks
Director, Customer & Growth Marketing, Kong
Viktor Gamov

Recommended posts

Announcing Standard Webhooks

EngineeringDecember 13, 2023

We're pleased to announce the launch of Standard Webhooks!  Kong has been part of the Technical Committee of this standard with other great companies like Svix (the initiator of the project), Ngrok, Zapier, Twillio, Lob, Mux, and Supabase. This was

Vincent Le Goff

API Composition with StepZen and Kong

EngineeringSeptember 15, 2022

There are many pros and cons for both GraphQL and REST APIs, but one of the areas where GraphQL really shines is API composition. Taking data from multiple APIs and combining them to make something new is a key part of delivering a useful service.

Michael Heap

Deploying a Kong Gateway Data Plane With Pulumi

EngineeringSeptember 30, 2021

Infrastructure as code is a core component of all modern SRE team's day-to-day work. There are plenty of options available, but the one that I'm most excited about is Pulumi . Instead of writing a domain-specific language (DSL) to configure your in

Michael Heap

Deploying With Confidence Using Kong Gateway and Spinnaker

EngineeringApril 29, 2021

Change is the primary cause of service reliability issues for agile engineering teams. In this post, I’ll cover how you can limit the impact of a buggy change, making it past your quality gates with Kong Gateway and Spinnaker for canary deployment.

Ashwin Sadeep

Centralized Kong Management with Active Directory/LDAP

EngineeringApril 24, 2020

Kong Enterprise provides customers with the fastest, most scalable and flexible API management solution in the market. One of Kong's main advantages is the ability to quickly deploy and integrate with a customer's ecosystem of already-deployed solut

Felderi Santiago

A Tour of Kong's Routing Capabilities

Kong Logo
EngineeringJanuary 8, 2019

Routing Tricks and Tips Kong is very easy to get up and running: start an instance, configure a service, configure a route pointing to the service, and off it goes routing requests, applying any plugins you enable along the way. But Kong can do a lo

Kong

Insights from eBay: How API Ecosystems Are Ushering In the Agentic Era

EngineeringDecember 15, 2025

APIs have quietly powered the global shift to an interconnected economy. They’ve served as the data exchange highways behind the seamless experiences we now take for granted — booking a ride, paying a vendor, sending a message, syncing financial rec

Amit Dey

Ready to see Kong in action?

Get a personalized walkthrough of Kong's platform tailored to your architecture, use cases, and scale requirements.

Get a Demo
Powering the API world

Increase developer productivity, security, and performance at scale with the unified platform for API management, AI gateways, service mesh, and ingress controller.

Sign up for Kong newsletter

    • Platform
    • Kong Konnect
    • Kong Gateway
    • Kong AI Gateway
    • Kong Insomnia
    • Developer Portal
    • Gateway Manager
    • Cloud Gateway
    • Get a Demo
    • Explore More
    • Open Banking API Solutions
    • API Governance Solutions
    • Istio API Gateway Integration
    • Kubernetes API Management
    • API Gateway: Build vs Buy
    • Kong vs Postman
    • Kong vs MuleSoft
    • Kong vs Apigee
    • Documentation
    • Kong Konnect Docs
    • Kong Gateway Docs
    • Kong Mesh Docs
    • Kong AI Gateway
    • Kong Insomnia Docs
    • Kong Plugin Hub
    • Open Source
    • Kong Gateway
    • Kuma
    • Insomnia
    • Kong Community
    • Company
    • About Kong
    • Customers
    • Careers
    • Press
    • Events
    • Contact
    • Pricing
  • Terms
  • Privacy
  • Trust and Compliance
  • © Kong Inc. 2026