Skip to main content

Version: 3.9.x

Prepare for High Availability

This document describes recommended options for configuring high availability (HA).

Get Installation Packages

Please contact API7 experts to get proper installation packages for you.

Prepare the Host Machines

To deploy an API7 Enterprise high availability architecture, a minimum of 4 host machines is required (2 for control plane high availability, and 2 for data plane high availability).

Please note that while database high availability is an important aspect to consider, it is not covered in the documentation. It is advisable to separately address this crucial aspect to ensure the resilience and fault tolerance of your data storage system. For details about how to configure high availability for PostgreSQL, see PostgreSQL documentation.

Prometheus is indeed an optional component, and it is utilized only when you wish to leverage the embedded monitoring feature of API7 Enterprise. For details about how to configure high availability for Prometheus, see Prometheus documentation.

In practical scenarios, the high availability architecture may vary depending on specific cases. Please contact API7 experts, who will be delighted to customize a solution tailored to your needs.

Minimum Hardware Requirements

HostProcessorCPURAMFree Disk SpaceDeployed Components
CP Host1x86_642 Cores4G80 GBAPI7 Dashboard, DP Manager
CP Host2x86_642 Cores4G80 GBAPI7 Dashboard, DP Manager
DP Host3x86_642 Cores4G80 GBAPI7 Gateway
DP Host4x86_642 Cores4G80 GBAPI7 Gateway

Minimum Software Requirements

For each host, the following requirements must be met:

  • Operating system: It is recommended to use Linux CentOS 7.6 or higher versions. It is known that Linux CentOS 7.2 or previous versions are incompatible.
  • Docker: It is recommended to use 3.10.0-927 or higher versions. It is known that 3.10.0-327 or previous versions are incompatible.

Security

Because each component requires network exposure, ensure that SELinux policies and firewall rules are properly configured on the corresponding hosts.

ComponentDefault Port(s)Description
API7 Gateway9080Listens for inbound HTTP traffic
API7 Gateway9443Listens for inbound HTTPS traffic
API7 Dashboard7080Provides a web-based administrative interface
DP Manager7900Manages data plane nodes, applies configuration updates, performs heartbeat checks, and reports metrics to Prometheus
Prometheus9090Collects and exposes API7 metrics
DatabaseVariesStores configuration data. Supported databases include PostgreSQL (15–18, port 5432), MySQL 5.7 (port 3306), Microsoft SQL Server 2022 (port 1433), and OceanBase 4.2.2 (port 2881).
API7.ai Logo

The digital world is connected by APIs,
API7.ai exists to make APIs more efficient, reliable, and secure.

Sign up for API7 newsletter

Product

API7 Gateway

SOC2 Type IIISO 27001HIPAAGDPRRed Herring

Copyright © APISEVEN PTE. LTD 2019 – 2026. Apache, Apache APISIX, APISIX, and associated open source project names are trademarks of the Apache Software Foundation