SlideShare a Scribd company logo
Deploying Mule
Applications
Deploying Mule Applications
Depending upon the setup and demands of your production environment, there are numerous ways
of deploying Mule applications. This presentation offers a brief overview of some of the ways you can
deploy your Mule applications from Anypoint Studio.
 Deploy to the Studio embedded test server.
 Deploy to an enterprise server.
 Publish to the Mule Management Console Application Repository.
 Deploy to the Anypoint Platform.
Deploy on the Studio Embedded Test Server
To test your application, run it locally on the Mule server embedded in Studio. Bundled with
Anypoint Studio, the embedded Mule test server can run for up to 12 hours before it must be
restarted.
Deploy on an Enterprise Server
Export the Studio application to a zip file, then deploy it on an Enterprise Server. This
approach is ideal for Mule servers in production environments. The zip file contains all
the resources (such as code libraries and application metadata) necessary to run the
application, and import it into Studio again for further development. You can use the
Mule ESB as an enterprise server as described in Downloading and Starting Mule ESB.
Deploying a Studio-built application in production on an Mule Enterprise server
involves three steps:
 Export the application from Studio.
 Launch the Enterprise server.
 Deploy the application on the Enterprise server.
Exporting an Application from Studio
Studio lets you save a project as a Mule Deployable Archive (a zip file). Such a packaged
Mule archive provides a convenient method for transferring files between editions of
Studio or backing up Studio projects. The package includes all information specific to your
application(s), including flows, configuration files, Java classes, referenced HTML files, and
more.
 Right-click the project name in the Package Explorer pane, then select Export.
 In the Export wizard, click Mule to expand the associated node, select Anypoint
Studio Project to Mule Deployable Archive (includes Studio metadata), then
click Next.
 Select an output folder where you want to save your project archive, and click Finish.
Exporting an Application from Studio
Launching the Enterprise Server
 If you do not already have Mule ESB Enterprise Standalone installed on your
system, download the Mule ESB Enterprise Runtime trial.
 Start Mule.
Deploying an Application on the Enterprise
Server
 Navigate to the folder on your local drive into which saved your archived Studio
application, then copy the zip file.
 Navigate to the folder that contains your copy of Mule ESB Standalone, then
paste the application’s zip file into the apps folder.
 Mule polls the apps folder every 5 seconds (every 5000ms); it picks up the
application you copied to the apps folder, then extracts and deploys it
automatically. In the command line, Mule notifies you that it has deployed the
application.
 To stop Mule ESB from running in the command line, hit CTRL-C.
Deploy to The Anypoint Platform
Deploy the application to the Anypoint Platform, Mule’s platform for cloud-based integration. The
Anypoint Platform represents the least painful approach for fast, worry-free cloud-to-cloud and cloud-
to-on-premises deployment.
The Anypoint Platform includes the Runtime Manager, which can deploy manage and monitor
applications running in the cloud and on-premises. CloudHub, which takes care of the backend of
cloud applications, is a full integration Platform as a Service (iPaaS). It provides a convenient way for
developers to launch their applications on a cloud platform, while also providing many enhanced
features for solving cloud-to-cloud and cloud-to-premise integration problems. Anypoint Studio is
fully integrated with Runtime Manager and facilitates simple application deployment.
Deploying a Studio-built application to the Anypoint Platform involves three steps:
 Create an Anypoint Platform account.
 If you wish to deploy to the cloud, you must adapt your Studio application to CloudHub.
 Deploy your Studio application.
Adapting an Application for CloudHub
Many projects can be deployed directly to CloudHub. However, some projects require
minor modifications, as summarized below.
 If you are deploying a project that listens on a static port, you need to change the
port to a dynamic value so that CloudHub can set it at deployment time. To do so,
change your port values to ${http.port} or ${https.port} . You can create an
application.properties file that allows you to run your project locally on a
specific port and also on CloudHub as a dynamic port.
 If using the Jetty connector, set the host to 0.0.0.0 instead of localhost.
Deploying an Application to the Anypoint
Platform
 In Studio, right-click the project name in the Package Explorer pane, then
select Deploy to Anypoint Platform.
 You are prompted to enter your Anypoint Platform login credentials. Then a menu will
open where you must select an Environment and sub organization to deploy to, a
domain in which to deploy your application, the runtime to deploy to, etc. If deploying
to the cloud, the domain name you enter must be a unique sub-domain which
CloudHub creates for your application on the cloudhub.io domain such as, My-
Project-Name . CloudHub automatically checks the availability of the sub-domain,
then displays a checkmark icon to confirm that your entry is unique.
 Click Finish to deploy your application to the Anypoint Platform.
 In your Web browser, access your Runtime Manager console in the Anypoint Platform
to view your newly deployed application.
Deploying an Application to the Anypoint Platform
Sharing Resources
 If you’re deploying multiple applications to the same server or servers (except for
CloudHub), in whichever of the ways explained above, and those applications
could share the same resources, then you can create a common domain where
you can define common configurations that can then be referenced by multiple
projects. This allows you to, for example, expose different services in different
projects through the same HTTP host and port and be able to deploy everything
without any conflicts.
Publish to the Mule Management Console
Application Repository
You can publish the application to the Application Repository in the Mule
Management Console. Once in the repository, the application can be deployed from
the repository to multiple Mule server instances, and even to multi-node
Muleclusters.
Publish to the Mule Management Console
Application Repository
 Once in the repository, the application can be deployed from the Repository to
multiple Mule server instances and even to multi-node high-availability clusters.
To publish an application to the management console’s app repo, you must first
download, then install and set-up Mule ESB Standalone with Mule Management
Console.
 In Studio, right-click the project name in the Package Explorer pane, then
select Deploy to Anypoint Platform > Mule Management Console.
 In the publication wizard, input a value for each of the fields to specify the
location, login credentials of your management console, and settings for your
application.
 Click Finish to publish the app to the repository.
Mulesoft Documentation Link:
https://docs.mulesoft.com/mule-fundamentals/v/3.7/deploying-mule-applications
Thank You.

More Related Content

DOCX
Eclipse plug in mylyn & tasktop
PPTX
How to commit a project in svn using svn plugin in anypoint studio
PPTX
Mule environments
PPTX
Github plugin setup in anypointstudio
PPTX
JUnit and MUnit Set Up In Anypoint Studio
DOCX
Installing the java sdk
PPTX
Creating a mule project with raml and api
PDF
Dvwkbm lab2 cli1
Eclipse plug in mylyn & tasktop
How to commit a project in svn using svn plugin in anypoint studio
Mule environments
Github plugin setup in anypointstudio
JUnit and MUnit Set Up In Anypoint Studio
Installing the java sdk
Creating a mule project with raml and api
Dvwkbm lab2 cli1

What's hot (20)

ODP
Simplifying RCP Update and Install
PPTX
Mule tcat server - deploying applications
PPT
Editing an app cloud 9
PDF
Rewriting a Plugin Architecture 3 Times to Harness the API Economy
PDF
Rational Rhapsody Workflow Integration with Visual Studio
PDF
Developing Rich Clients with the Eclipse 4 Application Platform
PPTX
Eclipse 4.0 - Dynamic Models
PPT
Eclipse Banking Day in Copenhagen - Eclipse RCP as an Application Platform
PDF
Tutorial storybook
PPTX
Introduce anypoint studio
PPTX
Cloud based augmented reality
PDF
Build,Run and manage MobileFirst apps with Eclipse
DOCX
Assign 10 - Creating Projects using Eclipse IDE
PDF
Angular 11 – everything you need to know
PPTX
Configuring Anypoint Studio MQ connector
PDF
Supplement J Eclipse
 
PDF
Configuring an application_server_in_eclipse
PPTX
MUnit run and wait scope
PPT
Eclipse Spykit Project
PDF
Mulesoft Munit Testing
Simplifying RCP Update and Install
Mule tcat server - deploying applications
Editing an app cloud 9
Rewriting a Plugin Architecture 3 Times to Harness the API Economy
Rational Rhapsody Workflow Integration with Visual Studio
Developing Rich Clients with the Eclipse 4 Application Platform
Eclipse 4.0 - Dynamic Models
Eclipse Banking Day in Copenhagen - Eclipse RCP as an Application Platform
Tutorial storybook
Introduce anypoint studio
Cloud based augmented reality
Build,Run and manage MobileFirst apps with Eclipse
Assign 10 - Creating Projects using Eclipse IDE
Angular 11 – everything you need to know
Configuring Anypoint Studio MQ connector
Supplement J Eclipse
 
Configuring an application_server_in_eclipse
MUnit run and wait scope
Eclipse Spykit Project
Mulesoft Munit Testing
Ad

Viewers also liked (20)

PPTX
Mule esb using file to string and logger component
DOCX
Rohit Resume
PPTX
Federated access management
PPTX
Mule esb first http connector
PPTX
Mule components
PPTX
Mule ESB Intro
PDF
Global Scale ESB with Mule
PDF
Tactics Esb Implementation
PPTX
Mulesoft soa
PDF
Mule ESB
PPTX
Rest fullservices
PPTX
Mule esb lesson 2
PPTX
Spring basics for freshers
PPTX
What is Mule ESB
PPTX
Mule ESB Training
PPTX
Mule esb lesson 1
PPTX
Mule esb lesson 3
PPTX
NServiceBus
PPTX
ESB and Mule ESB solution
PPTX
How to use smtp endpoint
Mule esb using file to string and logger component
Rohit Resume
Federated access management
Mule esb first http connector
Mule components
Mule ESB Intro
Global Scale ESB with Mule
Tactics Esb Implementation
Mulesoft soa
Mule ESB
Rest fullservices
Mule esb lesson 2
Spring basics for freshers
What is Mule ESB
Mule ESB Training
Mule esb lesson 1
Mule esb lesson 3
NServiceBus
ESB and Mule ESB solution
How to use smtp endpoint
Ad

Similar to Deployingmuleapplications 160903085602 (20)

PPTX
Cloud hub deployment
PPTX
Mule soft indore meetup 2
PPTX
Cloud hub with mule
PPTX
Deploying to cloud hub
PPTX
Mule soft cloudhub deployment basics
PPTX
Deploying mule applications
PPTX
Clustering, Server setup and Hybrid deployment setup using Anypoint Runtime M...
PPTX
Deployment options for mule applications
PDF
MuleSoft Surat Live Demonstration Virtual Meetup#4 - Automate Anypoint VPC, V...
PDF
MuleSoft Nashik Virtual Meetup#4 - Implementing CI/CD pipeline for deploying ...
PPTX
Running and Managing Mule Applications
PDF
Miracle mulesoft tech_cloud_hub
PPTX
CloudHub and other Cloud Deployment Options
PPTX
Anypoint platform
PPTX
Mule integration-application
PPTX
São Paulo MuleSoft Meetup - Deployments Models
PPTX
Introduce Mule
PPTX
Mulesoft Connections to different companies, and different services
PPT
Sdlc with mule esb
PPTX
Indianapolis_meetup_April-1st-2022.pptx
Cloud hub deployment
Mule soft indore meetup 2
Cloud hub with mule
Deploying to cloud hub
Mule soft cloudhub deployment basics
Deploying mule applications
Clustering, Server setup and Hybrid deployment setup using Anypoint Runtime M...
Deployment options for mule applications
MuleSoft Surat Live Demonstration Virtual Meetup#4 - Automate Anypoint VPC, V...
MuleSoft Nashik Virtual Meetup#4 - Implementing CI/CD pipeline for deploying ...
Running and Managing Mule Applications
Miracle mulesoft tech_cloud_hub
CloudHub and other Cloud Deployment Options
Anypoint platform
Mule integration-application
São Paulo MuleSoft Meetup - Deployments Models
Introduce Mule
Mulesoft Connections to different companies, and different services
Sdlc with mule esb
Indianapolis_meetup_April-1st-2022.pptx

More from ppts123456 (13)

PPTX
Anypointconnectordevkit 160816041722
PPTX
Muleesbcomponents1 160625154208
PPTX
Flowsinmule 160517130818
PPTX
Mulefundamentals 160503050909
PPT
4 150915033746-lva1-app6892
PPTX
Mulehdfsconnector 160810122655
PPT
Mulethenewtechnology 12549172699166-phpapp03-160421133841
PPTX
Mulesoftanypointplatformintro
PPT
Mule overview
PPT
PPTX
2016 08-08 ecology and environment
PPTX
Algorithm analysis and efficiency
PPT
E procureppt
Anypointconnectordevkit 160816041722
Muleesbcomponents1 160625154208
Flowsinmule 160517130818
Mulefundamentals 160503050909
4 150915033746-lva1-app6892
Mulehdfsconnector 160810122655
Mulethenewtechnology 12549172699166-phpapp03-160421133841
Mulesoftanypointplatformintro
Mule overview
2016 08-08 ecology and environment
Algorithm analysis and efficiency
E procureppt

Recently uploaded (20)

PPTX
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
top salesforce developer skills in 2025.pdf
PDF
Nekopoi APK 2025 free lastest update
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PPTX
Transform Your Business with a Software ERP System
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PPT
Introduction Database Management System for Course Database
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PPTX
Operating system designcfffgfgggggggvggggggggg
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PPTX
Introduction to Artificial Intelligence
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
Design an Analysis of Algorithms I-SECS-1021-03
CHAPTER 2 - PM Management and IT Context
top salesforce developer skills in 2025.pdf
Nekopoi APK 2025 free lastest update
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
Transform Your Business with a Software ERP System
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
Introduction Database Management System for Course Database
Navsoft: AI-Powered Business Solutions & Custom Software Development
Operating system designcfffgfgggggggvggggggggg
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
VVF-Customer-Presentation2025-Ver1.9.pptx
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
Upgrade and Innovation Strategies for SAP ERP Customers
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
Introduction to Artificial Intelligence
2025 Textile ERP Trends: SAP, Odoo & Oracle

Deployingmuleapplications 160903085602

  • 2. Deploying Mule Applications Depending upon the setup and demands of your production environment, there are numerous ways of deploying Mule applications. This presentation offers a brief overview of some of the ways you can deploy your Mule applications from Anypoint Studio.  Deploy to the Studio embedded test server.  Deploy to an enterprise server.  Publish to the Mule Management Console Application Repository.  Deploy to the Anypoint Platform.
  • 3. Deploy on the Studio Embedded Test Server To test your application, run it locally on the Mule server embedded in Studio. Bundled with Anypoint Studio, the embedded Mule test server can run for up to 12 hours before it must be restarted.
  • 4. Deploy on an Enterprise Server Export the Studio application to a zip file, then deploy it on an Enterprise Server. This approach is ideal for Mule servers in production environments. The zip file contains all the resources (such as code libraries and application metadata) necessary to run the application, and import it into Studio again for further development. You can use the Mule ESB as an enterprise server as described in Downloading and Starting Mule ESB. Deploying a Studio-built application in production on an Mule Enterprise server involves three steps:  Export the application from Studio.  Launch the Enterprise server.  Deploy the application on the Enterprise server.
  • 5. Exporting an Application from Studio Studio lets you save a project as a Mule Deployable Archive (a zip file). Such a packaged Mule archive provides a convenient method for transferring files between editions of Studio or backing up Studio projects. The package includes all information specific to your application(s), including flows, configuration files, Java classes, referenced HTML files, and more.  Right-click the project name in the Package Explorer pane, then select Export.  In the Export wizard, click Mule to expand the associated node, select Anypoint Studio Project to Mule Deployable Archive (includes Studio metadata), then click Next.  Select an output folder where you want to save your project archive, and click Finish.
  • 7. Launching the Enterprise Server  If you do not already have Mule ESB Enterprise Standalone installed on your system, download the Mule ESB Enterprise Runtime trial.  Start Mule.
  • 8. Deploying an Application on the Enterprise Server  Navigate to the folder on your local drive into which saved your archived Studio application, then copy the zip file.  Navigate to the folder that contains your copy of Mule ESB Standalone, then paste the application’s zip file into the apps folder.  Mule polls the apps folder every 5 seconds (every 5000ms); it picks up the application you copied to the apps folder, then extracts and deploys it automatically. In the command line, Mule notifies you that it has deployed the application.  To stop Mule ESB from running in the command line, hit CTRL-C.
  • 9. Deploy to The Anypoint Platform Deploy the application to the Anypoint Platform, Mule’s platform for cloud-based integration. The Anypoint Platform represents the least painful approach for fast, worry-free cloud-to-cloud and cloud- to-on-premises deployment. The Anypoint Platform includes the Runtime Manager, which can deploy manage and monitor applications running in the cloud and on-premises. CloudHub, which takes care of the backend of cloud applications, is a full integration Platform as a Service (iPaaS). It provides a convenient way for developers to launch their applications on a cloud platform, while also providing many enhanced features for solving cloud-to-cloud and cloud-to-premise integration problems. Anypoint Studio is fully integrated with Runtime Manager and facilitates simple application deployment. Deploying a Studio-built application to the Anypoint Platform involves three steps:  Create an Anypoint Platform account.  If you wish to deploy to the cloud, you must adapt your Studio application to CloudHub.  Deploy your Studio application.
  • 10. Adapting an Application for CloudHub Many projects can be deployed directly to CloudHub. However, some projects require minor modifications, as summarized below.  If you are deploying a project that listens on a static port, you need to change the port to a dynamic value so that CloudHub can set it at deployment time. To do so, change your port values to ${http.port} or ${https.port} . You can create an application.properties file that allows you to run your project locally on a specific port and also on CloudHub as a dynamic port.  If using the Jetty connector, set the host to 0.0.0.0 instead of localhost.
  • 11. Deploying an Application to the Anypoint Platform  In Studio, right-click the project name in the Package Explorer pane, then select Deploy to Anypoint Platform.  You are prompted to enter your Anypoint Platform login credentials. Then a menu will open where you must select an Environment and sub organization to deploy to, a domain in which to deploy your application, the runtime to deploy to, etc. If deploying to the cloud, the domain name you enter must be a unique sub-domain which CloudHub creates for your application on the cloudhub.io domain such as, My- Project-Name . CloudHub automatically checks the availability of the sub-domain, then displays a checkmark icon to confirm that your entry is unique.  Click Finish to deploy your application to the Anypoint Platform.  In your Web browser, access your Runtime Manager console in the Anypoint Platform to view your newly deployed application.
  • 12. Deploying an Application to the Anypoint Platform
  • 13. Sharing Resources  If you’re deploying multiple applications to the same server or servers (except for CloudHub), in whichever of the ways explained above, and those applications could share the same resources, then you can create a common domain where you can define common configurations that can then be referenced by multiple projects. This allows you to, for example, expose different services in different projects through the same HTTP host and port and be able to deploy everything without any conflicts.
  • 14. Publish to the Mule Management Console Application Repository You can publish the application to the Application Repository in the Mule Management Console. Once in the repository, the application can be deployed from the repository to multiple Mule server instances, and even to multi-node Muleclusters.
  • 15. Publish to the Mule Management Console Application Repository  Once in the repository, the application can be deployed from the Repository to multiple Mule server instances and even to multi-node high-availability clusters. To publish an application to the management console’s app repo, you must first download, then install and set-up Mule ESB Standalone with Mule Management Console.  In Studio, right-click the project name in the Package Explorer pane, then select Deploy to Anypoint Platform > Mule Management Console.  In the publication wizard, input a value for each of the fields to specify the location, login credentials of your management console, and settings for your application.  Click Finish to publish the app to the repository.