Skip to content

Latest commit

 

History

History
71 lines (47 loc) · 3.81 KB

Persisting_And_Sharing.md

File metadata and controls

71 lines (47 loc) · 3.81 KB

4. Persisting and Sharing

This chapter depicts important information about runtime artifact storage of an existing WSO2 product deployment in a container platform.

Contents

The following will be discussed in detail in the document.

Why do we need to store?

In the context of WSO2 product deployment, the need for storage of artifacts arises due to the following reasons:

  • Persist created runtime artifacts

  • Share created runtime artifacts across multiple instances in deployments with high availability support

For example, in WSO2 API Manager production deployment patterns, it is recommended to use a suitable storage option for the aforementioned purposes.

Following are some such scenarios.

  • Persist Apache Solr-based indexed data in every Publisher and DevPortal profile instance, individually

  • Persist and share API runtime artifacts (created in <APIM_HOME>/repository/deployment/server/synapse-configs) directory across multiple instances of the API Manager Gateway profile

For advanced details on persistent runtime artifacts of WSO2 API Manager, please refer to the official documentation.

Recommended storage options for WSO2 products

As highlighted in the previous section, there are numerous use cases which instigate the need for storage in WSO2 product deployments.

WSO2 recommends using the most suitable persistent storage solution depending on the scenario.

  • Persist runtime artifacts of a single instance:

    For this purpose, you may use any persistent storage solution supporting either ReadWriteOnce or ReadWriteMany access modes.

  • Persist and share runtime artifacts across multiple instances of a product profile

    For this purpose, you may use any persistent storage solution supporting ReadWriteMany access mode.

The following is a list of storage options using with production grade WSO2 product deployments in Kubernetes environments that have been tested along with the corresponding Kubernetes StorageClasses.