Contact Us 1-800-596-4880

Deployment Properties for Mule Applications

logo cloud IDE Cloud IDE

logo desktop IDE Desktop IDE

When deploying a Mule application to CloudHub, Anypoint Code Builder relies on a configuration in deploy.json. Mule applications are integration or implementation projects.

Example:
{
  "runtime": "4.7-e-java17",
  "workerSize": 0.1,
  "applicationName": "my-integration-app",
  "workers": 1,
  "autoStart": true
}

The deploy.json and deploy_ch2.json files contain the following properties for deployments of Mule applications to CloudHub and CloudHub 2.0, respectively, from Anypoint Code Builder.

Property Description Host

runtime

Provides the Mule runtime version used by the project.

CloudHub or CloudHub 2.0

workersize

Sets the worker memory relative to a single worker or a number of available workers. The default is 0.1. For more information, see CloudHub Workers in the CloudHub documentation.

CloudHub

replicaSize

Sets the replica specific amount of memory capacity and processing power. The default value is 0.1. For more information, see CloudHub 2.0 Replicas in the CloudHub 2.0 documentation.

CloudHub 2.0

applicationName

Provides the hyphenated, lowercase name of the Mule application.

CloudHub or CloudHub 2.0

workers

Sets the number of Mule runtime instances for running this Mule application. The default is 1. For more information, see CloudHub Workers in the CloudHub documentation.

CloudHub

replicas

Sets dedicated instances of Mule runtime engine for running this Mule application. The default is 1. For more information, see CloudHub 2.0 Replicas in the CloudHub 2.0 documentation.

CloudHub

autoStart

Indicates whether to start the application automatically after the deployment process completes. The default value is true.

CloudHub or CloudHub 2.0

deploymentModel

Indicates the model by which you want the replicas of your application to be updated or redeployed. The default value is rolling. For more information, see Rolling Update vs. Recreate Deployment Model in the CloudHub 2.0 documentation.

CloudHub 2.0

ObjectStoreV2

Indicates whether Object Store v2 is enabled for this application. The default value is true. For more information, see Object Store v2 Overview

CloudHub or CloudHub 2.0