Skip to main content
Version: 2.0

KrakenD

KrakenD is Open source API gateway, used for API Gateway . Krakend is a high-performance API gateway that supports a microservices architecture and provides routing, aggregation, authentication and rate limiting.

gui

Prepare

When referring to this document to use KrakenD, please read and ensure the following points:

  • Login to Websoft9 Console and find or install KrakenD:

    • Go to My Apps listing applications
    • Go to App Store installing target application
  • This application is installed by Websoft9 console.

  • The purpose of this application complies with the apache2 open source license agreement.

  • Configure the domain name or server security group opens external network ports for application access.

Getting started

Login verification

  1. Completed installation KrakenD at Websoft9 console, get the applicaiton's overview and access credentials from My Apps

  2. Starting to verify it

Add Upstream API

  1. Arrange the KrakenD application, adding an entry to the endpoints array in src/krakend.json as follows:
{
“endpoint”: “/api/users”,
“method”: “GET”,
“timeout”: “5000ms”,
{
“url_pattern”: “/api/users”,
“host”: [“http://localhost:9000”],
“method”: “GET”
}
]
}
  1. After rebuilding the application, you can access the upstream API via the unified path.

Configuration options

Administer

Troubleshooting