Kong

Open-Source API Management and Microservice Management
Secure, Manage & Extend your APIs or Microservices with plugins for authentication, logging, rate-limiting, transformations and more.

Install kong, I am using rpm to install kong gateway

wget https://bintray.com/kong/kong-rpm/download_file?file_path=centos/7/kong-2.2.1.el7.amd64.rpm
sudo yum install /opt/kong/kong-2.2.1.el7.amd64.rpm --nogpgcheck

Assume you have postgresql installed, then we need to config kong use postgresql

vi /etc/kong/kong.config
database = postgres             # Determines which of PostgreSQL or Cassandra
                                # this node will use as its datastore.
                                # Accepted values are `postgres`,
                                # `cassandra`, and `off`.

pg_host = 127.0.0.1             # Host of the Postgres server.
pg_port = 5432                  # Port of the Postgres server.
#pg_timeout = 5000              # Defines the timeout (in ms), for connecting,
                                # reading and writing.

pg_user = kong                  # Postgres user.
pg_password = 123456            # Postgres user's password.
pg_database = kong              # The database name to connect to.

Run in postgresql to create kong management database

CREATE USER kong;CREATE DATABASE kong OWNER kong;

Run migration database with kong

kong migrations bootstrap -c /etc/kong/kong.conf

Make your kong remote accessable

vi /etc/kong/kong.config
admin_listen = 0.0.0.0:8001

Now run kong:

kong start /etc/kong/kong.conf

Test kong admin

curl http://192.168.126.153:8001/

Now you may want:

Expose your Services with Kong Gateway
To be providing you always have another option