04 ° Service 04 / MuleSoft · DevOps & Deployment

CloudHub 2.0.
Deployment & CI/CD.

MuleSoft CloudHub 2.0 runs Mule applications as containers in the cloud, and Runtime Fabric runs them on your own Kubernetes. We set up the deployment option and build the pipeline that tests and delivers every change. In 2025, this is how we implemented an integration layer on CloudHub 2.0.

Tagline CloudHub 2.0 · Runtime Fabric · Maven · MUnit · GitLab CI
° dl / service-04
° Approach

CloudHub deployment in five steps.

This is how a Mule application gets to CloudHub 2.0 with Maven. Each step has its purpose and runs the same way for every environment.

01

Package

The Mule Maven plugin ties the packaging of the application into the Maven lifecycle. The project produces a versioned artifact that passes through all environments unchanged.

02

Test with MUnit

MUnit runs the tests as part of the Maven build. If a test fails, the build stops at this point, and the change does not reach any environment.

03

Publish

The artifact is published to Anypoint Exchange. CloudHub 2.0 requires this, because what gets deployed is the version stored in Exchange.

04

Deploy

The pipeline passes target, replicas, vCores, and properties to CloudHub 2.0. In a rolling update, the replicas are replaced one after another, and the application remains reachable.

05

Verify and operate

Runtime Manager shows status, logs, and the configuration history. A previous configuration can be restored if the new version shows problems.

° Context · MuleSoft CloudHub

What is CloudHub 2.0? Architecture, security, and the difference from CloudHub 1.0.

CloudHub 2.0 is MuleSoft's cloud service for running Mule applications, fully managed and built on containers. Anyone who uses the platform should know its building blocks before the first application is deployed.

MuleSoft describes CloudHub 2.0 as a fully managed, containerized integration platform. APIs and integrations run there as lightweight containers, and the service takes care of servers, the operating system, and their updates. Four points put into context what this means for operations.

Replicas and how an application runs on CloudHub 2.0

An application runs in one or more replicas. Each replica is a dedicated instance of the Mule runtime in its own container, separated from all other applications. Its size is chosen per application in vCores. With two or more replicas, CloudHub 2.0 distributes the requests across the instances, and in a rolling update they are replaced one after another so that the application remains reachable. The platform monitors the replicas and restarts an application when needed.

Shared space and private space

CloudHub 2.0 provides a shared space in every supported region, a multitenant environment that needs no setup of its own. A private space, in contrast, is an isolated area with its own private network. It becomes necessary as soon as applications access systems in your own data center, use custom domains and certificates, or should only be reachable internally. The connection to the corporate network runs through Anypoint VPN or a transit gateway.

CloudHub 2.0 security and what the platform provides

Security on CloudHub 2.0 works on several levels. In the private space, firewall rules govern inbound and outbound traffic, and TLS contexts define domains and certificates and enable mutual TLS when needed. Sensitive properties can be protected in Runtime Manager. Their value is stored encrypted and can no longer be viewed by any user afterward. The platform itself applies security patches for the operating system and the infrastructure.

On CloudHub 2.0, MuleSoft runs the infrastructure. Your own team runs the integrations.

How CloudHub 1.0 and CloudHub 2.0 differ

Both generations are operated by MuleSoft, but the technology underneath is different. On CloudHub 1.0, every application runs on its own virtual server, on CloudHub 2.0 in containers. CloudHub 2.0 adds Mule clustering, firewall rules for outbound traffic, and multiple truststores for mutual TLS. For an industrial company, we built an integration layer directly on CloudHub 2.0 in 2025, highly available and multitenant, between D&B Direct+ and SAP ECC. The page Migration & Performance describes what to consider when moving existing applications.


° Stack & tools

What we deploy with.

The tools of the Anypoint Platform for build, test, and operations, plus the CI systems and testing tools from our projects.

01

Build & delivery

Mule Maven PluginAnypoint CLIAnypoint ExchangeGitLab CIJenkinsAzure DevOps
02

Test & quality

MUnitMUnit CoverageSonarQubeKarate
03

Runtime & operations

CloudHub 2.0Runtime FabricKubernetesRuntime ManagerAnypoint Monitoring
° Deployment options compared

CloudHub 2.0 vs. Runtime Fabric, hybrid, and on-prem

Eight requirements and how well the four deployment options meet them. Hybrid means your own servers connected to Runtime Manager, and on-prem means operation entirely in your own data center.

RequirementCloudHub 2.0Runtime FabricHybridOn-prem
No infrastructure operations of your own
Use existing Kubernetes
Run directly on your own servers
Automatic security updates~
Load balancing by the platform~
Runtime at a location of your choice~
Access to systems in your own network
Control without a cloud connection
Strong fit With limitations Not recommended
°6 topics°Deployment

Six topics around CloudHub deployment.

From delivery with Maven through testing and security to the move from CloudHub 1.0. Each card leads to a page with background or a practical example.

●6 topics ·Articles, services, and case studies
° Comparison · Deployment options
As of 2026  ·  2 min read

CloudHub vs. Runtime Fabric and what sets the deployment options apart.

In every deployment option, the Mule runtime executes the applications. The difference lies in who operates the infrastructure underneath and where it is located. This determines which deployment option fits which application.

01

CloudHub 2.0, operated by MuleSoft

On CloudHub 2.0, MuleSoft takes over the infrastructure completely. This includes provisioning and scaling the servers, patches for the operating system, load balancing, and distribution across multiple availability zones as soon as an application runs with two or more replicas. Patch updates of the Mule runtime are also applied automatically. Your own team concentrates on the integrations.

You can choose from regions in North America, South America, the European Union, and Asia-Pacific, with Frankfurt and Dublin among those in Europe. If you need to access systems in your own network, you create a private space with Anypoint VPN or a transit gateway. For an industrial client, we built an integration layer between D&B Direct+ and SAP ECC on CloudHub 2.0, highly available and multitenant, with no servers of the client's own.

  • °
    A fit when   the infrastructure should not be operated in-house and a MuleSoft region is an option.
  • °
    To clarify   Shared space or private space, region, size, and number of replicas.
02

Runtime Fabric architecture on your own Kubernetes

Runtime Fabric brings Mule applications and API proxies to a Kubernetes cluster that you create, configure, and operate yourself, with a cloud provider or in your own data center. Managed services such as EKS, AKS, and GKE are supported, as are Red Hat OpenShift and Rancher. Every application runs with its own Mule runtime, separated from the others.

Control stays in the Anypoint Platform. Applications are deployed through Runtime Manager, the Mule Maven plugin, or the Anypoint CLI and distributed across multiple replicas. If one fails, another takes over automatically. Runtime Manager indicates security updates for the runtime, and your own team applies them.

  • °
    A fit when   Kubernetes operations are in place and applications should run in your own environment.
  • °
    To clarify   Cluster operations, ingress, runtime updates, and responsibilities within the team.
03

Hybrid and on-premises with the Mule runtime on your own servers

In hybrid operation, the Mule runtime runs on your own servers, which are registered in the Anypoint Platform through the Runtime Manager agent. Applications are deployed and managed from there. For high availability, the servers can be combined into server groups or clusters. By default, the agent transmits only metadata to the cloud and no application data. This deployment option gives you control over your own environment and requires that you provide the servers.

If control should also remain in-house, Anypoint Platform Private Cloud Edition provides the management functions in your own data center. We know self-operated Mule runtimes from projects. For a booking portal, they ran redundantly in HA mode, and security patches were applied instance by instance during live operation. For a payment provider, 20 Mule services ran on-premises, supported by us as a managed service for four years.

  • °
    A fit when   applications should run close to systems in your own network and server operations are in place.
  • °
    To clarify   Runtime patches, load balancing, and logs are your own responsibility.
° From our projects
2025
Integration layer on CloudHub 2.0
for an industrial company
9 years
From CI setup to ongoing development
for a news agency
20
Mule services with MUnit tests
in Jenkins and GitLab pipelines
2 clouds
AWS and Azure via Terraform
at an energy utility
° Frequently asked questions about CloudHub and deployment

Questions about CloudHub 2.0, Runtime Fabric, and MUnit.

01 What is CloudHub 2.0?

CloudHub 2.0 is MuleSoft's cloud service for running Mule applications, a fully managed, containerized integration platform (iPaaS). Applications run there in replicas, dedicated instances of the Mule runtime in separate containers. MuleSoft operates the servers, the operating system, and the patches, and deployment and monitoring go through Anypoint Runtime Manager.

02 How do CloudHub 1.0 and CloudHub 2.0 differ?

On CloudHub 1.0, every application runs on its own virtual server, on CloudHub 2.0 in containers. The Anypoint VPC becomes the private space, and new additions include Mule clustering and firewall rules for outbound traffic. What this means for existing applications is described on the page Migration & Performance.

03 MuleSoft deployment options, CloudHub 2.0 or Runtime Fabric, which fits when?

CloudHub 2.0 fits when MuleSoft should operate the infrastructure and one of the available regions is an option. Runtime Fabric fits when applications should run on your own Kubernetes cluster, in your data center or with a cloud provider of your choice. The decision is made per application and depends on network connectivity, data residency, and existing operations.

04 How is MuleSoft Runtime Fabric structured?

Runtime Fabric runs on a Kubernetes cluster that you operate yourself, such as EKS, AKS, GKE, or Red Hat OpenShift. Every application gets its own Mule runtime and can be distributed across multiple replicas. It is managed through the Anypoint Platform, whose Runtime Manager deploys the applications and shows their state.

05 How does a CloudHub deployment with Maven work?

The Mule Maven plugin packages the application and publishes it to Anypoint Exchange. From there it is deployed to CloudHub 2.0, with target, number of replicas, vCores, and properties kept as configuration in the project. In the pipeline, this is one Maven call that runs the same way for every environment.

06 How are Mule applications tested with MUnit?

MUnit is the testing framework for Mule applications and covers unit and integration tests. Tests are written like flows, connected systems can be replaced by mocks, and calls can be verified. MUnit is integrated with Maven and therefore runs in every build. In a project for an energy utility, every calculation rule of a tariff calculator has its test cases.

07 Can error handling in Mule 4 be tested with MUnit?

Yes. An MUnit test can define which error type a flow is expected to raise, and it fails if this error does not occur. Mocks can return an error instead of a response. This makes it possible to check how an application reacts when a connected system does not respond.

08 How is an application on CloudHub 2.0 secured?

On several levels. A private space separates the applications in a network of their own, firewall rules control inbound and outbound traffic, and TLS contexts define domains and certificates. Sensitive properties are protected in Runtime Manager and stored encrypted. Access to the interfaces themselves is governed by policies in API Manager, see API Management & Security.

09 How are configuration and secrets separated per environment?

Every environment gets its own properties, and the application itself remains unchanged. Secrets are not stored in plain text in the repository. With secure configuration properties, they are stored encrypted in the configuration, and the key is only passed in at runtime. On CloudHub 2.0, values can additionally be stored as protected properties in Runtime Manager.

10 How does an application get back to an earlier state?

Runtime Manager keeps a configuration history for every application on CloudHub 2.0, and an earlier configuration can be restored. In addition, the versions of the application are stored in Anypoint Exchange, so the pipeline can deploy an older version again. We define the way back together with the pipeline.

11 GitLab CI, Jenkins, or GitHub, which one is the pipeline built with?

With the system you already use. The Mule Maven plugin and the Anypoint CLI are command-line tools and can be integrated into any of these CI systems. In our projects, these were GitLab, Jenkins, GitHub, and Azure DevOps, in some cases two of them side by side.

12 Do you also support the move from CloudHub 1.0 to CloudHub 2.0?

Yes. The move is an initiative of its own, with an inventory, network planning, and a sequence per application. It is part of the service Migration & Performance. In the process, we switch the pipeline to CloudHub 2.0 as the target.

DevOps & Deployment

Let's talk about your CloudHub deployment.

The initial call with an engineer covers deployment option, pipeline, tests, and a sensible next step.

01 Submit a request
* Required field
Topic
Encrypted transmission · TLS 1.3