- Launch the latest version
- Launch particular Tool version
- Launch a Tool with "friendly" URL
- Instance management
To launch a Tool you need to have EXECUTE permissions for it. For more information see 13. Permissions.
-
To run an instance with a selected Tool navigate to the Tools tab and click the Tool name.
-
Click the Run button in the top-right corner of the screen and the latest version with default settings will be launched (these are defined for Cloud Pipeline globally).
-
If you want to change settings, you shall click the arrow near the Run button → Custom settings.
-
Launch tool page will be opened.
Note: if Price type is set as "On-demand" - at the Launch page, an additional checkbox Auto pause appears:
This checkbox allows to enable automatic pausing on-demand instance if it is not used. Such behavior could be controlled by Administrators using a set of parameters at System Preferences (see here).Please note, this checkbox will not be displayed if any cluster is configured ("Static" or "Autoscaled").
-
Define the parameters in the Exec environment, Advanced and Parameters tabs.
-
Click the Launch button in the top-right corner of the screen.
Please note, that the current user can launch a tool only if he/his group has corresponding permissions on that tool (for more information see 13. Permissions), but the Launch button may be disabled also for one of the following reasons:execution
isn't allowed for specified docker image;read
operations aren't allowed for specified input or common path parameters;write
operations aren't allowed for specified output path parameters.
In such cases, hover over the Launch button to view warning notification with a reason of a run forbiddance, e.g.:
- To run a particular version click the Versions section.
- Select a version and click the Run button. The selected version with default settings will be launched (these are defined for Cloud Pipeline globally).
- If you want to change settings, you shall click the arrow near the Run button → Custom settings.
- Launch a tool page will be opened.
- Define the parameters.
- Click the "Launch" button.
In this example, we will run the "centos-nomachine" Tool with custom settings: 20 Gb hard drive, 2 CPU cores, and 8 Gb RAM.
Note: "Start idle" box is ticked to allow SSH access to the running Tool. To learn more about interactive services see 15. Interactive services.
Click the Launch button in the top-right corner of the screen when all parameters are set.
After the Tool is launched you will be redirected to the Runs tab:
- Click the Log button to see run details after instance finishes initialization.
- Click the SSH button in the Run logs page.
- You will be redirected to the page with interactive shell session inside the Docker container. For example, we can list "/" directory content inside the container.
User can specify a "Friendly URL" for persistent services. This produces endpoint URL in a more friendly/descriptive format: {cloud-pipeline_url}/friendly_url
instead of {cloud-pipeline_url}/pipeline-XXXX-XXXX
. It can be configured at a service launch time in the "Advanced" section of the Launch form.
In this example we will configure a pretty URL for rstudio Tool.
Note: for do that, user account shall be registered within CP users catalog and granted READ & EXECUTE permissions for the rstudio Tool.
- Navigate to the Tools tab.
- In the Default registry select the library/rstudio Tool:
- On opened page hover the "Run" button and click on appeared "Custom settings" point:
- Click on "Advanced" control (a), input desired "Friendly URL" (b) (name shall be unique) and then click "Launch" button (c):
- Open logs page of rstudio Tool, wait until tool successfully started.
- Click on hyperlink opposite "Endpoint" label:
- In a new tab RStudio will be opened. Check, the URL will be in "pretty" format, that you inputted on step 4:
Instance management allows to set restrictions on instance types and price types for tool runs.
User shall have ROLE_ADMIN or to be an OWNER of the Tool to launch Instance management panel. For more information see 13. Permissions.
To open Instance management panel:
- Click
button in the left upper corner of the main tool page.
- Click "Instance management":
- Such panel will be shown:
On this panel you can specify some restrictions on allowed instance types and price types for launching tool.
Here you can specify:
To apply set restrictions for a tool click button.
Setting restrictions on allowed instance types/price types is a convenient way to minimize a number of invalid configurations runs.
Such restrictions could be set not only for a tool, but on another levels too.
In CP platform next hierarchy is set for applying of inputted allowed instance types (sorted by priority):
- User level (specified for a user on "User management" tab) (see v.0.14 - 12.4. Edit/delete a user)
- User group level (specified for a group (role) on "User management" tab. If a user is a member of several groups - list of allowed instances will be summarized across all the groups) (see v.0.14 - 12.6. Edit a group/role)
- Tool level (specified for a tool on "Instance management" panel) (see above)
- (global)
cluster.allowed.instance.types.docker
(specified on "Cluster" tab in "Preferences" section of system-level settings) (see v.0.14 - 12.10. Manage system-level settings) - (global)
cluster.allowed.instance.types
(specified on "Cluster" tab in "Preferences" section of system-level settings) (see v.0.14 - 12.10. Manage system-level settings)