Deployment Options | MuleSoft Documentation

MuleSoft Documentation Site

Mule applications that run in the Anypoint Studio or Anypoint Code Builder IDEs deploy to an embedded test server in within the IDE. Because this server is not meant for production deployment and uptime restrictions apply, deploy your Mule applications using one of the deployment options supported by Anypoint Runtime Manager.

CloudHub 2.0

CloudHub 2.0 is a fully managed, containerized integration platform as a service (iPaaS) where you can deploy APIs and integrations as lightweight containers in the cloud.

CloudHub

CloudHub is a complete integration platform as a service (iPaaS) that provides server functionality for you to deploy your applications without having to configure a hosting environment. Based on your contract, you control how many resources to assign to your application.

You can deploy your applications from the Anypoint PlatformLeaving the Site Runtime Manager cloud console and host them in CloudHub. For more information on how to deploy applications to CloudHub, see Deploy to CloudHub.

Hybrid Deployments

With the hybrid deployment option, you deploy your applications from the Runtime Manager cloud console to your Mule servers and use Runtime Manager to manage them. This option provides you with flexibility and control over your on-premises security but requires you to provide the hosting infrastructure.

To use the hybrid option, you first register your Mule servers with the Runtime Manager agent. Then, from Runtime Manager, you can optionally add those servers to server groups or clusters to provide high availability. Finally, you deploy your applications from Runtime Manager to either a server, server group, or cluster.

For more information on how to deploy applications to your Mule servers, see Deploy to Your Servers.

Anypoint Platform Private Cloud Edition

Anypoint Platform Private Cloud Edition is a containerized distribution of the management and engagement capabilities of Anypoint Platform that you host on-premises or in your organization’s private cloud environment.

If your organization has strict regulatory or compliance requirements that limit the use of cloud solutions, you can use Anypoint Platform PCE to deploy and host your applications on-premises.

For more information on how to deploy applications to Anypoint Platform Private Cloud Edition, see Deploy to Your Servers.

Anypoint Runtime Fabric Deployments

Anypoint Runtime Fabric is a container service that automates the deployment and orchestration of Mule applications and API gateways. Runtime Fabric runs within a customer-managed infrastructure on AWS, Azure, virtual machines (VMs), and bare-metal servers.

Runtime Fabric contains all of the components it requires. These components, including Docker and Kubernetes, are optimized to work efficiently with Mule runtimes and other MuleSoft services.

To use the Runtime Fabric option, you first create a Runtime Fabric using Runtime Manager. Then, you install Runtime Fabric on your infrastructure. Finally, you deploy your applications from the Runtime Manager cloud console to the Runtime Fabric you created.

Deployment Option Icons

Icons appear at the begining of each page in the Runtime Manager documentation, indicating the deployment options to which the content applies.

Deployment OptionIcon
CloudHub 2.0logo cloud2 active
CloudHublogo cloud active
Hybridlogo hybrid active
Anypoint Platform Private Cloud Editionlogo server active
Anypoint Runtime Fabriclogo rtf active

Runtime Manager Features

For an overview of the Runtime Manager features available with each deployment option, see:

Load Balancing

Deployment OptionSupported Load BalancingAlternative/Workaround
CloudHub 2.0When deploying your application to two or more replicas, the CloudHub HTTP load balancing service distributes requests across these replicas. See Scale Out and Data Center Redundancy.
CloudHubIf your application runs on multiple workers, the CloudHub shared load automatically balances incoming traffic. See Dedicated Load Balancers.Use the optional dedicated load balancer (DLB) component to route external traffic to multiple Mule applications deployed to CloudHub workers in Anypoint Virtual Private Cloud (VPC).
HybridNot Supported.You can manage load balancing with the tools connected to your on-premises resources.
Private Cloud EditionNot Supported.You can manage load balancing with the tools connected to your on-premises resources.
Runtime FabricInternal load balancer for basic load balancing.You can also forward logs from Runtime Fabric to a rsyslog server.

Logging

Deployment OptionDescriptionAlternative/WorkaroundMore Information
CloudHub 2.0CloudHub 2.0 provides access to log data that includes deployment messages and events for each replica and Mule runtime engine logs.Viewing Log Data for Deployed Apps
CloudHubCloudHub provides a logging service for customizing log levels, searching logs, and downloading logs.View Log Data
HybridThe Runtime Manager logging feature is not available for hybrid deployments.You can configure on-premises applications to send data to external analytics tools, such as Splunk or ELK, to manage your logs.Export Data from Runtime Manager to External Analytics Tools
Private Cloud EditionThe Runtime Manager logging feature is not available for hybrid deployments.The Runtime Manager logging feature is not available for hybrid deployments.Export Data from Runtime Manager to External Analytics Tools
Runtime FabricRuntime Fabric supports Anypoint Monitoring. This feature is available only if your organization has the Anypoint Integration Advanced package or a Titanium subscription to Anypoint Platform. For more information, see the Pricing and Packaging documentation.You can also forward logs from Runtime Fabric to a rsyslog server.Logs

Monitoring

Deployment OptionImplementationFunctionalityMore Information
CloudHub 2.0- You can create alerts in Runtime Manager for applications deployed to CloudHub 2.0. - You can enable trace data collection for your CloudHub 2.0 applications that are deployed to either shared or private spaces and running on Mule runtime 4.6.0 or later.- Run thread dumps. Configure application alerts. - Once you enable tracing, and redeploy the application, the Runtime Manager backend starts instrumenting traces for your application.- Monitoring Apps Deployed to CloudHub 2.0 - Enable Trace Data Collection
CloudHubRuntime Manager dashboards provide performance metrics for all deployed applications.Alerts based on alert conditions on deployed applications. Standard notifications to inform you when events occur in your applications. Add a CloudHub connector to your application’s flows and set up custom alerts and notifications triggered by any event.Monitor Applications and Servers
HybridRuntime Manager dashboards provide performance metrics for all deployed applications.Alerts based on alert conditions on deployed applications. Standard notifications to inform you when events occur in your applications. Alerts triggered by events related to the servers on which they run.Monitor Applications and Servers
Private Cloud EditionAnypoint Platform PCE does not support Runtime Manager dashboards.Alerts based on alert conditions on deployed applications. Standard notifications to inform you when events occur in your applications. Alerts triggered by events related to the servers on which they run.Monitor Applications and Servers
Runtime FabricThe Runtime Fabric agent monitors Kubernetes Deployments labelled with rtf.mulesoft.com/id.When Kubernetes updates the state of the deployment, the agent sends that update to the control plane.Monitoring Application Deployments Logs

Object Store

Deployment OptionImplementationNoteMore Information
CloudHub 2.0You do not need to configure your applications to use Object Store in CloudHub 2.0. Additionally, Mule 4 applications support Object Store v2, which can be enabled from Anypoint Runtime Manager console.When you enable Object Store v2 in CloudHub 2.0, note that it is rate limited.Object Store v2 Overview
CloudHubCloudHub provides a preconfigured default object store that you can reference using Anypoint Connector for Object Store.Idempotent routers work only with in-memory stores.Manage Application Data Storage with Object Stores
HybridNot available for hybrid deployments.To use object stores, you must configure a database to store data.Object Store Connector
Private Cloud EditionNot available for Anypoint Platform PCE deployments.To use object stores, you must configure a database to store data.Object Store Connector
Runtime FabricNot available for Runtime Fabric deployments.To use object stores, you must configure a database to store data.Object Store Connector

Scheduling

Deployment OptionImplementationNoteMore Information
CloudHub 2.0You can use Runtime Manager to view and control the Scheduler components within the flows in your deployed applications without changing your running application.To view the application schedules, you must have the Exchange Viewer permission, in addition to the Read Applications permission.Managing App Schedules
CloudHubYou can use Runtime Manager to view and control the Scheduler components within the flows in your deployed applications.You cannot manage CloudHub schedules using scripts. Use the Schedules tab or the CloudHub API to manage CloudHub schedules.Manage Schedules
HybridNot available for hybrid deployments.To schedule tasks, use the Scheduler endpoint element in your flows.Scheduler Endpoint
Private Cloud EditionNot available for Anypoint Platform PCE deploymentsTo schedule tasks, use the Scheduler endpoint element in your flows.Scheduler Endpoint
Runtime FabricNot available for Runtime Fabric deployments.To schedule tasks, use the Scheduler endpoint element in your flows.Scheduler Endpoint

Security Updates

Deployment OptionImplementationMore Information
CloudHub 2.0CloudHub 2.0 regularly applies security patches as needed to ensure that your application is secure.CloudHub 2.0 Operating System Patch Updates
CloudHubCloudHub applies security patches as needed to ensure that your application is secure and, once per month, it updates Mule to maintain the stability of your application.CloudHub Runtime Continuous Updates
HybridAfter an application is deployed and running, you must apply any security updates for the selected runtime version manually.Security for Hybrid Deployments
Private Cloud EditionAfter an application is deployed and running, you must apply any security updates for the selected runtime version manually.
Runtime FabricWhen a security update is available for the runtime version for an app, you can see and apply the update in Runtime Manager.

Shared Resource Support

Deployment OptionImplementationMore Information
CloudHub 2.0A shared space is an elastic cloud of resources that includes Mule instances running in a multi-tenant environment. CloudHub 2.0 provides one shared space in each supported region, to which you deploy your integration applications.Shared Spaces
CloudHubEach application deployed to CloudHub runs on a separate virtual server. You don’t need to use domains to share ports or other resources between applications.
HybridWhen deploying on-premises, you can create Domain mule projects with no flows and a set of global configuration elements to share among other applications deployed to the same server.Shared Resource Support for On-Premises App Deployments
Private Cloud EditionWhen deploying on-premises, you can create Domain mule projects with no flows and a set of global configuration elements to share among other applications deployed to the same server.Shared Resource Support for On-Premises App Deployments

Troubleshooting

Deployment OptionImplementation
CloudHub 2.0CloudHub 2.0 does not support the Insight troubleshooting tool. Use Anypoint Monitoring instead.
CloudHubThe Insight troubleshooting tool provides in-depth visibility into business transactions and events on your Mule applications deployed through Runtime Manager. You can enable the Insight analytics feature and specify metadata options on the Insight tab.
HybridThe Insight troubleshooting tool provides in-depth visibility into business transactions and events on your Mule applications deployed through Runtime Manager.
Private Cloud EditionAnypoint Platform PCE does not include the Insight troubleshooting tool.
Runtime FabricUse Anypoint Monitoring to view information about applications deployed to Runtime Fabric. To obtain the health status of the cluster and components, use Runtime Fabric command-line tools. See Monitoring Applications Deployed to Runtime Fabric.

Security for Hybrid Deployments

logo hybrid active

By default, only metadata pushed by the Runtime Manager agent in each Mule runtime engine flows to the cloud. No application data is exposed.

The agent monitors and controls Mule, and publishes its data to the control plane. You can control Mule from external systems by calling Runtime Manager agent APIs, or you can specify that Mule publishes its data to external systems.

You can change the default behavior so that the agent pushes IDs, final average numbers, or any data you find useful for monitoring or keeping control of applications. See Runtime Manager Agent.

logo hybrid active logo server active

When deploying on-premises, you can create Domain mule projects with no flows and a set of global configuration elements to share among other applications deployed to the same server.

Use this strategy to avoid configuring the same settings and credentials for each application. You can also use it to configure multiple applications to listen on the same HTTP host and port, or other exclusive resources.

See Also

© 2024 All rights reservedBuilt with Flowershow Cloud

Built with LogoFlowershow Cloud