How to Deploy an Application
The following section illustrates the end-to-end process flow involved in deploying an application, and the actions that can be carried out after the application is deployed.
How to deploy an application
Follow the instructions below to deploy an application:
- Step 1 - Install Private PaaS with a preferred IaaS or with Kubernetes
- Step 2 - Configure the WSO2 Cartridge
- Step 3 - (Optional) Add a Kubernetes Cluster
- Step 4 - Add a network partition
- Step 5 - Add a deployment policy
- Step 6 - Add an auto-scaling policy
- Step 7 - Add a cartridge
- Step 8 - Add a cartridge group
- Step 9 - Add an application policy
- Step 10 - Add an application
- Step 11 - Deploy the application
Step 1 - Deploy Private PaaS with a preferred IaaS or with Kubernetes
Step 2 - Configure the WSO2 Cartridge
For more information, see Configuring WSO2 Products to Run on Private PaaS.
Step 3 - (Optional) Add a Kubernetes Cluster
This is only applicable if you are using Private PaaS with Kubernetes.
Step 4 - Add a network partition
Step 5 - Add a deployment policy
Step 6 - Add an auto-scaling policy
Step 7 - Add a cartridge
Step 8 - Add a cartridge group
Step 9 - Add an application policy
Step 10 - Add an application
Step 11 - Deploy the application
After the composite application is deployed, all the clusters that belong to the composite application are brought up by PPaaS, based on the dependency information provided in the cartridge group definition and in the application definition.
What's next?
After deploying an application, you can carryout the following actions:
- Step 1 - (Optional) Sign up to the application
- Step 2 - (Optional) Add domain mappings to the application
Step 1 - (Optional) Sign up to the application
This is only applicable if the application is a multi-tenant application.
Step 2 - (Optional) Add domain mappings to the application
The following diagram illustrates the application deployment workflow: