Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Cloud hub deployment
1. CloudHub Deployment
CloudHub is an integration platform as a service (iPaaS). There are two options to deploy an application
from Anypoint Studio(Runtime Manager) to CloudHu
1. Through from Anypoint Studio. Deploy application as Cloudhub b .
2. From Anypoint Studio export as mule deployable archive.
2. Figure 1: Mule Cloudhub Architecture
Pre requisites
1. Download and install Anypoint Studio
2. Preinstalled jdk 1.7
Creating an Anypoint Platform Organization for CloudHub
To deploy this application to CloudHub, you first need to create an organization in the Anypoint Platform. After
you’ve created your account, you can use CloudHub for one month with a single resource unit, or "worker". If you
need additional resources or would like to continue using CloudHub, you can sign up for a paidsubscription.
1. Go to http://anypoint.mulesoft.com to create an organization if you do not already have one. Otherwise, sign
in using your credentials for your existing Anypoint Platformaccount.
2. Enter your information, choose a username and password, and click Create account. Your new organization is
created along with a user account. The resulting user account automatically becomes the administrator for the
organization.
After you create your Anypoint Platform account, you are directed to the landing page. From the top menu, click
the Runtime Manager link to go to the Runtime Manager dashboard.
3.
Process
1. Creating a New Anypoint Studio Project
The first time you start Anypoint Studio, you see a Welcome page. If this is the case, click Create a
Project. If you already launched Anypoint Studio and closed the Welcome page, click File > New >
MuleProject.
3.
4. Create project name as HelloWorld then click on finish
Building theProject
In the Palette search for the HTTP connector, select it, and drag it onto the canvas. you can place it
anywhere
5. Double click on the HTTP Connector in and configure asbelow
6. Configure the HTTP component as shown in below. Add global http endpoint
7. Click Ok to close this dialogue box and save theFile.
Drag the Set Payload transformer next to HTTP and Configure as shown in below.
8. In the Set Payload properties editor,enter Hello World in the Valuefield.
Click the save icon to apply your changes.
1. Through from Anypoint Studio. Deploy application as Cloudhub
9. We can easily deploy your applications to CloudHub, directly from Anypoint Studio. Without creating the
ZIP file and uploadmanually.
Right click on the project, select Deploy to Anypoint Platform > Cloud then we can see a window
like below details. Enter the cloudhub credentials and then Sign In
1. Signin.
The Deploying Application page opens.
2. Choose a unique domain in which to deploy the application, for example helloworld.
The domain name can be up to 42 characters. A green confirmation check markdisplays.
3. Select a Mule Version and environment, such as PRODUCTION, or accept the defaults.
10. 4. Change the Mule Runtime value to 3.7.0 or newer.
5. Click DeployApplication.
1. Anypoint Studio packages, uploads, and deploys your application to CloudHub.
2. Browse to the URL of yourdomain.cloudhub.io (also shown in the pop-up window above). You
should see your application running on CloudHub! (Deployment may take a fewminutes.)
11. 2. From Anypoint Studio export as mule deployable archive
Deploy a CloudHub applicationfrom:
Anypoint Studio - Right-click on project and click Deploy to Anypoint Platform → Cloud.
Go to http://anypoint.mulesoft.com to create an organization if you do not already have
one. Otherwise, sign in using your credentials for your existing Anypoint Platform account.
After creating Anypoint Platform account, the page will be open. Runtime Manager icon
and click on it, or clickOpen
Click Deploy application:
12. The Deploy Application pageopens:
Creating an ApplicationName:
In the Deploy Application dialog, enter a unique application name. The Application Name also
becomes the cloudhub.io domain name that you use to access your application.
13. ApplicationFile:
Upload a new file for deployment. Click the Choose file button, select your application file, and then
click Open.We can also click the Get from sandbox button to copy a file from a non-production
environment into your current environment. The application file size limit is 200 MB.
RuntimeVersion
Using the drop-down menu, select the Runtime version to which you to deploy
14. After deploying the application, we can allocate an amount and a size for the Worker size of our
application.
To select the worker size and amount of each, select options from the drop-down menu to
configure.
15.
16.
17. 1. Hit the URL of domainname.cloudhub.io . or domainname.cloudhub.io/test if any path configured
onhttp
2. http://simple.cloudhub.io/test
3. We can able to see the output on the browser as well as onlogs
18. Anticipated Issues
NOTE: NA if not applicable
Issue1
In the Http component configure path as /* or /test otherwise , we can get resource not
found.
References
1. https://docs.mulesoft.com/runtime-manager/hello-world-on-cloudhub.