You are browsing documentation for an outdated version.
See the latest documentation here.
Install Kong Gateway on Ubuntu
The Kong Gateway software is governed by the
Kong Software License Agreement.
Kong is licensed under an
Apache 2.0 license.
This page guides you through installing Kong Gateway in traditional mode, where it acts as both the control plane and data plane. Running in this mode may have a small performance impact.
We recommend using Konnect as your control plane to allow your data plane to run at maximum performance and decrease your deployment complexity.
Once you have everything you need, choose an installation path:
Note: In July of 2023, Kong announced that package hosting was shifting from https://download.konghq.com to https://packages.konghq.com. Read more about it in this blog post!
The quickest way to get started with Kong Gateway is using the install script:
This script detects your operating system and automatically installs the correct package.
It also installs a PostgreSQL database and bootstraps Kong Gateway for you.
If you’d prefer to install just the Kong Gateway package, see the Package Install section.
Once the script completes, run the following in the same terminal window:
curl -i http://localhost:8001
You should receive a
200 status code.
Once Kong Gateway is running, you may want to do the following:
You can install Kong Gateway by downloading an installation package or using the APT repository.
We currently package Kong Gateway for Ubuntu Bionic, Focal, and Jammy. If you are using a different release, replace
$(lsb_release -sc) or the release name in the commands below. To check your release name, run
The following steps install the package only, without a data store.
You will need to set one up after installation.
Before starting Kong Gateway, set up a data store
and update the
kong.conf.default configuration property file with a reference to your data store.
Depending on your desired environment, also see the following guides:
You can also check out Kong Gateway’s series of
Getting Started guides to learn how
get the most out of Kong Gateway.