Deploying to CloudHub 2.0
CloudHub 2.0 is MuleSoft's next-generation managed runtime service built on Kubernetes.
Deployment is triggered from Anypoint Runtime Manager or via the Anypoint CLI / Maven plugin. The minimum information required is the application name, the JAR file, the environment, and the vCore allocation.
CloudHub 2.0 uses private spaces (dedicated Kubernetes namespaces) or shared spaces (multi-tenant). For production workloads handling sensitive data, always use a private space with a VPN or VPC peering connection to your on-premise systems.
Zero-downtime deployments are supported natively — new replicas are started before old ones are terminated, ensuring continuous availability during updates.
# Deploy using Anypoint CLI
anypoint-cli-v4 runtime-mgr application deploy \
--environment Production \
--applicationName orders-api \
--runtime 4.6.0 \
--workers 2 \
--workerSize 0.1 \
--region us-east-1 \
target/orders-api-1.0.0-mule-application.jar