Introduction To Anypoint CloudHub With Mulesoft

21
Introduction To CloudHub With Mulesoft

Transcript of Introduction To Anypoint CloudHub With Mulesoft

Introduction To

CloudHub With Mulesoft

CloudHub

CloudHub is an Integration platform as a service (iPaaS). It enables you to

deploy and run the application in cloud via Runtime Manager. CloudHub is

scalable, multi tenant, elastic, secure and highly available Integration

platform as a service. CloudHub is managed via Runtime Manager console

in Anypoint platform. It enables you to deploy mule application from

Anypoint Studio using CloudHub API or CloudHub Command Line Interface.

Mulesoft CloudHub Architecture

CloudHub includes two major components platform services and the

worker cloud. This two components and runtime manager console work

together to run your mule application in cloud.

Mulesoft CloudHub Architecture

CloudHub includes two major components platform services and the

worker cloud. This two components and runtime manager console work

together to run your mule application in cloud.

Mulesoft CloudHub ArchitectureIntegration Applications

Integration applications are basically mule application like synchronizing the data from salesforce to database, consume or publish web service or API, 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.

Mulesoft CloudHub ArchitectureCloudHub Worker

Applications on CloudHub are run by one or more instances of Mule, called workers. Below is 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.

Worker Sizes:

• 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

Mulesoft CloudHub Architecture

Global Worker Cloud

CloudHub offers different worker clouds in different regions of the world: the

United States, the European Union, and Asia-Pacific. This global distribution

allows you to host your integration in a location that is closest to your

services, thus reducing latency.

Mulesoft CloudHub Architecture

Global Worker Cloud

CloudHub offers different worker clouds in different regions of the world: the

United States, the European Union, and Asia-Pacific. This global distribution

allows you to host your integration in a location that is closest to your

services, thus reducing latency.

CloudHub Availability and Scalability

CloudHub is designed in such way that it can provide various features like

high available, scalable, intelligent healing and zero downtime. Mule

application deployed in cloudhub can be easily scalable without any

downtime.

Deploying Application To Cloud

HubFor deploying the Mule Application to CloudHub, in Package Explorer pane,

right-click your application, then select Anypoint Platform > Debug to cloud.

Deploying Application To Cloud

HubAfter performing the above steps, it will ask you for authentication. Provide

your Anypoint account username and password.

Deploying Application To Cloud

HubAfter performing the above steps, it will ask you for authentication. Provide

your Anypoint account username and password.

Deploying Application To Cloud

HubNow, it will ask you to configure Runtime Version, Worker Size, Workers, etc.,

and click Deploy Application.

Deploying Application To Cloud

HubOnce the application is successfully deployed to CloudHub, a message

window will open saying that the application successfully deployed to

CloudHub.

Deploying Application To Cloud

HubFinally, we can verify if application deployed to CloudHub by logging into

Anypoint Platform and navigating to Runtime Manager.

Managing CloudHub ApplicationOnce you have deployed the application to cloudhub, you can use

console to console to monitor and manage the application while it is

running. Managing cloudhub application includes many activities as listed

below:

Start, Stop, Restart and Delete the application.

Monitoring and troubleshooting.

Updating the application.

Manage logs, insights, notifications, worker monitoring.

View application logs.

Manage servers, create clusters etc.

Status States

Managing CloudHub ApplicationSign in to Anypoint Platform and navigate to Runtime Manager.

In Runtime Manager, Go to Application tab. It is mule application that is

running in the cloudhub.

Managing CloudHub ApplicationClick on the application which you need to manage, then click on the

Manage Application. It will navigate you to new screen.

Managing CloudHub ApplicationNow, you can scale your application by configuring the Worker Size and

number of workers. You can choose latest zip file which contain all latest

code and dependency to update your application.

Also, you can Start, Stop, Restart or Delete the mule application from same

screen.

Managing CloudHub ApplicationOne left side, you can various option to see your application data, logs,

insights, application dashboard etc.

Managing CloudHub ApplicationStatus States

Thank You.