DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Zones

Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Generative AI has transformed nearly every industry. How can you leverage GenAI to improve your productivity and efficiency?

SBOMs are essential to circumventing software supply chain attacks, and they provide visibility into various software components.

Related

  • Understanding CIDRs and Public vs Private IPs
  • Have You Heard About Cloud Native Buildpacks?
  • Pure Storage Accelerates Application Modernization With Robust Kubernetes and Cloud-Native Solutions
  • How To Build a Simple GitHub Action To Deploy a Django Application to the Cloud

Trending

  • How Developers Are Driving Supply Chain Innovation With Modern Tech
  • Tracing Stratoshark’s Roots: From Packet Capture to System Call Analysis
  • Scaling Multi-Tenant Go Apps: Choosing the Right Database Partitioning Approach
  • Master AI Development: The Ultimate Guide to LangChain, LangGraph, LangFlow, and LangSmith
  1. DZone
  2. Software Design and Architecture
  3. Cloud Architecture
  4. The Power of Anypoint CloudHub With Mulesoft

The Power of Anypoint CloudHub With Mulesoft

CloudHub enables you to deploy Mule applications from Anypoint Studio using the CloudHub API or the CloudHub Command Line Interface.

By 
Jitendra Bafna user avatar
Jitendra Bafna
DZone Core CORE ·
Mar. 30, 17 · Tutorial
Likes (6)
Comment
Save
Tweet
Share
26.8K Views

Join the DZone community and get the full member experience.

Join For Free

CloudHub is an Integration Platform as a Service (iPaaS). It enables you to deploy and run the application in the cloud via Runtime Manager. CloudHub is a scalable, multi-tenant, elastic, secure, and highly available iPaas. CloudHub is managed via the Runtime Manager console in the Anypoint platform. It enables you to deploy Mule applications from Anypoint Studio using the CloudHub API or the CloudHub Command Line Interface.

MuleSoft CloudHub Architecture

CloudHub includes two major components: platform services and the worker cloud. These two components and Runtime Manager work together to run your Mule application in the cloud.

Image title

  • Integration applications are typically your Mule applications that need to deploy and run in the cloud.

  • The Runtime Manager console is the heart of CloudHub — it enables you to deploy and monitor Mule applications.

  • CloudHub shares a set of platform services and APIs including CloudHub insights, alerting, logging, account management, a virtual private cloud/secure data gateway, load balancing, and more.

  • The global worker cloud is a cloud-based elastic Mule instance that runs integration applications.Integration Applications

Integration applications are basically Mule applications that do tasks like synchronizing the data from Salesforce to the database, consuming or publishing web services or APIs, and creating complex business flows.

Runtime Management Console

The Runtime Management console is very well integrated with Anypoint platform. You can use your Anypoint credentials to deploy, upload,or manage your Mule applications. You can deploy and manage your Mule application through this same console. This is also useful for monitoring the platform services.

Platform Services

CloudHub shared the set of platform services and API includes CloudHub Insights, Alerting, , logging, account management, virtual private cloud/secure data gateway, load balancing, and others.

CloudHub Worker

Applications on CloudHub are run by one or more instances of Mule, called workers. Below is a list of some characteristics.

  • Capacity: Each worker has a specific amount of capacity to process data. You can select the size of your workers when configuring an application.

  • Isolation: Each worker runs in a separate container from every other application.

  • Manageability: Each worker is deployed and monitored independently.

  • Locality: Each worker runs in a specific worker cloud, the US, EU, Asia-Pacific, etc.

Each worker is a dedicated instance of Mule that runs your integration application.

The worker sizes are:

  • 0.1 vCores + 500 MB memory.
  • 0.2 vCores + 1 GB memory.
  • 1 vCores + 1.5 GB memory.
  • 2 vCores + 3.5 GB memory.
  • 4 vCores + 7.5 GB memory.    

CloudHub Availability and Scalability

CloudHub is designed in such way that it can provide various features like high availability, scalability, intelligent healing, and zero downtime. Mule applications deployed in CloudHub can be easily scalable without any downtime.

Deploying Application to Cloud Hub

For deploying the Mule application to CloudHub, in the Package Explorer pane, right-click your application, then select Anypoint Platform>Debug to cloud.

Image title

After performing the above steps, it will ask you for authentication. Provide your Anypoint account username and password.

Image title

Now, it will ask you to configure Runtime Version, Worker Size, Workers, etc. Click Deploy Application.

Image title

Once the application is successfully deployed to CloudHub, a message window will open saying that the application successfully deployed to CloudHub.

Image title

Finally, we can verify if the application deployed to CloudHub by logging into Anypoint and navigating to Runtime Manager.

Image title

Managing CloudHub Application

Once you have deployed the application to CloudHub, you can use the console to monitor and manage the application while it is running. Managing the CloudHub application includes many tasks, which are listed below:

  • Start, stop, restart and delete the application.

  • Monitoring and troubleshooting.

  • Updating the application.

  • Manage logs, insights, notifications, and worker monitoring.

  • View application logs.

  • Manage servers, create clusters, etc.

  • Status states.

Sign into Anypoint and navigate to Runtime Manager.

In Runtime Manager, go to the Application tab. It is a Mule application that is running in CloudHub.

Image title

Click on the application that you need to manage, then click Manage Application. It will navigate you to a new screen.

Image title

Now, you can scale your application by configuring the worker size and number of workers. You can choose latest ZIP file, which contains all of the latest code and dependencies to update your application.

Also, you can start, stop, restart, or delete the Mule application from the same screen.

Image title

On the left side, you have various option to see your application data, logs, insights, application dashboard, etc.

Image title

Status states:

Image title

Now, you know what Anypoint CloudHub with Mulesoft is all about!

application MuleSoft Cloud

Opinions expressed by DZone contributors are their own.

Related

  • Understanding CIDRs and Public vs Private IPs
  • Have You Heard About Cloud Native Buildpacks?
  • Pure Storage Accelerates Application Modernization With Robust Kubernetes and Cloud-Native Solutions
  • How To Build a Simple GitHub Action To Deploy a Django Application to the Cloud

Partner Resources

×

Comments

The likes didn't load as expected. Please refresh the page and try again.

ABOUT US

  • About DZone
  • Support and feedback
  • Community research
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • [email protected]

Let's be friends: