2. 2
Deploying a CloudHub Application
You can deploy a CloudHub application from:
Anypoint Studio - Right-click your project and click CloudHub > Deploy to
CloudHub. For an example of deploying to CloudHub directly from Anypoint
Studio, see Hello World on CloudHub.
CloudHub - From the Applcations tab, click the Deploy application button.
This page describes the options on the Deploy Application page.
3. 3
Deploying an Application from CloudHub
To deploy an application:
Log into Anypoint Platform or click Sign up on the sign on page.
Click CloudHub:
6. 6
Creating an Application Name
Every application requires a unique application domain name. The
application domain identifies your application in CloudHub and also
provides you with a public URL,http://myapplicationdomain.cloudhub.io, for
accessing the application if it exposes any inbound endpoints.
To deploy an application, click Deploy application on the CloudHub
console. 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; for example the Application Name,
abcde is accessible at http. Valid names contain alphanumeric characters
and dashes, and contain at most 40 characters. If the name is valid,
CloudHub alerts you whether it is available or already reserved by another
user.
7. 7
Deployment Target
CloudHub lets you specify where you want to deploy your application:
On the CloudHub worker cloud
On an on-premises server, server group, or cluster
For more information on deploying to a server or server group,
see Managing Applications and Servers in the Cloud and On Premises.
8. 8
Application File
Upload a new file for deployment. Click the Choose file button, select your
application file, and then click Open. You can also click the Get from
sandbox button to copy a file from a non-production environment into your
current environment. (If the Get From Sandbox button does not appear,
you may first need to create a non-production environment to view this
option.)