• The API Platform for AI.

      Explore More
      Platform Runtimes
      Kong Gateway
      • Kong Cloud Gateways
      • Kong Ingress Controller
      • Kong Operator
      • Kong Gateway Plugins
      Kong AI Gateway
      Kong Event Gateway
      Kong Mesh
      Platform Core Services
      • Gateway Manager
      • Mesh Manager
      • Service Catalog
      Platform Applications
      • Developer Portal
      • API and AI Analytics
      • API Products
      Development Tools
      Kong Insomnia
      • API Design
      • API Testing and Debugging
      Self-Hosted API Management
      Kong Gateway Enterprise
      Kong Open Source Projects
      • Kong Gateway OSS
      • Kuma
      • Kong Insomnia OSS
      • Kong Community
      Get Started
      • Sign Up for Kong Konnect
      • Documentation
    • Featured
      Open Banking SolutionsMobile Application API DevelopmentBuild a Developer PlatformAPI SecurityAPI GovernanceKafka Event StreamingAI GovernanceAPI Productization
      Industry
      Financial ServicesHealthcareHigher EducationInsuranceManufacturingRetailSoftware & TechnologyTransportation
      Use Case
      API Gateway for IstioBuild on KubernetesDecentralized Load BalancingMonolith to MicroservicesObservabilityPower OpenAI ApplicationsService Mesh ConnectivityZero Trust SecuritySee all Solutions
      Demo

      Learn how to innovate faster while maintaining the highest security standards and customer trust

      Register Now
  • Customers
    • Documentation
      Kong KonnectKong GatewayKong MeshKong AI GatewayKong InsomniaPlugin Hub
      Explore
      BlogLearning CentereBooksReportsDemosCase StudiesVideos
      Events
      API SummitWebinarsUser CallsWorkshopsMeetupsSee All Events
      For Developers
      Get StartedCommunityCertificationTraining
    • Company
      About UsWhy Kong?CareersPress RoomInvestorsContact Us
      Partner
      Kong Partner Program
      Security
      Trust and Compliance
      Support
      Enterprise Support PortalProfessional ServicesDocumentation
      Press Release

      Kong Expands with New Headquarters in Downtown San Francisco

      Read More
  • Pricing
  • Login
  • Get a Demo
  • Start for Free
Blog
  • Engineering
  • Enterprise
  • Learning Center
  • Kong News
  • Product Releases
    • API Gateway
    • Service Mesh
    • Insomnia
    • Kubernetes
    • API Security
    • AI Gateway
  • Home
  • Blog
  • Engineering
  • 4 Ways to Deploy Kong Gateway
Engineering
May 23, 2023
4 min read

4 Ways to Deploy Kong Gateway

Taylor Page
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
Topics:Kong Gateway
|
Deployment
|
API Management
Powering the API world

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

Sign up for Kong newsletter

Platform
Kong KonnectKong GatewayKong AI GatewayKong InsomniaDeveloper PortalGateway ManagerCloud GatewayGet a Demo
Explore More
Open Banking API SolutionsAPI Governance SolutionsIstio API Gateway IntegrationKubernetes API ManagementAPI Gateway: Build vs BuyKong vs PostmanKong vs MuleSoftKong vs Apigee
Documentation
Kong Konnect DocsKong Gateway DocsKong Mesh DocsKong AI GatewayKong Insomnia DocsKong Plugin Hub
Open Source
Kong GatewayKumaInsomniaKong Community
Company
About KongCustomersCareersPressEventsContactPricing
  • Terms•
  • Privacy•
  • Trust and Compliance
  • © Kong Inc. 2025