Amazon Linux and Kong

Install and use Kong with AWS Linux.

AWS Linux and Kong installation documentation


I have been breaking my head for the past one week , to make Kong run with MySQL. These are the steps that I followed to install Kong in Amazon Linux AMI.

  1. In our sand box environment, I have created a folder named Kong and copied (downloaded from internet - Package for Linux AMI).
  2. Executed the below commands as mentioned in the documentation.
    $ sudo yum install epel-release

$ sudo yum install --nogpgcheck

  1. Added the below lines to kong.conf.default and made a copy (kong.conf) with $ cp /etc/kong/kong.conf.default /etc/kong/kong.conf command.

mysql_host = # The MySQL host to connect to.

mysql_port = 3306 # The port to connect to.

mysql_database = kong # The database name to connect to.

mysql_user = kong # The username to authenticate if required.

mysql_password = kong #The password to authenticate if required.

  1. kong start (Started kong).

It throws the below error.

Our Linux version is as shown below.
$ cat /etc/os-release
NAME=“Amazon Linux AMI”
ID_LIKE=“rhel fedora”
PRETTY_NAME=“Amazon Linux AMI 2018.03”

Request experts to help me resolve the issue.

MySQL is not a supported datastore - you must choose either Postgres or Cassandra.

Is kong Only support this two types of database or there is any other structured database its support like Oracle /SQL…

Also Can I use aws RDS instance of (PostgreSQL) for POC set-up?

Baharul Islam

Yes, Kong is compatible with RDS PostgreSQL.