Ana içeriğe geç

Installations Overview

Apinizer can be installed in three different runtime environments: Kubernetes, Docker and Linux / VM. Each method has different operational cost and target audience. See the Method Selection tab below for a detailed comparison.

uyarı

Apinizer does not recommend single-server installation for production environments. Consider such a configuration only for PoC environments.

Two ways to run Apinizer: container or standalone.

Run every Apinizer component on your own Kubernetes cluster or Docker host via the official apinizercloud images, or on bare-metal Linux via signed tarball installers. Same builds, same versions, your infrastructure.

On the container side, Kubernetes is the choice for production, HA, and auto-scaling; Docker suits mid-scale deployments and quick PoCs. On the standalone side, Virtual Server installation fits regulated environments (banking, government), air-gapped networks, and scenarios that require a bundled JDK. Pick the right method by going through the decision matrix below.

Quick Decision Matrix

ScenarioRecommended Method
Kubernetes cluster ready, production, HA + auto-scalingKubernetes
One/few servers, container experience available, quick PoCDocker
Regulated environment (bank/government), K8s/Docker banned or restrictedLinux / VM
Offline (air-gapped) installationLinux / VM (offline install)
5+ Workers, distributed quota / circuit breakerKubernetes or Linux / VM multi-node (Cache cluster)
Developer machine, ephemeral test environmentDocker (docker-compose)

Method Comparison

CriterionKubernetesDockerLinux / VM
Operational complexityHighMediumLow
Learning curveSteepMediumFlat
High availability (HA)Built-inCompose / SwarmManual multi-node
Auto-scalingHPA / VPANoneNone
Zero-downtime upgradeRolling updateReplica-by-replica rotationManual + LB
Bundled JDKNo (JRE inside image)No (JRE inside image)Yes (Temurin 25 packaged)
Air-gapped supportHelm + private registryPrivate registryNative (offline tarball)
Native cert requirementsTLS Ingress / cert-managerReverse proxy / self-terminateReverse proxy / self-terminate
Encrypted configurationK8s SecretDocker Secret / envJasypt master key + ENC(...)
Hardware requirement (prod)3+ node cluster, 8+ vCPU/node1-3 hosts, 4+ vCPU/host1-3 hosts, 4+ vCPU/host
Cloud provider integrationEKS / AKS / GKE / OpenShiftOn cloud VMsOn cloud VMs

When Not to Choose

Do not choose Kubernetes if

  • You are setting up a single-server PoC — K8s overhead is disproportionate at that scale.
  • Your team has no Kubernetes experience and no time to learn it.
  • A regulated environment forbids Kubernetes (some banking/government environments).

Do not choose Docker if

  • You will run 5+ Worker replicas in production — managing the Hazelcast cluster becomes heavy in Compose.
  • You need automatic failover (Docker alone does not provide HA orchestration).
  • Container runtimes are banned by corporate policy.

Do not choose Linux / VM if

  • You want multi-node dynamic scaling — adding/removing nodes by hand is friction-heavy.
  • The container ecosystem (CI/CD image registry, scan pipeline) is already established — VM integration is extra work.

Shared Prerequisite — MongoDB

uyarı

MongoDB installation is mandatory — you must have a running MongoDB instance before bringing up Apinizer. Manager metadata, deployed proxy snapshots, Integration scheduler queue, and audit records all live on MongoDB. This dependency does not change whichever runtime (Kubernetes, Docker, or Virtual Server) you pick.

A replica set is recommended for production; a single node is only suitable for PoC / development. For installation steps → continue at MongoDB Installation.