As the configuration wizard follows a specific flow, administrators can use the wizard to easily deploy cartridges. However, it is mandatory for administrators to use the configuration wizard when deploying a cartridge for the very first time.
Deploying a cartridge via the wizard
Follow the instructions below to deploy a cartridge via the wizard:
- Navigate to the Configure Stratos tab and click Partitions.
- Define the partition and click Next to deploy the partition.
- Define the auto-scaling policy and click Next to deploy the auto-scaling policy.
- Define the deployment policy and click Next to deploy the deployment policy.
- If you do not wish to define a LB cartridge, click Skip and move to step 8.
- If you wish to deploy a LB cartridge, define LB cartridge and click Next to deploy the LB cartridge.
Define the cartridge and carry out one of the following actions:
For more information on customizing cartridge definitions , see Customizing Cartridges.- If you have defined a single tenant cartridge - Click Finish to complete the cartridge deployment via the wizard.
- If you have defined a multi-tenant cartridge - Click Next and move to step 9.
- Define the multi-tenant service cluster and click Finish to complete the cartridge deployment via the wizard.
Deploying a Load Balancer as a cartridge
Cartridges can be deployed with the default Load Balancer (LB), with the service LB or even without an LB.
Follow the instructions below to create and deploy a Load Balancer (LB):
- Navigate to the Configure Stratos tab and click LBs.
- Define the LB. Ensure to define the corresponding default deployment policy, auto-scaling policy and enter
"lb"
as the value forprovider
element. - Click Deploy. The newly deployed LB will appear in the deployment policy list.
Deploying a cartridge
Follow the instructions below to create and deploy a cartridge:
- Navigate to the Configure Stratos tab and click Cartridges.
Define the cartridge. If you are using a LB, you need to define the corresponding LB in the cartridge configuration. For more information on customizing cartridge definitions, see Customizing Cartridges.
Click Deploy. The newly deployed cartridge will appear in the cartridge list.
- If you deploy a cartridge that uses a Load Balancer, enter the following entry in the
etc/hosts
file and save the file.
<LB-PUBLIC-IP> <hostname>