Before installing WSO2 API Manager, make sure that the appropriate prerequisites are available. Verify that the computer has a supported operating system and development platforms before starting the installation.
4 GB RAM (2 GB for JVM and 2 GB for the operating system)
10 GB free disk space
~ Recommended minimum - 2 Cores. For high concurrencies and better performances - 4 Cores.
Disk space is based on the expected storage requirements that are calculated by considering the file uploads and the backup policies. For example, if three WSO2 product instances are running in a single machine, it requires a 4 GHz CPU, 8 GB RAM (2 GB for the operating system and 6 GB (2 GB for each WSO2 product instance)) and 30 GB of free space.
WSO2 API Manager Analytics
You require a minimum of one CPU with 2 cores.
~ 4 GB minimum RAM is recommended.
~ 2 GB heap size.
2 GB is the initial heap (-Xms) required for the server startup. The maximum heap size is 4 GB (-Xmx)
~ 1 GB minimum free disk space (excluding space allocated for log files and databases.)
Virtual Machine (VM)
2 compute units minimum (each unit having 1.0-1.2 GHz Opteron/Xeon processor)
4 GB RAM
10 GB free disk space
One CPU unit for the operating system and one for JVM.
Three WSO2 product instances running would require VM of 4 compute units, 8 GB RAM, and 30 GB free space.
~ 512 MB heap size. This is generally sufficient to process typical SOAP messages but the requirements vary with larger message sizes and the number of messages processed concurrently.
EC2
1 c5.large instance to run one WSO2 product instance.
Three WSO2 product instances can be run in 1 EC2 Extra-Large instance. Based on the I/O performance of the c5.large instance, it is recommended to run multiple instances in a larger instance (c5.xlarge).
If you are using the product installer to install the product, by default, WSO2 API-M is installed with OpenJDK, which allows you to run the product as soon as it is installed.
Note
To use a different JDK, point the JAVA_HOME environment variable to the new JDK. Make sure your JDK version is compatible with the WSO2 product.
If you are using the product's binary distribution to install the product (instead of the product installer), install JDK. Make sure your JDK version is compatible with the WSO2 product.
All WSO2 Carbon-based products are generally compatible with most common DBMSs. The embedded H2 database is suitable for development, testing, and some production environments. For most enterprise production environments. However, WSO2 recommends that you use an industry-standard RDBMS such as Oracle, PostgreSQL, MySQL, MS SQL, etc. For more information, see Working with Databases. Additionally, WSO2 does not recommend the H2 database as a user store.
It is not recommended to use Apache DS in a production environment due to scalability issues. Instead, use an LDAP like OpenLDAP for user management.
On a production deployment, it is recommended that WSO2 products are installed on the latest releases of RedHat Enterprise Linux or Ubuntu Server LTS.