Skip to main content
Version: Deploy 22.2

Provision an environment

This topic describes how to use Deploy's provisioning feature to create cloud-based environments in a single action. The provisioning process in Deploy is similar to deploying an application.

Provision an environment using the default GUI

As of version 6.2.0, the default GUI is HTML-based.

To provision an environment:

  1. Expand Applications, and then expand the application that you want to provision.

  2. Hover over the desired provisioning package, click Explorer action menu, and then select Deploy. A new tab appears in the right pane.

  3. In the new tab, select the target environment. You can filter the list of environments by typing in the Search box at the top. To see the full path of an environment in the list, hover over it with your mouse pointer.

    Deploy automatically maps the provisionables in the package to the providers in the environment.

  4. If you are using Deploy 6.0.x, click Execute to start executing the plan immediately. Otherwise, click Continue.

  5. You can optionally:

    • View or edit the properties of a provisioned item by double-clicking it.
    • Double-click an application to view the summary screen and click Edit properties to change the application properties.
    • View the relationship between provisionables and provisioneds by clicking them.
    • Click Deployment Properties to configure properties such as orchestrators.
    • Click the arrow icon on the Deploy button and select Modify plan if you want to adjust the provisioning plan by skipping steps or inserting pauses.

    Explorer provisioning

  6. Click Deploy to immediately start provisioning.

    If the server does not have the capacity to immediately start executing the plan, it will be in a QUEUED state until the server has sufficient capacity.

    Explorer provisioning

    If a step in the provisioning fails, Deploy stops executing and marks the step as FAILED. Click the step to see information about the failure in the output log.

Provision an environment using the legacy GUI

To provision an environment:

  1. Click Deployment in the top bar.

  2. Under Packages, locate the provisioning package and expand it to see its versions.

  3. Drag the desired version to the left side of the Deployment Workspace.

  4. Under Environments, locate the desired environment and drag it to the right side of the Deployment Workspace.

    Deploy automatically maps the provisionables in the package to the providers in the environment.

  5. Click Execute to immediately start the provisioning.

You can also optionally:

  • View or edit the properties of a mapped provisioned by double-clicking it.
  • Click Deployment Properties to select orchestrators or enter placeholder values.
  • Click Advanced if you want to adjust the plan by skipping steps or inserting pauses.

If the server does not have the capacity to immediately start executing the plan, the plan will be in a QUEUED state until the server has sufficient capacity.

If a step in the provisioning fails, Deploy stops executing the provisioning and marks the step as FAILED. Click the step to see information about the failure in the output log.

Provision an environment using the CLI

For information about provisioning an environment using the Deploy command-line interface (CLI) in Deploy 5.5.x, refer to Using the Deploy CLI provisioning extension.

In Deploy 6.0.0 and later, using the CLI to provision an environment works in the same way as using it to deploy an application.

The unique provisioning ID

To prevent name collisions, a unique provisioning ID is added to some configuration items (CIs) that are generated from bound templates in the provisioning package. This ID is a random string of characters such as AOAFbrIEq. In the GUI, you can see the ID by clicking Deployment Properties and going to the Provisioning tab.

If the cardinality set on the provisionable is greater than 1, then Deploy will append a number to the provisioned name. For example, if apache-spec has a cardinality of 3, Deploy will create provisioneds called AOAFbrIEq-apache-spec, AOAFbrIEq-apache-spec-2, and AOAFbrIEq-apache-spec-3.

The cardinality and ordinal properties are set to hidden=true by default. For more information about using the cardinality functionality, refer to Cardinality in provisionables.