WSO2 API Manager on Docker vs Kubernetes vs VMs

Choosing where to run WSO2 API Manager sets your upgrade path, your high availability design and the skills you must hire or keep. This page compares Docker, Kubernetes and virtual machines using only the deployment paths WSO2 documents, and names what to confirm with WSO2 before you commit.

On this page

Which WSO2 API Manager deployment options fit your team

Choose virtual machines from the extracted packages if your team already runs a VM fleet and a patching process it trusts, because WSO2 API Manager then fits into the hosts, change windows and backup jobs you already operate. Choose Kubernetes through the separate WSO2 API Platform for Kubernetes if your team already operates clusters, since that product has its own deployment path. Treat Docker as unconfirmed for production until WSO2 confirms it in writing for your version, topology and gateway role. WSO2 names extracted packages, managed cloud and the Kubernetes platform as its supported routes, and a container image you build yourself is not on that list.

The VM path suits teams whose hosts already follow a patch schedule and who can keep gateway, traffic manager and control-plane nodes on the same cadence. Its cost is ownership: you patch the operating system, manage the JDK and design the node layout yourself. The Kubernetes path suits teams that already have GitOps, ingress, secret management and autoscaling, because those tools become your upgrade and rollback mechanism. Its cost is a second release line to track. Confirm which platform version pairs with API Manager 4.7.0, and get the upgrade order in writing before the first production rollout. Under either path, a WSO2 commercial subscription supplies continuous product updates and vulnerability monitoring. Without one, those tasks fall to your team.

Managed or hybrid operation is a decision of its own, and it should be made before you staff a VM or cluster build. WSO2 describes three shapes: self-hosted, hybrid with a SaaS control plane and on-premises gateways, and fully managed SaaS with a 99.95% SLA. If the hard part for your team is running the control plane, compare those shapes with the self-hosted options. For hybrid, ask WSO2 which data, logs and metadata leave your network. Before you choose, write down who patches the hosts, who runs upgrades and who gets paged when a gateway fails. Those answers should decide the path more than the feature list does.

How WSO2 API Manager on Kubernetes differs from VM installs

This table compares the two documented self-hosted paths for WSO2 API Manager: VM installs from extracted packages (option A) and Kubernetes through the WSO2 API Platform for Kubernetes (option B). Use each row to scope questions for WSO2 and your own platform team, because this page does not give sizing, topology or upgrade steps for either path. The main takeaway is that option B moves cluster operations onto your team, while option A keeps the work on servers and virtual machines you manage.

FactorOption A: VM installOption B: Kubernetes
Install sourceExtracted packages from WSO2, installed onto hosts you manageWSO2 API Platform for Kubernetes, a separate WSO2 offering deployed onto a cluster you run
PackagingExtracted distribution files configured on each hostKubernetes deployment artifacts from the separate platform; confirm format and version pinning with WSO2
High availability designNode layout and load balancing set by your team; confirm the supported topology with WSO2Restarts and scheduling handled by the cluster; confirm which components WSO2 expects to run as replicas
Upgrade methodReplace packages host by host; confirm the order and rollback steps for your release with WSO2Roll new versions through the platform deployment; confirm upgrade order and rollback steps with WSO2
Backup approachBack up install, configuration and database on each host; confirm the full list with WSO2Back up the database and any persistent volumes or configuration held in the cluster; confirm scope with WSO2
MonitoringHost metrics and product logs routed into your existing tooling; confirm metrics endpoints for your versionCluster and pod telemetry added to product monitoring; confirm what the platform exposes by default
Skills requiredLinux server administration, database operations and change control for each hostKubernetes operations, container image management and cluster upgrades alongside API Manager administration
Cost driversCommercial subscription terms, host count and staff time spent patching each host; ask WSO2 how subscriptions are pricedCommercial subscription terms, cluster capacity and platform team hours; ask WSO2 whether the platform is covered by your subscription

What each WSO2 API Manager deployment option runs on

Each WSO2 API Manager option places the same components in different hands. The product repository describes an API control plane, a gateway for routing, mediation and security, a traffic manager for throttling, and Publisher and Developer Portal web interfaces, so the question for each card is who runs each one.

Docker containers on one host

Containers on a single host or in a container runtime suit a pilot or a single-site footprint, and your team runs every component itself: the control plane, the gateway, the traffic manager, and the Publisher and Developer Portal interfaces. WSO2's repository does not document a Docker-specific production path, so confirm with WSO2 which images are supported for production, what the support terms cover, and how upgrades and backups are handled. Your team owns image builds, patching and restart behavior.

Kubernetes through the API Platform

Kubernetes deployments use the separate WSO2 API Platform for Kubernetes, which is its own product with its own install path. Confirm which API Manager components it deploys, including the control plane, gateway, traffic manager and Publisher and Developer Portal interfaces, and who operates each. WSO2 states the API Platform components are Apache-2.0 except the Monetization module, so check whether that module is in your install. Your platform team owns the cluster, ingress, secrets and node capacity.

VMs from extracted packages

On-premises VMs run WSO2 API Manager from extracted packages, the path that fits a change-controlled server estate. Your team installs and configures the control plane, gateway, traffic manager and both web interfaces on each host, and carries out every upgrade on each host yourself. Every component is a host you patch, back up and monitor. The repository notes that building 4.7.0 from source requires JDK 21, so confirm with WSO2 which Java version the packages you deploy expect.

4.7.0 release notes

Managed and hybrid options

WSO2 describes two alternatives to self-hosting. In hybrid, WSO2 runs a SaaS control plane while the on-premises gateways that carry API traffic stay inside your network, which splits ownership of the control plane and the gateways. Fully managed SaaS carries a 99.95% SLA, per WSO2's API Manager page, but confirm with WSO2 which components you can configure and who handles upgrades. Before you commit, confirm where the traffic manager, Publisher and Developer Portal run, and where API traffic and logs are stored.

WSO2 API Manager page

How the API Manager components map onto hosts

The first decision is whether the control plane, gateway, traffic manager and web interfaces share a host or sit on separate ones. The WSO2 API Manager repository describes an API control plane, a gateway for routing, mediation and security, a traffic manager for throttling, and Developer Portal and Publisher web interfaces. On a single VM or a single Docker host, these components are often co-located, which keeps setup simple but places publishing, routing and throttling in one failure domain. On Kubernetes, the gateway can be scaled as its own workload, so traffic growth does not force a resize of the publisher side. WSO2 supports Kubernetes through a separate WSO2 API Platform for Kubernetes, so check which packaging each topology uses before you compare hosts. Confirm with WSO2's documentation which components can be split and which must stay together.

The split changes sizing and failure domains in the same direction. Gateway capacity follows request volume and mediation load, while the control plane follows the number of APIs, publishers and deployments. Sizing one tier from the other's numbers either wastes capacity or starves a tier. A failure domain is the set of components that stop together when one host, container node or VM fails. If the gateway and traffic manager share a host, losing that host stops routing and throttling at the same time. Design the layout on paper first: for each component, name the VM, container host or Kubernetes node pool it runs on, and write down what stops when that unit fails. Then ask WSO2 which components must remain reachable for the gateway to keep serving traffic during a control plane outage.

Build requirements are separate from runtime requirements. The 4.7.0 release, published on April 29, 2026, notes that building the product requires JDK 21, so any team that compiles custom authenticators, policies or workflows needs that toolchain in its pipeline, whichever host runs the result. Before you choose a topology, confirm the datastore and shared services each one needs with WSO2's documentation, since those dependencies can create failure domains that the component layout alone does not show. Finally, ask your implementation partner to state in writing how many gateway nodes your traffic requires, which traffic figures that number rests on, and how it changes at peak. A node count given without those inputs is an estimate to challenge before you sign.

Which deployment path a team follows

The flow starts with the team's deployment question and checks four conditions in order. If the organization already operates Kubernetes, the path is the WSO2 API Platform for Kubernetes. If it does not, the next check is whether it runs VM fleets with an established patch process, which leads to a VM install from extracted packages. Teams without that process ask whether they will run containers outside Kubernetes. That branch is Docker, and it requires confirmation with WSO2 before production use. Teams that fit none of these paths reach a managed or hybrid decision. Check each hand-off against your own environment before you commit.

Decision flow from the team's question to one of four deployment paths.

How upgrades, backups and monitoring change by deployment path

This table compares what your team operates after go-live on each deployment path, across upgrades, vendor updates, backups, extensions, monitoring and skills. Read each row as a list of tasks that move to your team on that path, then ask WSO2 and your platform owners to confirm the details. The main takeaway is that each path changes who stages and tests a product change, so ask who owns that step before you choose.

AreaVMs (extracted packages)KubernetesDocker
UpgradesYour team applies extracted-package updates, stages them in a non-production copy, and schedules the cutover on each node.Your platform team rolls new images or chart versions through a staged rollout after confirming the release line that applies.Your team pulls or rebuilds new images and replaces containers one node at a time, with a tested rollback image kept ready.
Vendor updates and patch noticesSubscription updates and vulnerability notices reach your team as packages; confirm with WSO2 which channels apply.Subscription updates reach your team for the Kubernetes platform; confirm with WSO2 which channels and notices cover that package.Subscription updates arrive as image or package releases; confirm with WSO2 which channels and patch notices apply to your distribution.
BackupsCapture the configuration directory, the datastores, any custom authenticators, policies or workflows, plus host settings and certificates.Capture datastore backups, the configuration held in manifests or charts, secrets, and custom extension artifacts; test a restore in a separate namespace.Capture datastore backups, mounted configuration volumes, compose or run definitions, and custom extension artifacts; test a restore on a clean host.
Custom extensionsBuild extensions against JDK 21, as the repository requires, and keep built artifacts in version control with each release.Confirm how extensions are packaged into the image, and plan a rebuild and retest for each upgrade.Bake extensions into a derived image built on the product image, then retest them whenever the base image changes.
Monitoring and loggingHost agents and product logs feed your existing stack; confirm which log and metric endpoints the release exposes.Cluster metrics and logs come from your cluster stack; confirm which gateway and traffic manager metrics the deployment exposes.Container logs and host metrics go to your collector; confirm the log paths and health endpoints for each container.
Skills each path needsLinux administration, JDK and service management, certificate handling, and hands-on patching of each node.Kubernetes operations, Helm or manifest management, secrets handling, and the cluster skills to run stateful datastores.Container image building, Compose or runtime configuration, Linux host hardening, and clear runbooks for node replacement.

What sizing and high availability need from your environment

Sizing WSO2 API Manager depends on four inputs you can count before you choose a platform: the number of APIs, the traffic profile those APIs carry, the throttling policy enforced by the traffic manager, and the number of gateway nodes you plan to run. The gateway handles routing, mediation and security on the request path, and the traffic manager applies throttling, so a stricter throttling policy changes the load on both components. The material available for this comparison does not give sizing figures or reference architectures for Docker, Kubernetes or virtual machines. Ask WSO2 or your implementation partner for sizing guidance in writing, based on your own API count, peak traffic and throttling tiers, and run the same load profile against each deployment method so the comparison is fair.

On virtual machines, high availability usually means duplicate nodes behind a load balancer, with each node running its own gateway and sharing the database and configuration that your WSO2 design requires. Kubernetes adds scheduling and self-healing: the cluster restarts failed pods and reschedules them onto healthy nodes, but you still need to confirm how the WSO2 API Platform for Kubernetes handles gateway replicas, the database and shared state. Docker on a single host restarts failed containers but cannot move them to another machine, so that host remains a single point of failure unless you add an orchestrator. No HA reference architecture is available for this comparison, so request one from WSO2 or your partner, then test failover in a non-production environment: stop one gateway node under load, stop the database primary, and record what API callers actually see during each event.

WSO2's hybrid option changes where availability has to be designed. The WSO2 API Manager page describes hybrid deployment with a SaaS control plane and on-premises gateways, so your gateways keep serving traffic inside your own data center or cloud account while the control plane runs as a service. Your failover plan then covers the gateway nodes and the network path between them and the control plane. Confirm with WSO2 what happens to gateway traffic if that link is interrupted, whether gateways keep serving from their last known configuration, and which availability terms apply to the control plane. Teams that self-host on any of the three methods own the full availability design themselves.

Which WSO2 API Manager deployment option fits which team

Choose this route if your team already runs Kubernetes clusters and deploys through GitOps. WSO2 supports Kubernetes through a separate component, the WSO2 API Platform for Kubernetes, so evaluate that component on its own before you assume it matches the on-premises package. Illustrative: a platform team with three clusters might run one control plane with gateways in each region.

  • Skills you already have: cluster operations, GitOps reconciliation, secret handling, ingress and network policy.
  • What you must add: WSO2 product knowledge across the control plane, gateway, traffic manager and Developer Portal, plus the upgrade lifecycle of the Kubernetes component.
  • What drives effort: gateway replica counts, the number of clusters and environments, how API definitions move through Git promotion, and the external database and key stores your design requires.
  • When this stops being right: when gateways must run on hosts outside your clusters, or when the Kubernetes component lacks a feature your scope requires.

Check with WSO2 which Kubernetes component version matches your target API Manager release and how its upgrades are sequenced.

What WSO2 API Manager deployment work costs and needs from you

What drives the cost of running WSO2 API Manager on Docker, Kubernetes or VMs?

Four components drive the cost of each path: infrastructure, licensing or subscription, implementation labor and ongoing operations. Infrastructure covers compute, storage, load balancing and the database behind the gateway and control plane, and it recurs for as long as those environments run. Licensing depends on your choice: the Apache-2.0 source is free to use, while a WSO2 commercial subscription buys expert support, continuous product updates, vulnerability monitoring and access to the licensed distribution for commercial use. Implementation labor is mostly one-time, and Kubernetes can add cluster platform work to it. Ongoing operations, such as patching, upgrades, backups and on-call coverage, recur for the life of the platform. DeployOpen works from a written scope and publishes no price list, so ask any quote to show these four lines separately, the environments included and the subscription scope it assumes.

Can our team run WSO2 API Manager without an implementation partner?

Yes, if your team already operates the chosen platform and has the skills for installation, upgrades and incident response, because the Apache-2.0 product can be deployed from extracted packages. Many teams still bring in a partner for the parts that are hard to staff: first installation, hardening, high availability design and the first upgrade. Running it alone means owning the gateway, control plane, traffic manager, database, certificates and the release calendar for every update. A WSO2 subscription adds expert support and vulnerability monitoring, which you would otherwise assemble yourself. DeployOpen plans, implements, hardens, backs up, upgrades and documents self-hosted platforms inside your infrastructure, and it works from a written scope with no published price list. Decide by mapping each role to a named person, then compare that map with the scope.

How long does a WSO2 API Manager deployment take?

No duration is given here, because the time depends on the deployment path, the number of environments, identity and logging integrations and how settled the design already is. Ask for a written scope that lists each phase (design, build, integration testing, cutover and handover), the environments in each phase and the people and roles on both sides. Ask which dependencies the timeline assumes, such as DNS, certificates, identity provider access and database hosting, and what happens if one of them is late. Kubernetes paths depend on cluster readiness, and VM paths depend on change windows for each host. Ask how retesting after a finding is counted. Confirm with WSO2 which release and deployment model the product documentation covers before you accept any date.

What skills does our staff need to run WSO2 API Manager?

Your staff need product operations skills for WSO2 API Manager itself, plus the platform skills for the path you pick. Kubernetes paths need cluster administration, manifest or chart management, ingress, persistent storage and cluster upgrades. VM paths need Linux administration, service management, configuration management and host patching. Docker paths need container image handling, runtime orchestration and volume management. Every path needs database administration for the product datastore, working knowledge of the gateway, control plane and traffic manager, and security skills for certificates, identity integration, secrets, logging and vulnerability response. Teams that build from source also need JDK 21, which the repository lists as the requirement for building the 4.7.0 release. Map each skill to a named person and check that those people can cover on-call duty.

Is Docker a supported production option for WSO2 API Manager?

Confirm this with WSO2 in writing before you commit, because Docker is not among the deployment models WSO2 describes for API Manager. WSO2 describes on-premises installation from extracted packages, its managed cloud service, and Kubernetes through a separate WSO2 API Platform for Kubernetes. Container images or Compose files used for development are a different question from a supported production topology. Ask WSO2 whether Docker is supported for production, which versions it covers and whether that support extends to your subscription. If the answer is no, the production options are VMs running extracted packages or the Kubernetes platform. Record the answer in the written scope so the design does not rest on an assumption.

How hard is switching WSO2 API Manager between VMs and Kubernetes later?

Switching is a migration project with its own scope, so plan for it at the start. The state you must move includes the database, published APIs, applications, keys, policies, certificates and the identity integration, and each item must be re-validated on the new platform. Plan a parallel run, a routing cutover and a tested rollback path. A layout that keeps configuration and the database separate from host specifics can reduce the work of a later move. Costs come from the new build, the parallel run, data migration testing and the period when both environments run. Ask any partner to show these as separate lines in the written scope, and confirm with WSO2 which migration guidance applies to your release.

What should a written quote for WSO2 API Manager deployment include?

A quote should show the scope, deliverables, environments, assumptions, responsibilities on each side and the lines that make up the price. DeployOpen works from a written scope and publishes no price list, so the quote follows from the scope you agree. Ask for the deployment path and the reason for it, the environments covered and whether disaster recovery is included. High availability, backup and upgrade work should appear as separate items, along with integrations with identity, logging and API consumers, testing and handover documents. Ask which work is one-time and which is ongoing support, and whether a retainer for upgrades or continuous testing is included. Also ask for the assumptions about your subscription and access, and the exclusions. Compare two quotes line by line, and treat any missing line as a question to settle before you sign.

How DeployOpen scopes, delivers and supports WSO2 API Manager deployments

DeployOpen plans, implements, hardens, backs up, upgrades and documents self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks. For WSO2 API Manager, that starts with choosing the runtime model for your team and writing down the scope before any work begins. Most engagements are fixed-scope, with agreed deliverables and timelines.

How we scope

  • The written scope names which runtime you are deploying: Docker, Kubernetes or virtual machines.
  • We record your sizing inputs, traffic patterns, gateway placement and identity provider in the scope document.
  • Engagements are fixed-scope, and ongoing support, upgrades and continuous testing are available as retainers.

How we build

  • Install from the extracted package on VMs, or use WSO2's separate API Platform for Kubernetes on clusters.
  • The repository notes that building 4.7.0 requires JDK 21, so fix the toolchain at the start.
  • Test the configured gateway, traffic manager, Publisher and Developer Portal, plus any custom authenticators or policies, before go-live.

How we hand over

  • Handover documents the chosen topology, upgrade steps, backup and restore procedure, and operating runbooks.
  • Backup set-up is delivered work, and the scope lists which data stores and config files are covered.
  • Your compliance and security teams receive documentation they can review, but DeployOpen does not issue audit reports or certifications.

How we support

  • Retainers can cover upgrades to later WSO2 API Manager releases, scoped and documented like the original build.
  • WSO2 subscriptions come from WSO2, so confirm in writing which support duties sit with WSO2 and which with DeployOpen.
  • Continuous testing can re-check the gateway and developer portal after changes, with findings and fixes reported.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.