A policy instance allows an existing policy definition to take effect for all of the application provisioning activities in a specific deployment environment.

About this task

Note:

The composite deployment feature does not support policy compliance scans.

Prerequisites

Procedure

  1. On the Application Services title bar, click the drop-down menu and select Clouds > Deployment Environments.
  2. Select an existing deployment environment.
  3. Select the Policy Instances tab and click Create Policy Instance to create a policy instance.
  4. Complete the policy instance information for the deployment environment.

    Option

    Description

    Name and Description

    Include the policy name in either of these fields. The text from these fields appears in the policy instances section for the deployment environment.

    Policy

    If the policy does not appear in the drop-down list, cancel the dialog box and select Library > Policies to add a custom policy to the library.

    Version

    Click the down arrow to select from a list of versions that are associated with the policy.

    Critical

    Select this check box to stop operations that can result in a non-compliant deployment, irrespective of current compliance state of deployment.

    Before you use this option, it is recommended that the policy compliance is fully established in a deployment environment. A non-critical policy instance marks the compliance status of the deployment but does not stop the operation.

    Note:

    If you specify a new property value in the policy instance, the new property value overrides the existing library value defined in the policy.

    The properties and scripts defined in the policy version are automatically populated in the Properties and Actions sections.

    When you create a policy action script, the policy instance makes a copy. Changes to the policy script in the library do not affect the existing policy instances associated to that policy. You need to create a policy instance for the script changes to take effect.

  5. Click Save.
  6. Click the arrow next to the policy instance name to return to the previous page.