This guide explains how to install and configure the Scheer PAS API Management.

Overview on the Docker Setup of API Management

Have a look at the figure below to get a technical overview on the Docker setup of Scheer PAS API Management.

Overview on the Installation Containers

Container NameDescriptionDefault port
api-mgmt/gatewayThis container contains the engine of API Management. It handles all incoming client requests, applies the policies and forwards the requests to the API endpoint. The gateway is powered by Eclipse Vert.x which can handle a lot of concurrency using a small number of kernel threads. Vert.x lets your app scale with minimal hardware.8444
api-mgmt/uiThis container provides the UI to manage all your APIs and gateways. It also allows you to view corresponding metrics. The UI is powered by Apache Tomcat.8443
api-mgmt/keycloakThis container contains the authentication provider Keycloak. Keycloak is used to authenticate users of the API Management UI and users of the Keycloak OAuth policy. Keycloak runs on JBoss WildFly.8445
api-mgmt/devportalThis container contains the Developer Portal. Using the Developer Portal, you can give clients a consolidated access to the APIs they need in a separate view.
It uses Keycloak to authenticate users, and accesses Elasticsearch via the API Management UI container.
8447
elasticseachThis container contains an official version of Elasticsearch. API Management stores all metrics information and configuration in Elasticsearch.
mysqlThis container contains an official version of MySQL. Keycloak uses MySQL to store users and configurations.
kibanaThis container contains an official version of Kibana. Kibana can be used to create advanced and detailed analyses on API Management Metrics
keycloak-gatekeeperThis container contains an official version of Keycloak Gatekeeper. API Management uses this container to provide a proxy server in front of Kibana. This way, Kibana access can be granted or restricted for API Management users.8446

System Requirements

For Scheer PAS API Management, you have to consider that there are several components running on the same host (see Overview on the Installation Containers above). For a lean setup, you should have at least 8 GB of memory available on your API Management host.

Consider around...

  • 2 GB for Tomcat
  • 1 GB for the Gateway
  • 2 GB for Keycloak and MySQL
  • 2 GB for Elasticsearch

2 GB for Elasticsearch is the default value. Please refer to the official Elasticsearch documentation for more information on memory usage and how to determine the needs for your setup (see Install Elasticsearch with Docker > Notes for production use and defaults and Setting the heap size).


You do not need to edit the docker-compose.yml to adjust this as we provide a variable in the .env file to configure this (see Installing API Management > Configure the Installation Settings).

Prerequisites

Please consider the following prerequisites regarding Scheer PAS API Management.

Overview on the Installation Process

To install the Scheer PAS API Management, you need to got through the following steps:

  1. Download and Extract the Software
  2. Configure the Installation Settings
    Configure the installation settings in the DockerĀ configuration file.
  3. Prepare the Certificate
  4. Configure the Authentication Service (Keycloak)

    Before you can start API Management, you need to change some of the Keycloak settings in the Docker configuration file.
  5. Start All Services
    To start API Management, start all Docker containers.
  6. Login to API Management
    Finally you can log in to API Management and test the connections.