Start by downloading the following package specifically built for the Amazon Linux AMI:
After downloading the package, execute:
$ sudo yum install epel-release $ sudo yum install kong-community-edition-0.11.0.aws.rpm --nogpgcheck
Prepare your database
If you are using Postgres, please provision a database and a user before starting Kong, i.e.:
CREATE USER kong; CREATE DATABASE kong OWNER kong;
Now, run the Kong migrations:
$ kong migrations up [-c /path/to/kong.conf]
Note: migrations should never be run concurrently; only one Kong nodes should be performing migrations at a time.
$ kong start [-c /path/to/kong.conf]
Kong is running:
$ curl -i http://localhost:8001/
Quickly learn how to use Kong with the 5-minute Quickstart.