Skip to content

Choosing Your Deployment Strategy

Selecting the right deployment strategy for WSO2 API Manager involves making two key, independent decisions based on your specific needs:

  1. Deployment Platform: Where will your system run?
  2. Deployment Pattern: How will the components be architected?

This guide presents common scenarios to help you choose the best combination of platform and pattern.


Key Factors to Consider

Before choosing, evaluate your requirements based on these factors:

Factor Description
Scalability How much API traffic do you expect? Will it grow over time? Do you need to handle sudden traffic spikes?
High Availability (HA) Can your business tolerate downtime? Do you need automatic failover and redundancy for all components?
Security & Compliance What are your organization's security policies? Do you need to isolate traffic-facing components?
Operational Overhead What is your team's expertise and preferred workflow (traditional infrastructure vs. cloud-native DevOps)?

Common Deployment Scenarios

Scenario 1: Development and Testing

  • If your primary need is... simplicity and speed of setup for a non-production environment.
  • Then the recommended approach is...

Scenario 2: Small-Scale Production with High Availability

Scenario 3: Scalable Gateway with a Simple Control Plane

Scenario 4: Standard Production with High Traffic

  • If your primary need is... to independently scale multiple components (Gateway, Traffic Manager) to handle high API traffic with strong isolation.
  • Then the recommended approach is...

Scenario 5: Ultimate Scalability & Isolation

Scenario 6: Targeted Scaling for Gateway & Identity


Summary Matrix

This matrix provides a quick reference for choosing a pattern based on your primary requirement.

Primary Requirement Recommended Pattern Common Platform(s)
Simplicity (Dev/Test) Pattern 0: All-in-One VM, Kubernetes
Basic HA (Small Prod) Pattern 1: All-in-One HA VM, Kubernetes
Balanced Gateway Scaling Pattern 2: Simple Scalable VM, Kubernetes
Standard Production Pattern 3: Distributed Kubernetes, VM
Ultimate Scalability & Isolation Pattern 4: Fully Distributed Kubernetes, VM
Targeted Scaling for Gateway & Identity Pattern 5: Simple Scalable with KM Separation Kubernetes, VM