Production Deployment Checklist¶
Given below is a checklist that will guide you to set up your production environment for WSO2 API-M.
| Guideline | Details |
|---|---|
| Security hardening |
Guidelines for hardening the security of a WSO2 deployment in a production environment can be discussed under three high-level categories:
Related links
|
| Hostname |
By default, WSO2 products identify the hostname of the current machine through the Java API. However, it is recommended to configure the hostname by setting the
hostname parameter in the deployment.toml file.
Related links
|
| Registry and governance |
The API-M runtime uses a database registry for persistent storage of configurations. It is recommended to switch to a database like Oracle, MySQL, or MSSQL. Note that the default setup does not include database backup procedures. The production setup should obviously need to have regular database backup procedures configured.
|
| Performance Tuning |
Most of the performance tuning recommendations are common to all WSO2 products. However, each WSO2 product may have additional guidelines for optimizing the performance of product-specific features.
|
| Firewalls |
The following ports must be accessed when operating within a firewall: API-M Ports
|
| Proxy servers |
If the runtime is hosted behind a proxy such as ApacheHTTPD, you can configure the runtime to use the proxy server. See the following topics for instructions:
|
| HTTP header size |
Starting from U2 update level 35, the default value of This value must not be set to less than 32 KB (32768 bytes), specifically on the API Control Plane (ACP) node in a distributed deployment (or on the single node in an all-in-one deployment), if Multi-Option Authentication is used for portal (Publisher, DevPortal, Admin) logins in federated authentication flows. If set lower, the If you need to override the value via
If a reverse proxy, load balancer, ingress controller, or CDN is deployed in front of API-M, ensure its header and URL size limits are also aligned to at least 32 KB — otherwise the request will be rejected at the front tier before it reaches API-M. |
| High availability |
Configure your deployment with high availability. Refer the recommended deployment patterns and select an option that fits your requirements. In the cloud native deployment, high availability should be achieved via the container orchestration system (Kubernetes). |
| Data backup and archiving | Implement a backup and recovery strategy for your system. |