Skip to content

Latest commit

 

History

History
61 lines (33 loc) · 7.53 KB

File metadata and controls

61 lines (33 loc) · 7.53 KB
description
This article describes Gravitee API Management architecture. Familiarity with the architecture is a prerequisite to installing Gravitee API Management.

APIM Architecture

Introduction

Gravitee offers three different API Management architecture schemes: self-hosted, hybrid, and Gravitee-managed.

Each architecture relies on a specific set of Gravitee components. Some components are common to all architectures while others are architecture-specific. The following table compares the component types and management of self-hosted and hybrid architectures.

ComponentSelf-hostedHybrid
API Management Consoletruetrue
Management APItruetrue
Developer Portaltruetrue
APIM Gatewaytruetrue
Bridge Gatewayfalsetrue
Config Databasetruetrue
Analytics Databasetruetrue
Logstashfalsetrue
Redisfalsetrue
Rate Limits Databasetruefalse
[Enterprise] Gravitee Cockpittruetrue
[Enterprise] API Designertruetrue
[Enterprise] Alert Enginetruetrue

Component Descriptions

Component descriptions for the full catalog of Gravitee architecture components are summarized in the following table:

ComponentDescription
APIM Console
(for API producers)
This web UI gives easy access to some key APIM Management API services. API publishers can use it to publish APIs.
Administrators can also configure global platform settings and specific portal settings.
APIM Management APIThis RESTful API exposes services to manage and configure the APIM Console and APIM Developer Portal web UIs.
All exposed services are restricted by authentication and authorization rules. For more information, see the Management API Reference section.
APIM Developer Portal
(for API consumers)
This web UI gives easy access to some key APIM API services. Allows API Consumers to manage their applications and search for, view, try out, and subscribe to a published API.
APIM GatewayAPIM Gateway is the core component of the APIM platform. You can think of it like a smart reverse proxy.

Unlike a traditional HTTP proxy, APIM Gateway has the capability to apply policies (i.e., rules or logic) to both the request and response phases of an API transaction. With these policies, you can transform, secure, monitor, etc., your APIs.
Bridge GatewayIn a hybrid architecture, a bridge API Gateway exposes extra HTTP services for bridging HTTP calls to the underlying repository (which can be any of our supported repositories: MongoDB, JDBC, etc.)
Config DatabaseDatabase that stores API Management data such as API definitions, users, applications, and plans.
Analytics DatabaseDatabase that stores Gateway events and logs. In a hybrid architecture, the Analytics Database is supplemented by an "S3 Bucket."
LogstashCollects and sends local Gateway logs/metrics to the Gravitee APIM SaaS Control Plane. Exclusive to hybrid architecture and hosted by user on-prem or in a private cloud.
RedisLocal database for rate limit synchronized counters (Rate Limit, Quota, Spike Arrest). (Optional) Acts as an external cache in accordance with the Cache policy. Exclusive to hybrid architecture and hosted by user on-prem or in a private cloud.
[Enterprise]
Gravitee Cockpit
Tool for centralized, multi-environment/organization management of APIM and AM installations.
[Enterprise]
API Designer
Drag-and-drop graphical (MindMap-based) tool to quickly and intuitively design APIs (Swagger/OAS) and deploy mocked APIs for testing.
[Enterprise]
Alert Engine
Provides APIM and AM users with efficient and flexible API platform monitoring. Enables advanced alerting configuration and notifications sent via webhooks or over email, Slack, etc.
Does not require external components or a database; receives events and sends notifications according to conditions pre-configured upstream via triggers.

Self-hosted architecture

Self-hosted architecture refers a scheme where all Gravitee API Management components are hosted by the user on-prem and/or in a private cloud. Gravitee Cockpit and API Designer are optional Gravitee-managed components that can be connected to a self-hosted API Management installation.

The following diagrams illustrate the component management, design, and virtual machine internal/external access deployment of a self-hosted architecture.

Self-hosted component management

Self-hosted architecture diagram

Self-hosted architecture

Self-hosted VM installation: LAN + DMZ deployment

Self-hosted architecture LAN + DMZ

Hybrid architecture

Hybrid architecture refers to a scheme where certain Gravitee API Management components are Gravitee-managed SaaS components while others remain self-hosted by the user on-prem and/or in a private cloud. Gravitee Cockpit and API Designer are optional Gravitee-managed components that can be connected to a hybrid API Management installation.

The following diagrams illustrate the component management, design, and self-hosted-to-SaaS connections of a hybrid architecture.

Hybrid component management

Hybrid architecture diagram

Self-hosted-to-SaaS connections

Hybrid: SaaS to self-hosted connections

Gravitee-managed architecture

Gravitee-managed architecture refers to a scheme where all Gravitee API Management components are Gravitee-managed SaaS components. Gravitee Cockpit and API Designer are optional and can be connected to a Gravitee-managed API Management installation.